how can i check if a player is online every so often and then with that information change the effect of something.
I know that you can not use every 100 ticks like this i just used this to show what i am trying to do.
Code:
every 100 ticks
if player is online:
#code
else:
stop