Skip to content
Luxembourg edited this page Mar 20, 2013 · 4 revisions

@program (continued)

as you can see, this command basically takes what a user types at the prompt, stuffs it into %0 in the code in <obj/attr>, and then triggers that attribute. note that when @program triggers an attribute, the enactor of that triggered attribute is <player>, and is inserted into %#. r-registers are preserved when @program triggers an attribute.

an optional message, <prefix>, may be specified and will be output before the @program prompt. this is useful for telling the user what information they need to supply.

a player caught in @program may send a command through to the normal command processor at the @program prompt by prefixing it with the '|' character, for example, '|who'.

related topics: @quitprogram.

Clone this wiki locally