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


Joined: 16 Apr 2004
Posts: 1
Location: Canada

PostPosted: Fri Apr 16, 2004 3:13 am   

Status Bar/Window
 
First of all whats the difference between the two?

Now Im playing Aardwolf where the probt displays variables.

%d (current HP).. and so on

I steup a trigger for the prompt, Trigger is: %d
Then when found it executes this: #var hp %d

(btw I need a script the clears the vairabels value when new line is recived).

Next I have a status window. Where the ID is :@hp

One problem it dosen't work *sigh* any comments?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Fri Apr 16, 2004 4:49 am   
 
Read the help file for pattern mathing and Triggers and Variables

something along the lines of
#TR {HP:(%d) MA:(%D)} {#VAR hp %1;#var ma %2}

Of course you will need to change the pattern to match your mud.

the ID is the name of the trigger/status/button etc. the pattern field is where you put stuff
#STW {HP:@hp}
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Apr 16, 2004 6:14 pm   
 
The difference between the status bar and the status window is obvious. In your main window's command line enter:
#ST {This is the Status BAR.}
After you see where that shows up, enter this:
#STW {This is the Status WINDOW.}
Once you see where that shows up, you should know the difference between the status bar and the status window.

Additional differences:
They use different command line commands
#STATUS for the status bar
#STWin for the status window

They use different sections of the Status Bars/Window dialogue in the Settings Editor.
Status Line: for the status bar
Window: for the status window
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