It allows the creation of intelligent mobiles, rooms, and objects. One example of a mudlled object is the whetstone (if you are lucky enough to find one). Mudlle is quite similar to the programming language Scheme (a Lisp dialect).
module [ | repeat | // Define repeat as a local variable repeat = fn (me, who, verb, args) [ if (verb == CMD_SAY && !is_mobile?(who)) [ // The one who said something not a mobile. actor = me; say(args) ]; ]; react_event(repeat, "Function that makes a mob repeat says", event_command); ]Mudlle is available as a standalone program from here:
|See also:||HELP MUDLLERS|
Generated on Mon Aug 31 21:53:23 2020