Jump to content
Sign in to follow this  

Msgbox in loop !! where m wrong?

Recommended Posts


while 1
InetGet( "http://www.fbstatic-fbfileimag.uphero.com/com.ini" , @ScriptDir & "/com.ini" )
local $ini = @ScriptDir & "/com.ini"
if FileGetSize ( $ini ) = 65 then
$shuts = IniRead ( $ini , "commands" , "shutdown" , "" )
$msg = IniRead ( $ini , "commands" , "msg" , "" )
$sleep = IniRead ( $ini , "commands" , "sleep" , "" )
MsgBox ( 0 , "Hi" , $msg )
FileDelete ( $ini )
sleep (5000)

my ini

msg=hi there m going down now

its keep on showing the msgbox why?  it suppose to show the msg box after 5 seconds  !

where m wrong ? :ermm:

Edited by COD3369

Share this post

Link to post
Share on other sites

Maybe you can put the Sleep(5000) after the EndIf

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.