MOB_DELAY
Keywords:
MOB_DELAY, MOB_CANCEL
Syntax:
MOB DELAY
MOB CANCEL
The mob delay command sets the time in PULSE_MOBILE after which the
mobile's delay trigger is activated. If the mobile has a program defined for delay trigger, the program is executed when the timer expires. The mob cancel resets the delay timer. For example, the mob is processing a program and in its code has the
command:
MOB DELAY 20
When this timer 20*PULSE_MOBILE expires the program will check
the delay trigger:
MOBPrograms for [ 5000]:
Number Vnum Trigger Phrase
------ ---- ------- ------
[ 0] 3000 DELAY 20
If the percentage roll is lower than 20, the program 3000 will be executed.
Examples:
MOB DELAY 10
The mobile will look for a delay trigger after 10*PULSE_MOBILE.
MOB CANCEL
The mobile resets the delay timer.
See Also
Mobhelp
Ifhelp
If Checks
Variables
Mob Asound
Mob Echo
Mob Oload
Mob Kill
Mob Flee
Mob Remove
Mob Junk
Mob Purge
Mob At
Mob Goto
Mob Transfer
Mob Force
Mob Cast
Mob Damage
Mob Delay
Mob Cancel
Mob Remember
Mob Forget
Mob Call
Mob Tgive
Mobprogram List
Mobile Programs
Triggers
Operators
Mpsyntax
Mp Building
Mpexamples
Mprog Character Variables
Mpcommands
Checkmoblog
Medit
Vnum
Trigger Hpcnt
Wimpy
Spells