Jump to content

please stop doing this


Bonnie20402

Recommended Posts

Why most people do:

every second:
	loop all players:
		if loop-player is online: # Because you know even though im looping every online player already they may not be online, who knows :thinking:
		# do stuff

While you can just do:

on join:
	while player is online:
		wait <yourdelay> seconds
        #do your stuff

Like it's way cleaner

Edited by Bonnie20402
  • Like 2
Link to comment
Share on other sites

agreed fax

Hello!
IGN✦ centralwtf
Gender★ he/him
==========================================

Owner★ Boxable, NetherBox, FishHype

 ==========================================

Joined★ 22.07.2019

Member -> VIP ★ 29.04.2020

 ==========================================

obraz_2021-04-08_103028.png.8fa96840c599c6ff81febf732163163f.png

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...