MOBPROG
Keywords:
MOBPROG, MOBILE-PROGRAMS
Usually mobiles never do anything but wait to be slaughtered, unless someone has added many special procedures called mobile programs. The backbone of the mobile programs is called triggers, essentially they are procedures calls which provide the context for what is going on around the mobile. So if something happens in the mobile's room and a trigger is activated, then a list of commands is sent to the interpreter in the mobile's name, thus making her/it/him do an appropriate something.
Since knowing the appropriate response for every mobile to every
possible trigger is not easy, this command list shouldn't be a rigid script, but needs to be somehow unique for the mobile and the situation However, in order to know the situation, a mobile needs to know more about the trigger than that it just happened. So we have to include some sort of variables, as well as to set the context appropriately.
See Also
Mprog
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
Obj Type Token