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
bossmant
Beginner


Joined: 29 Mar 2004
Posts: 11

PostPosted: Mon Mar 29, 2004 4:09 pm   

Question on Triggers, Variables, and status bar.
 
I want to be able to walk into a room and see the VNUM as well as current room flags.

how the system is set up now is

[Rm VNUM#] [SAFE HIGH_REGEN etc.]

What I want to do is to take that information when i move rooms, and look and place it in the status bar.

I got the VNUM fine, using %1, but when i try to do #VAR [%2] for the flags all it pulls up on the status bar is the first room flag. So how would i set up my Zmud to capture the rest of the flags and place them in the status bar.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Mar 29, 2004 4:18 pm   
 
Try posting the trigger that you have. It seems you may be using an incorrect wildcard or using it incorrectly.

For comparison, this trigger should do what you want:
#TRIGGER {~[Rm (%d)~] ~[(*)~]} {#VAR vnum {%1};#VAR flags {%2}}

Then, the status bar is set with the following command:
#STATUS {vNum: @vnum Room Flags: @flags}
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