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
don koval
Newbie


Joined: 28 Feb 2002
Posts: 1
Location: USA

PostPosted: Thu Feb 28, 2002 4:25 am   

variable problems
 
Im trying to display a characters status from one screen on another. I made a trigger to capture the info and Im using the :session_name: to transfer the variables to the next window. This is working great except evey time I go to use the : to send a command to both windows it sends the command but also displays the variable information for the trigger I made. I cant seem to figure why its doing that. Heres an example of my trigger.
mud output --> 100m/100e/100h>
pattern --> (%*)m/(%*)e/(%*)h~>
command --> :shedak: #VAR a_mana %1
:shedak: #VAR a_end %2
:shedak: #VAR a_hit %3
Appreciate any help you can give, thanks :)
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: Thu Feb 28, 2002 7:51 am   
 
Try this:

#trigger {(%d)m/(%d)e/(%d)h~>} {#exec %expand(:shedak:#var a_mana %1);#exec %expand(:shedak:#var a_end %2);#exec %expand(:shedak:#var a_hit %3)}

Iljhar
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