|
riemer11 Beginner
Joined: 28 Oct 2003 Posts: 10
|
Posted: Wed Oct 29, 2003 11:16 am
How to use #T- |
When using the 'hunt' command in the mud i am playing, i always end up one room too far. To address this, i thought of setting up a simle IF-THEN statement, which triggers on 'You have found your prey" that would take the last command and reverse it.
My IF-THEN looks like this:
#TR {You have found your prey} {%IF (#H-=n,s, %IF (#H-=s,n, %IF (#H-=w,e, #IF (#H- = e, w,look))))}
But it gives a syntax error on the very first #H- command. What should be changed?
Thanks! |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Oct 29, 2003 12:32 pm |
Try using %lastinput. #H- is a command it does something. What you need is a function, or in this case a Predefined Varaible.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|