|
dubc Newbie
Joined: 18 Mar 2006 Posts: 1
|
Posted: 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?
thanks |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
|
|
|
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
|
|