• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Count to 10!

One...

PHP:
local $from = "0"
local $to = "10"
local $once = "1"
local $count = "0"
local $end = "Buhahah i have 10 "

While 1
	If $count = $to Then
		MsgBox(16,"Otland Counter",$end)
		ExitLoop
		Exit
	Else
			If $count = $from Then
			$count = $once + 1
			TrayTip("Otland Counter", $count,0,2)
			Sleep(1000)
				Else
				$from = $from + 1
			EndIf
	EndIf
WEnd

Optimized:

local $id = "0"
While 1
	If $id = 10 Then
		MsgBox(16,"Otland Counter","Buhahah i have 10 ")
		ExitLoop
		Exit
	Else
	TrayTip("Otland Counter", $id,0,2)
	$id = $id +1
	Sleep(1000)
	EndIf
WEnd
 
Last edited:
Back
Top