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
NeverNor
Novice


Joined: 18 Nov 2006
Posts: 32

PostPosted: Wed Jun 27, 2007 3:47 pm   

Few questions
 
Is there a way to make an edit box, if there is can I use it to put someone, or somethings name in so I can drag them when I move from room to room?
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Wed Jun 27, 2007 4:05 pm   
 
#var victim {}
#PR victim "Enter the name of the victim."
drag <@victim>
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Jun 27, 2007 4:05 pm   
 
Take a look at the #prompt and #pick commands.

EDIT: Ninja'd by Arminas. D'oh!
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
NeverNor
Novice


Joined: 18 Nov 2006
Posts: 32

PostPosted: Wed Jun 27, 2007 8:49 pm   
 
thanks
Reply with quote
NeverNor
Novice


Joined: 18 Nov 2006
Posts: 32

PostPosted: Wed Jun 27, 2007 9:28 pm   
 
Ok let's say my mapper knows that when I am in a certain room that "s" means to output "climb stair" to the MUD, suppose I was using a trigger to confirm I had inputed a valid direction, via %gsl and had assigned a person's name to a variable to drag. Now that both are true, how do I get the MUD to output "drag @victim stair" instead of "climb stair" when I input "s" on the command prompt, which the mapper has linked to "climb stair" for the room I am in?
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Thu Jun 28, 2007 1:04 pm   
 
In the other direction where you currently have
climb ladder

put
%if(@victim=%null,climb ladder,drag @victim ladder)

You just need to be sure and set victim to %null when you are not dragging anyone.

As for the %gsl stuff I have never used it... So you will need to post just exactly how you are confirming with it.
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
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