|
bossmant Beginner
Joined: 29 Mar 2004 Posts: 11
|
Posted: 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. |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: 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} |
|
|
|
|
|
|
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
|
|