Skip to main content

MOB_CALL

Keywords: MOB_CALL
Syntax: MOB CALL [vnum] {victim} {target1} {target2} The mob call command lets you call MOBprograms from within a running one, i.e. to call a MOBprogram subroutine. The first parameter is the vnum of the program to execute, the second is the victim's name (for example $n), and the third and fourth are optional object names. All other parameters except vnum can be replaced with word 'null' indicating ignored parameter. MOBprograms can be called recursively, but as a safety measure, parser allows only 5 recursions. Examples: MOB CALL 5003 $n null null While running one program the mobile will call the program num 5003, the victim of this program will be the player who activated the first program.