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
Tolkienfan
Wanderer


Joined: 07 Apr 2001
Posts: 51
Location: Denmark

PostPosted: Sun Feb 10, 2002 2:28 pm   

Autohide once more
 
Ok heres another one....
I wanna make an alias for answer.....the command for returning a tell to the last person who sent you a tell.

i use:
#alias an answer %1;#send hide

but when using this it only answers the first word of what i type after an
How would this be done so it answers all the text after the an command...

Tolkienfan
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sun Feb 10, 2002 2:42 pm   
 
Using %1 in an alias return the first word passed to the alias. %2 returns the second word and so on.

Using %-1 in an alias, returns everything that was passed to the alias. %-2 returns everything after the first word and so on.

Kjata
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