Jump to content

Msgbox in loop !! where m wrong?


COD3369
 Share

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...