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
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Fri Oct 14, 2005 10:16 am   

Aliases that capture all
 
Was wanting to make an alias that followed syntax similar to the following:
etell <target> <text>

Wanted <text> to be able to contain any characters, including " and ' and dont want to have to escape or surround the <text> parameter in quotes as i want it to simulate my MUDs environment as closely as possible. Any ideas? i tried using %0 but it seems to die when it encounters certain characters, and i dont want to have to do a
tell %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 etc etc etc alias
_________________
The Drake Forestseer
Reply with quote
Slaem
Apprentice


Joined: 20 Sep 2005
Posts: 135

PostPosted: Fri Oct 14, 2005 6:13 pm   
 
This forum is for posting finished scripts. General questions are posted in the General Discussion forum.

Have you tried something like this?

#ALIAS etell {~etell %1 %-2}
_________________
Show your love.
Support Zugg Software!
Donate to zugg@zuggsoft.com with PayPal Send Money.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Oct 14, 2005 7:04 pm   
 
This looks to be something that an #ONINPUT trigger would handle very well.

Also moving the topic to the correct forum.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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