Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
tzh2231
Newbie


Joined: 03 Jan 2002
Posts: 4

PostPosted: Thu Jan 10, 2002 10:00 pm   

Go back one step ???
 
This is a really newbie question :)
*shy ...

How to go back one step when you walk?
!! does not work when the command is short as "s", "n".
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: Thu Jan 10, 2002 10:26 pm   
 
What do you mean? Do you mean, if you type "n" at the command line, you want a quicker way to send "s" to the mud? Or do you mean if you type "n", you want to keep sending "n" to the mud?

Iljhar
Reply with quote
tzh2231
Newbie


Joined: 03 Jan 2002
Posts: 4

PostPosted: Thu Jan 10, 2002 10:28 pm   
 
I should describe my case:

I use a series of "s" to enter a forest in a trigger, then after I see a killer wolf, I want a trigger to back me to "n". How to do this?


quote:

What do you mean? Do you mean, if you type "n" at the command line, you want a quicker way to send "s" to the mud? Or do you mean if you type "n", you want to keep sending "n" to the mud?

Iljhar

Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Jan 11, 2002 2:10 am   
 
quote:

I should describe my case:

I use a series of "s" to enter a forest in a trigger, then after I see a killer wolf, I want a trigger to back me to "n". How to do this?


quote:

What do you mean? Do you mean, if you type "n" at the command line, you want a quicker way to send "s" to the mud? Or do you mean if you type "n", you want to keep sending "n" to the mud?

Iljhar





The best way would be to trigger off of the message you receive about NPCs already in the room. Here's how it looks in my MUD:

In the room are a spotted fawn, a white tailed buck, a white tailed doe, and a killer wolf.

The trigger would be like this:

#trigger {In the {room|area} {is|are} (*)~.} {#if ("killer wolf" ~= "%1") {@revDir} {#noop This room is safe, do whatever}}

This trigger would be supported by the following trigger:

#trigger {You go ({north|east|west|south|southwest|southeast|northeast|northwest})} {@revDir = %case(%ismember(%1,"north|east|west|south|southwest|southeast|northeast|northwest"),south,west,east,north,northeast,northwest,southwest,southeast)}

li'l shmoe of Dragon's Gate MUD
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net