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?
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?