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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Zeius
Novice


Joined: 02 Nov 2006
Posts: 35
Location: Italy

PostPosted: Sun Apr 29, 2007 12:52 am   

[1.30] send strings to mud
 
In zmud I got a variable which contains a string like $c0015
I use it to color my output on mud with this alias
%concat("gtel ",@color,%-1,"~$c0015")

it works with no prob in zmud
but in cmud the string @color make send of a string "0" not "$c0015"
I could make it works if I push a tilde in the variable
"$c0015" -> "~$c0015"
but I dunno how to do it using scripts

but this does not work in zmud and I like to keep settings working on both clients
any suggestion?
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Sun Apr 29, 2007 1:53 am   
 
try using the %quote command: %quote("$c0015")
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
Zeius
Novice


Joined: 02 Nov 2006
Posts: 35
Location: Italy

PostPosted: Sun Apr 29, 2007 10:42 am   
 
great point, tnx!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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