<autocomplete>
<proc name="abs">
<arg name="A" type="num" desc="A number"/>
<example>
usr << abs(1) // outputs 1
usr << abs(-1) // outputs 1
</example>
<return text="Returns the absolute value of A."/>
</proc>
<proc name="addtext">
<arg name="Arg1" type="string"/>
<arg name="Arg2" type="string"/>
<arg name="..." type="string"/>
<example>
var/T
T = "1"
T = addtext(T,"*1 = ",T) // T = "1*1 = 1"
world << "The answer is: [T]"
</example>
</proc>
<proc name="alert">
<return text="A text string with the arguments concatenated."/>
<arg name="User" type="user" desc="The user to which the alert is displayed."/>
<arg name="Message" type="string" desc="The message to be displayed to the user."/>
<arg name="Title" type="string" desc="The title of the alert window."/>
<arg name="Button1" type="string" desc="The text displayed by the first button."/>
<arg name="Button2" type="string" desc="The text displayed by the second button."/>
<arg name="Button3" type="string" desc="The text displayed by the third button. [last button]"/>
<example>
mob/verb/self_destruct()
alert("Prepare to die.")
del usr
</example>
<example>
mob/verb/self_destruct()
switch(alert("Would you like to die?",,"Yes","No","Maybe"))
if("Yes")
del usr
if("No")
usr << "You have second thoughts."
if("Maybe")
usr << "You flip a coin..."
if(rand(0,1))
usr << "Heads -- you lose."
del usr
else
usr << "Tails -- you win!"
</example>
<return text="Selected button."/>
</proc>
<proc name="ASSERT" desc="">
<desc>This is used to make a sanity check. If the given expression is false, the
current procedure crashes, generating diagnostic debugging output, which
includes the expression, a stack dump, and so forth.
</desc>
<arg name="expression" type="expression" desc="An expression which should always be true."/>
</proc>
</autocomplete>
And another funny thing, I broke a single node in the preferences and I decided to remake the whole thing and removed the tree altogether in favor of a list of buttons. Then there's school, and Flame Sage is a Slave Driver. I had/have a couple of papers that needed/need to be completed. Documenting all of the global functions alone is proving to be a pretty damn tedious task. If there's a version out there that's already organized neatly please tell me about it.