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


Joined: 18 Mar 2006
Posts: 1

PostPosted: Sat Mar 18, 2006 5:01 am   

room exits in a small popup window possible?
 
hey all,
i'm new to using zmud and would really appreciate some help on making a trigger that creates a small popup window that is always on top that displays the exits of the room.

my mud shows the exits like this:

Obvious exits:
North - An Small Cavern
East - A Small Cavern
South - An Ice-Covered Cavern
West - A Glittering Passage

second question is, how do disable parsing on a particular trigger, so that it will send "command 1;command 2" as a single command instead of 2 seperate commands? make sense? Wink

thanks
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Mar 18, 2006 11:16 pm   
 
#trigger {^Obvious exits:$} {#T+ tExits}
#condition {^$} {#T- tExits;WhereIWantToGo = %pick("p:Obvious exits:", "o:1", @Exits)}

#trigger "tExits" {^({North|South|East|West}) - (*)} {#additem Exits %concat("%1", " - ", "%2")}

If you want an actual child window, the always on top feature is currently broken, you will need to either dock the window, bring it to the front manually via the mouse/keyboard, or keep it in a spot on the monitor where no other windows will overlap/hide it. If you go that route, just eliminate the WhereIWantToGo line in the #condition and replace the #additem command in the tExits trigger with #capture YourWindowNameHere.
_________________
EDIT: I didn't like my old signature
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