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
psyborg
Beginner


Joined: 12 May 2003
Posts: 24

PostPosted: Sat May 17, 2003 9:36 pm   

Dragonrealms and Roundtime
 
I am playing Dragonrealms. Is there anyway I can tell if I am in RT or not? As it is right now, I am doing a pattern search for "Roundtime 5" for example, and making a timer/variable that counts down five seconds. As it is right now, sometimes the trigger doesn't fire right away, usually due to lag. What I am needing is something like the front end simu uses...the "waitfor Roundtime" command
Reply with quote
kilthan
Wanderer


Joined: 21 Jan 2003
Posts: 76

PostPosted: Sat May 17, 2003 9:58 pm   
 
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=10148&FORUM_ID=29&CAT_ID=1&Topic_Title=Basic+Dragonrealms+Setup+%5BStatus+Bar+Updated%5D&Forum_Title=Finished+MUD+Scripts
Reply with quote
healunter
Beginner


Joined: 07 Jan 2007
Posts: 17

PostPosted: Sun Jan 07, 2007 6:22 am   
 
That status bar doesn't work with 7.2
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jan 07, 2007 6:13 pm   
 
#variable RT 0
#alarm "talmRoundtime" *1 {#if (@RT) {#add RT -1} {#T- talmRoundtime}}
#trigger {Q} {} "" {case|gsl}
#condition {q} {RT = %eval(%gsl(Q) - %gsl(q));#T+ talmRoundtime} {case|gsl}

Something like that should work for you, though I may have the trigger options incorrect (both the #trigger and the #condition are supposed to be case sensitive and gsl type).

EDIT: added below changes to script
_________________
EDIT: I didn't like my old signature

Last edited by MattLofton on Sun Jan 07, 2007 8:31 pm; edited 1 time in total
Reply with quote
healunter
Beginner


Joined: 07 Jan 2007
Posts: 17

PostPosted: Sun Jan 07, 2007 7:10 pm   
 
hmm, nope, not working either
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jan 07, 2007 8:30 pm   
 
Oh, whoops, forgot to turn on the alarm. In the #condition, put #T+ talmRoundtime after the existing command.
_________________
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