#Region action bar time
1 messages · Page 1 of 1 (latest)
Something like that
on enter of region "afk":
set {timerstart::%player%} to now
on region leave:
if "%region at player%" contains "afk":
broadcast time between {timerstart::%player%} and now
@honest lark
thats only when they leave, and not actually inside the region. also, dont spoonfeed
- Looping all players in a periodical event is an inefficient way to do this. You can just trigger it on the region enter event
- instead of setting tha variables to 0, just delete them
- Instead of having a variable for each minutes, seconds, etc, you can just use a timestamp as shown above