|
TehJunkAcct Newbie
Joined: 07 May 2004 Posts: 7 Location: USA
|
Posted: Fri May 14, 2004 8:57 am
Wander Trigger |
Oke doke here i go.
I need a trigger to add and delete Directions from a variable(list) every time i enter a room(so when i wander it doesnt go into a non-reachable direction)
Obvious Exits:
North - (Name of room)
West - (Name of room)
thats how the mud is set up.. if anybody can help me thanks. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri May 14, 2004 5:30 pm |
#TR {Obvious Exits:$} {#VAR directions {}}
#TR {^(%w)%s- ~(%w} {#ADDI directions %1}
Works with
Obvious Exits:
North - (Main Street)
West - (Bank)
Doesn't work with
Obvious Exits:
North - Main Street
West - Bank
EDIT: Inserted %s to account for variable spacing. |
|
|
|
|
|