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


Joined: 25 Jul 2004
Posts: 3

PostPosted: Sun Jul 25, 2004 8:25 pm   

Status Window HELP!!!
 
Ok, we're trying to pull our list of Players up into the Status window. 2 Noobs trying to code is humorus, but frustrating. I've searched through the help files, but its almost impossible to code when you've never done it.

Here's what we see when we type the command "who"

==============================+Dragonheart+==============================
[4] Bob [4] George [3] Carl


who <-l/-h>
==============================+Dragonheart+==============================

We're trying to make a list in the status window that would list the characters when the tick timer commands the mud to pull up the who list. We dont want it to pull the who list into the main window, just keep updating the status window. Any help would be appreciated. Thanks!!
Reply with quote
sucidalsquirrel
Newbie


Joined: 25 Jul 2004
Posts: 3

PostPosted: Thu Jul 29, 2004 1:18 am   
 
bump
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Jul 29, 2004 3:59 am   
 
1. Make a trigger to put the information you want displayed into one or more variables. When you are satisfied that the trigger is working as desired, you can add the #GAG command to it.
#TR {(~[%d~] %w *)} {#VAR who {%1}}
2. Make a status window using the variables created in step 1.
#STW {@who}

I'm sorry, but I don't understand your 'who' display well enough to recommend anything more specific. I doubt that the status window is well-suited to this.
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
sucidalsquirrel
Newbie


Joined: 25 Jul 2004
Posts: 3

PostPosted: Thu Jul 29, 2004 11:35 pm   
 
Here's another view of the who list......I've read the help files about the who trigger, but its too complex for me at this point. I don't know what to sub in, and I cant make it work correctly.
==============================+Dragonheart+==============================
[ 2]( chaos & air ) Nobleman Zio the Master Minstrel
[ 3]( dark & water ) Lord Zanthaar Rolestby the Master Monk


who <-l/-h>
==============================+Dragonheart+==============================
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