Jump to content

Recommended Posts

Posted

yeah :E i am trying to set script to think that 1 is 1000 so i can make sleep more dum-friendly.. but i can figure out howto set that up ;E tried dim but didnt work so well..

[example]

$x = 104304

func

while 1

1 = 1000

;dostuff

sleep($x)

wend

endfunc

Posted

yeah :E i am trying to set script to think that 1 is 1000 so i can make sleep more dum-friendly.. but i can figure out howto set that up ;E tried dim but didnt work so well..

[example]

$x = 104304

func

while 1

1 = 1000

;dostuff

sleep($x)

wend

endfunc

Sleep($X / 1000)

Maybe start out with the tutorials?

Posted (edited)

yeah :E i am trying to set script to think that 1 is 1000 so i can make sleep more dum-friendly.. but i can figure out howto set that up ;E tried dim but didnt work so well..

[example]

$x = 104304

func

while 1

1 = 1000

;dostuff

sleep($x)

wend

endfunc

While 1
    ;do something
    Sleep(_Second(2))    ;sleep 2 seconds
Wend


Func _Second ($x)
    return ($x * 1000)
EndFuncoÝ÷ ÚÚºÚ"µÍÚ[HBÙÈÛÛY][ÂÔÛ
JHÜÛYHÙXÛÛÙ[[ÈÔÛ
    ÌÍÞ
BÛY
    ÌÍÞ
L
B[[
Edited by Chapi

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...