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


Joined: 10 Jul 2002
Posts: 26
Location: Canada

PostPosted: Tue Jul 16, 2002 11:09 pm   

Temporary Trigger
 
Allo,
I'm trying to make a Class that not only gathers how much xp, gold i get, but also lets me time the run. What i was thinking was when i reset the run counter..to 0...constantly check that variable to see if it ever moves from 0..and when it does..start counting (by using %secs and then at end of run use %secs again and then subtract, do some math, etc) but i'm not sure how to go about doing this constant checking of the variable..through a trigger? and how would i in command line mode (like if i was to load this script) make the trigger Temporary? as in run once..then delete..and then make it again once i do my resetrun alias....i tried making a temporary trigger and then exporting the settings..but the temporary triggers never export..
Can anyone help me with this situation..or maybe someone knows a better way of doing it?

Thanks.
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: Wed Jul 17, 2002 12:34 am   
 
What increments the counter? You could perform your checks when you increment your counter.

Troubadour
Reply with quote
Zene
Beginner


Joined: 10 Jul 2002
Posts: 26
Location: Canada

PostPosted: Wed Jul 17, 2002 4:07 am   
 
wheenver i kill a mob and get more experience..that adds to the counter.
good idea i can check then.

But how can i make a temporary trigger like from a script or command line?
what do i add to the end..like i know if i add 517 it makes it a 'prompt' trigger
...
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jul 17, 2002 4:22 am   
 
You make a temp trigger with the #TEMP command.

LightBulb
Senior Member
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