dbref: | #7419 |
---|---|
Author: | TheFool76 |
wander info |
shows current wander status |
wander start |
starts wandering |
wander stop |
stops wandering |
wander reset |
sets current room back to the start of the path |
wander help |
show this help text |
wander |
wander object only command - wander obj uses this internally |
@current_path_attr |
name of attr to find room list for path - Allows easy switching between different path lists |
@mode |
wander mode (RAND , LIN , LOOP , RAID , SHUF ) |
@direction |
direction of travel (A , D ) (Only aplys to LOOP and LIN modes) |
@wandering |
indicates if the wander code is currently enabled (1 , 0 ) |
@current_dest |
The room to move towards |
@current_dest_num |
The position of the current room in the room list |
@wander_delay |
time in seconds to wait between moves |
@awander |
replaces @amove for wanderers - triggers after room actions |
RAND |
picks dest from list at random |
LIN |
cycles through the list from end to end |
LOOP |
loops through the list in one @direction |
RAID |
bounces between the first room in the list and one randomly picked from the remainder |
SHUF |
like loop except the direction randomly changes each time |
@def Lost Child/#1234
@#1234 Lost Child=wander stop;@emit %n falls down the well!;@atime me="HELP! I'm in the well!