Jump to content
Sign in to follow this  
COD3369

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 )
Else
FileDelete ( $ini )
sleep (5000)
EndIf
WEnd

my ini

[commands]
shutdown=true
msg=hi there m going down now
sleep=1000

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

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  

×
×
  • Create New...