Need a little help

Posted by Dei501 on Wed 03 Nov 2004 01:14 PM — 2 posts, 10,375 views.

United Kingdom #0
I am new to mushclient, and was wondering how to implement something along these lines.
when i type a direction say east, a variable (direction) changes to east, and so i can use the same variable in a trigger, so if i had typed east and there was a door to the east, the world would say there is a locked door there.. or whatever and the trigger would send unlock door (direction).
basically I was thinking of setting up an alias to update the direction variable to east when i type east, and then use the same vairable in a trigger, how would one go about this?
thanks
-Dei501

**
ok i sorted out the variable so east is sent to direction when i type east. but i still need to know how to add the variable in a trigger.. will @direction work?
Amended on Wed 03 Nov 2004 01:26 PM by Dei501
United Kingdom #1
ah ok, i need to check expanded variables. its ok i got it working now.