About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
pvnarc
Newbie


Joined: 28 Aug 2004
Posts: 7

PostPosted: Fri Aug 08, 2008 2:53 am   

Creating window to track spawn times
 
Should be simple, although I do not know how to create windows that i can use scripts in. I know this may be possible using the editor window, but not sure how. Anyway ....... I would like to create timers in a visible window so that I can track respawn times of certain mobs. All mobs are on a respawn timer of 1 hour.

Here is some example code:

You killed Gurim the Sailor.

So after I kill this mob, I would like some sort of timer to countdown from 1 hour, displaying how much time is left until this mob respawns.

All i really need is to know how to create a visible window that I can direct the triggers too. The rest I can probably figure out, but feel free to post your own interpretations. Thanks!

Edit: Actually I am not sure how to create the countdown timer either. !
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Fri Aug 08, 2008 5:23 pm   
 
To create a new window you can use #WINDOW,#MAKEWINDOW or the #MXP FRAME tag.

To create a count down time, the simplest approach would be to create an #ALARM.

[Edit] To redirect output you can use either the #CAPTURE commard or the window focus character ':' as described in Introduction to Multiplaying
_________________
Asati di tempari!
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