Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
ToyMage
Apprentice


Joined: 01 Sep 2005
Posts: 120

PostPosted: Sun Jul 07, 2019 3:19 pm   

Tick Count
 
Hi Hi,

i'm using the OnTick event to add to variable... however ticks on all sessions adds to the same variable... causing my tick to increase by 3 per tick (3 sessions)

how can i avoid that?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4671
Location: Pensacola, FL, USA

PostPosted: Tue Jul 09, 2019 10:56 am   
 
Use an alarm instead if it happens in known intervals.

#ALARM "ToyMage's Tick" -20 {whatever happens every 20 seconds}
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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