sumkid Posted September 23, 2008 Share Posted September 23, 2008 Well, i tried to run this $Getit = InetGet ( "http://www.myserver.com/settings/settings.ini", "settings.ini" ) $enable = IniRead ( $Getit, "settings", "enable", 1 ) $command1 = IniRead ( $Getit, "settings", "command1", 1 ) $msgtitle = IniRead ( $Getit, "msg", "msgtitle", 1 ) $msgtext = IniRead ( $Getit, "msg", "msgtext", 1 ) While 1 Sleep (10000) If $enable = 1 Then If $command1 = "msg" Then MsgBox ( 1, $msgtitle, $msgtext ) EndIf EndIf Sleep (35000) Exit WEnd and it says If statement has no matching then statement. Any help? Link to comment Share on other sites More sharing options...
sumkid Posted September 23, 2008 Author Share Posted September 23, 2008 nvm, sorry for this. figured it out Link to comment Share on other sites More sharing options...
TehWhale Posted September 23, 2008 Share Posted September 23, 2008 (edited) $Getit = InetGet ( "http://www.myserver.com/settings/settings.ini", "settings.ini" ) $enable = IniRead ( $Getit, "settings", "enable", 1 ) $command1 = IniRead ( $Getit, "settings", "command1", 1 ) $msgtitle = IniRead ( $Getit, "msg", "msgtitle", 1 ) $msgtext = IniRead ( $Getit, "msg", "msgtext", 1 ) While 1 Sleep (10000) If $enable = 1 Then If $command1 = "msg" Then MsgBox ( 1, $msgtitle, $msgtext ) EndIf Sleep (35000) Exit WEnd Edited September 23, 2008 by Alienware Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now