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


Joined: 11 Jan 2003
Posts: 2

PostPosted: Sat Jan 11, 2003 10:31 am   

Make trigger with VALUE of Variable. Not with name
 
I need set trigger on VALUE of %selword.. Not on it's name...
Situation. I color word Zugg in MUD and press key, or menu point to invoke script. And it creates trigger on %selword. So next time I select another word it will work on it. It's ok.

But now I need script that will create trigger on value of this variable. So If Zugg is selected trigger will be on Zugg, not on %selword
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Jan 11, 2003 12:22 pm   
 
Try:
#MENU {Color} {#EXEC %concat("#CW ", %selword, " red")}

Kjata
Reply with quote
fs
Newbie


Joined: 11 Jan 2003
Posts: 2

PostPosted: Sat Jan 11, 2003 12:32 pm   
 
thank you. It works
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