<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://aarchonmud.com/buildwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://aarchonmud.com/buildwiki/feed.php">
        <title>AarchonWiki</title>
        <description></description>
        <link>https://aarchonmud.com/buildwiki/</link>
        <image rdf:resource="https://aarchonmud.com/buildwiki/lib/exe/fetch.php?media=wiki:logo.png" />
       <dc:date>2026-10-16T19:55:44+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Adokuwiki.svg&amp;ns=wiki&amp;rev=1791917570&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=playground:playground&amp;rev=1791917570&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:lua_queries&amp;rev=1721271403&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:removeaffect&amp;rev=1720723856&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:addaffect&amp;rev=1720722844&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:objproto:v0&amp;rev=1720567430&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:carries&amp;rev=1720494397&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples:dynamiccodes&amp;rev=1720130408&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples:findtargets&amp;rev=1720128999&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples&amp;rev=1720128614&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=sidebar&amp;rev=1719945131&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=triggers:mprog:fight&amp;rev=1719874476&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=codebase:add_cpp&amp;rev=1562998597&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=triggers:oprog&amp;rev=1553404405&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?id=lua:dammessage&amp;rev=1550291241&amp;do=diff"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Alogo.png&amp;ns=wiki&amp;rev=1403226970&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Aaarchon3.png&amp;ns=wiki&amp;rev=1403226937&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://aarchonmud.com/buildwiki/lib/exe/fetch.php?media=wiki:logo.png">
        <title>AarchonWiki</title>
        <link>https://aarchonmud.com/buildwiki/</link>
        <url>https://aarchonmud.com/buildwiki/lib/exe/fetch.php?media=wiki:logo.png</url>
    </image>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Adokuwiki.svg&amp;ns=wiki&amp;rev=1791917570&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-13T18:52:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dokuwiki.svg - created - external edit</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Adokuwiki.svg&amp;ns=wiki&amp;rev=1791917570&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://aarchonmud.com/buildwiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=53ebcf&amp;amp;media=wiki:dokuwiki.svg&quot; alt=&quot;dokuwiki.svg&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=playground:playground&amp;rev=1791917570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-13T18:52:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>playground - created - external edit</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=playground:playground&amp;rev=1791917570&amp;do=diff</link>
        <description>PlayGround</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:lua_queries&amp;rev=1721271403&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-18T02:56:43+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>lua_queries</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:lua_queries&amp;rev=1721271403&amp;do=diff</link>
        <description>lua mtrigs sorted by security, area 

luaq area.name,mobproto.name,mobproto.vnum,prog.vnum,prog.security from mtrig where prog.islua order by prog.security,area.name



All shops in the game 

luaq area.name,vnum,shrotdescr,shop.profitbuy,shop.profitsell,shop.openhour,shop.closehour from mp where ingame and not(shop==nil) order by area.name width 15</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:removeaffect&amp;rev=1720723856&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-11T18:50:56+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>removeaffect</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:removeaffect&amp;rev=1720723856&amp;do=diff</link>
        <description>removeaffect

Syntax:

removeaffect( type&lt;string&gt; )

removeaffect( &quot;custom_affect&quot;, customtag&lt;string&gt; )

removeaffect( affect&lt;AFFECT&gt; )

Example1:


ch:removeaffect(&quot;custom_affect&quot;, &quot;Irena&#039;s curse&quot;)



Example2:

Example3:

See also addaffect</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:addaffect&amp;rev=1720722844&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-11T18:34:04+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>addaffect</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:addaffect&amp;rev=1720722844&amp;do=diff</link>
        <description>Syntax:

addaffect( where&lt;&quot;affects&quot;&gt;, type, level, duration, location, modifier, bitvector )

addaffect( where&lt;&quot;affects&quot;&gt;, &quot;custom_affect&quot;, level, duration, location, modifier, bitvector, customtag )

addaffect( where&lt;&quot;immune&quot;|&quot;resist&quot;|&quot;vuln&quot;&gt;, type, level, duration, bitvector )</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:objproto:v0&amp;rev=1720567430&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-09T23:23:50+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>v0</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:objproto:v0&amp;rev=1720567430&amp;do=diff</link>
        <description>Type: integer

0 = exotic

1 = sword

2 = dagger

3 = spear

4 = mace

5 = axe

6 = flail

7 = whip

8 = polearm

9 = gun

10 = bow</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:carries&amp;rev=1720494397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-09T03:06:37+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>carries</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:ch:carries&amp;rev=1720494397&amp;do=diff</link>
        <description>CH:carries( arg&lt;string&gt;|&lt;integer&gt; )

Return type: boolean | integer

arg can be a vnum or a name. Vnum doesn&#039;t need to be stringified. Return false if CH does not carry any object with that vnum/name, otherwise return the count of that vnum/name carried.</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples:dynamiccodes&amp;rev=1720130408&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-04T22:00:08+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>dynamiccodes - created</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples:dynamiccodes&amp;rev=1720130408&amp;do=diff</link>
        <description>Generating Dynamic Codes

You may have a need to generate dynamic passphrases or codes to be used in your area. This can be useful when you want to ensure that various parts of a puzzle are completed with each run of the zone, and/or to add replayability to the zone.</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples:findtargets&amp;rev=1720128999&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-04T21:36:39+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>findtargets</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples:findtargets&amp;rev=1720128999&amp;do=diff</link>
        <description>Targeting Characters

This function will loop through players in the room and look for a non-cleric/non-templar character to be assigned the &#039;target&#039; or &#039;tank&#039; role. Then it looks for a character who is a cleric or templar to assign them as the primary healer. The third character in the room will be assigned as the &#039;third&#039; variable, allowing for easier targeting by the NPC.</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples&amp;rev=1720128614&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-04T21:30:14+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>examples</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:scripting:examples&amp;rev=1720128614&amp;do=diff</link>
        <description>Tutorials:

Mickey Mouse Ears

Tracking players

Sharing info between progs

Scripting OLC

Conserving prog vnums

Replicating &#039;qtimer&#039; functionality with luavals

Creating lua con state handlers

Other examples:

Speech menu

Turn in multiple objects

Astark&#039;s birthday spank-a-thon

Vodur&#039;s birthday letters

Rune Quest (original)

Script building a grid with olc

Various OLC scripts

Debug examples

Track shopkeeper gold regen

Re-usable Combat Scripts

Find a tank, healer, and other player in …</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=sidebar&amp;rev=1719945131&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-02T18:32:11+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>sidebar</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=sidebar&amp;rev=1719945131&amp;do=diff</link>
        <description>Home

Building

Room editing

Object editing

Mob editing

Reset editing

Saving work

Lua Scripting

Lua scripting

Lua Queries

Getting Started

Script environments

&#039;shared&#039; table

Script database

Example Scripts

Fun Ideas

Feature Requests

Change Log

Prog Triggers

Mob Progs

Obj Progs

Area Progs

Room Progs

Reference 

Global Functions

CH members

OBJ members

AREA members

ROOM members

EXIT members

RESET members

OBJPROTO members

MOBPROTO members

SHOP members

AFFECT members

PR…</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=triggers:mprog:fight&amp;rev=1719874476&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-01T22:54:36+00:00</dc:date>
        <dc:creator>astark (astark@undisclosed.example.com)</dc:creator>
        <title>fight</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=triggers:mprog:fight&amp;rev=1719874476&amp;do=diff</link>
        <description>FIGHT

Keyword : &#039;fight&#039;

Argument: number

Explanation: The argument is again a percentile chance to trigger the mprog. Every fighting round, the mob will check the percentile chance, if the roll is right, the mprog will trigger. This can be used to make the mob cast spells or use skills. Example: “Addmp 1000 fight 50” Every round, there is a 50% chance the mob triggers the mprog, and start casting some spells, or taunts his enemy.</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=codebase:add_cpp&amp;rev=1562998597&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-07-13T06:16:37+00:00</dc:date>
        <dc:creator>vodur (vodur@undisclosed.example.com)</dc:creator>
        <title>add_cpp</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=codebase:add_cpp&amp;rev=1562998597&amp;do=diff</link>
        <description>TL;DR:

	*  Need to fix C headers to not have C++ keywords.
	*  Need to add code to verify/enforce bool compatibility between C and C++.
	*  Otherwise, the general mechanics for C/C++ interop apply (need to use extern &quot;C&quot; on C++ side).

Notes and details below.</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=triggers:oprog&amp;rev=1553404405&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-03-24T05:13:25+00:00</dc:date>
        <dc:creator>vodur (vodur@undisclosed.example.com)</dc:creator>
        <title>oprog</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=triggers:oprog&amp;rev=1553404405&amp;do=diff</link>
        <description>ObjProgs

Obj progs are attached in oedit with addoprog command.

Obj progs are always lua scripts.
Script ArgumentTypeNoteobj2OBJsee tablech1CHsee tablech2CHsee tabletext1stringsee tabletriggerstringsee tabletrigtypestringsee table
The actual object to which the script is attached can be referenced in the script through &#039;</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?id=lua:dammessage&amp;rev=1550291241&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-02-16T04:27:21+00:00</dc:date>
        <dc:creator>aethyn (aethyn@undisclosed.example.com)</dc:creator>
        <title>dammessage</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?id=lua:dammessage&amp;rev=1550291241&amp;do=diff</link>
        <description>dammessage( damage )

Used to produce damage messages matching regular in game damage messages, being based of the amount of damage.

Returns 3 string values: singular verb, plural verb, and punctuation.


local dam=randnum(750,1250)
local sng,pl,pnct=dammessage(dam)
echoat(ch, string.format(&quot;%s&#039;s cannon %s you%s&quot;,
    mob.shortdescr, pl, pnct))
damage( ch, dam)</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Alogo.png&amp;ns=wiki&amp;rev=1403226970&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-20T01:16:10+00:00</dc:date>
        <dc:creator>vodur (vodur@undisclosed.example.com)</dc:creator>
        <title>logo.png - created</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Alogo.png&amp;ns=wiki&amp;rev=1403226970&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://aarchonmud.com/buildwiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=def58a&amp;amp;media=wiki:logo.png&quot; alt=&quot;logo.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Aaarchon3.png&amp;ns=wiki&amp;rev=1403226937&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-20T01:15:37+00:00</dc:date>
        <dc:creator>vodur (vodur@undisclosed.example.com)</dc:creator>
        <title>aarchon3.png - removed</title>
        <link>https://aarchonmud.com/buildwiki/doku.php?image=wiki%3Aaarchon3.png&amp;ns=wiki&amp;rev=1403226937&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://aarchonmud.com/buildwiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=56dc03&amp;amp;media=wiki:aarchon3.png&quot; alt=&quot;aarchon3.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
</rdf:RDF>
