sumkid Posted September 23, 2008 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?
sumkid Posted September 23, 2008 Author Posted September 23, 2008 nvm, sorry for this. figured it out
TehWhale Posted September 23, 2008 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
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