- A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z -
Other
.:. |
Syntax: mprogadd [mob vnum] [mprog vnum] [trigger] [delay] [phrase] For a list of triggers and their phrases, see 'help mob triggers' A delay of -1 indicates that the script triggers immediately upon the event. This means that whatever character update was occurring when the trigger fired is interrupted while the trigger executes. This is important because some triggers have the ability to prevent such updates from succeeding. For example, an EXIT trigger can prevent a player from leaving the room, but only if the trigger fires instantly (with a delay of -1). A delay of 0 indicates that the script is added to the list of scripts to run on the next update, and that we should 0 for 0 updates to run the script (So it will literally be run on the next mobile update, which occurs immediately after a character update in the code.) This means that a delay of 0 makes the trigger 'seem' instant, but it gives the character update code a chance to finish before executing the script. Otherwise, the delay indicates how long the script waits to run, in 1/10ths of a second. Therefore a delay of 10 would indicate a delay of 1 second. See also: MOB PROGRAMS, MPEDIT, MOB FUNCTIONS, MOB COMMANDS, MOB TRIGGERS, MOB ACT CODES, MOB LOGIC |
:: Beginning |