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
Seryna
Newbie


Joined: 09 Feb 2003
Posts: 2
Location: USA

PostPosted: Sun Feb 09, 2003 4:49 pm   

Gettnig a trigger to use the mud's ascii/ansi
 
[burple][/burple]
Currently the trigger is triggered off of a quest completion output. Now most everything in it works but the variables that read out a Variable plus ascii/ansi commands.

Example of one of the problems:

#VAR col_prac {"@MP@mractice @MS@messions"}

now it reads out fine bu it won't strip the "" from the output. How do you make it strip that and still use the ansi/ascii codes?

- Seryna
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Sun Feb 09, 2003 4:52 pm   
 
you mean you want the string not to undergo variable expansion?

#var col_prac(~@MP~@mractice ~@MS~@messions}

should do it, just prefix each character with tilde. or, if this is something your going to be using alot, you can change the special character for variables from @ to something else, or disable it.

--------

moon.icebound.net:9000
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