dakota Posted June 1, 2006 Posted June 1, 2006 what is wrong with my if stament msgbox (0,"IP Adresses" , @IPAddress1) $IP = @ipaddress2 $badip = 0.0.0.0 if $IP = $badip Then msgbox (1 "Exit" "Exit") exit else msgbox (0,"IP Adresses" , @IPAddress2) msgbox (0,"IP Adresses" , @IPAddress3) msgbox (0,"IP Adresses" , @IPAddress4) endif exit
Simucal Posted June 1, 2006 Posted June 1, 2006 Seems ok except your MsgBox was missing some commas and your $badip value wasnt in quotes: MsgBox(0, "IP Adresses", @IPAddress1) $IP = @IPAddress2 $badip = "0.0.0.0" If $IP = $badip Then MsgBox(1, "Exit", "Exit") Exit Else MsgBox(0, "IP Adresses", @IPAddress2) MsgBox(0, "IP Adresses", @IPAddress3) MsgBox(0, "IP Adresses", @IPAddress4) EndIf Exit AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
BigDod Posted June 1, 2006 Posted June 1, 2006 (edited) Try msgbox (0,"IP Adresses" , @IPAddress1) $IP = @ipaddress2 $badip = "0.0.0.0" if $IP = $badip Then msgbox (1, "Exit", "Exit") exit else msgbox (0,"IP Adresses" , @IPAddress2) msgbox (0,"IP Adresses" , @IPAddress3) msgbox (0,"IP Adresses" , @IPAddress4) endif exit Edit - Too slow again Edited June 1, 2006 by BigDod Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
Valuater Posted June 1, 2006 Posted June 1, 2006 (edited) you should be using SciTE... in SciTE there is code checking MsgBox(0, "IP Adresses", @IPAddress1) $IP = @IPAddress2 $badip = "0.0.0.0" If $IP = $badip Then MsgBox(1, "Exit", "Exit") Exit Else MsgBox(0, "IP Adresses", @IPAddress2) MsgBox(0, "IP Adresses", @IPAddress3) MsgBox(0, "IP Adresses", @IPAddress4) EndIf Exit Ohhh Big-Bad-Dod-Dogged-Me... lol ... but i got the tidy 8) Heck... i didn't even see you Simucal.... BLAH!!! 8) Edited June 1, 2006 by Valuater
Simucal Posted June 1, 2006 Posted June 1, 2006 Mwuahaha.. I beat you all! AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
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