gigilihooie Posted December 21, 2008 Posted December 21, 2008 (edited) I have been looking around and I found This.If $CMDLINE[0] And $CMDLINE[1] = '/?' Then MsgBox(0x40000, 'Help', 'Not a problem;)') Exit EndIfWhen I add multiple of thoes, it errors.I have tryed.$CMDLINE[0] And $CMDLINE[2] $CMDLINE[1] And $CMDLINE[2] $CMDLINE[2] And $CMDLINE[0] $CMDLINE[2] And $CMDLINE[1]Any ideas? Edited December 21, 2008 by gigilihooie
mmavipc Posted December 21, 2008 Posted December 21, 2008 I have been looking around and I found This. If $CMDLINE[0] And $CMDLINE[1] = '/?' Then MsgBox(0x40000, 'Help', 'Not a problem;)') Exit EndIf When I add multiple of thoes, it errors. I have tryed. $CMDLINE[0] And $CMDLINE[2] $CMDLINE[1] And $CMDLINE[2] $CMDLINE[2] And $CMDLINE[0] $CMDLINE[2] And $CMDLINE[1] Any ideas?heres xsome example semi-psudo code for $i = 1 to $cmdline[0] if $cmdline[$i] = "/switchere" then do switch stuff here elseif $cmdline[$i] = "/bla" then do bla stuff here endif next rest of the script here [size="10"]Pure Au3 crypt funcs(I'm currently also working on making a dll from this)[/size][Y] Be more active in the community[Y] Get 200 posts[N] Get 300 posts[N] Make a Topic in the example scripts forum with at least 50 replies.People who currently hate me:ValikSmOke_N
mmavipc Posted December 21, 2008 Posted December 21, 2008 Thanks mate, worked perfect.your welcome [size="10"]Pure Au3 crypt funcs(I'm currently also working on making a dll from this)[/size][Y] Be more active in the community[Y] Get 200 posts[N] Get 300 posts[N] Make a Topic in the example scripts forum with at least 50 replies.People who currently hate me:ValikSmOke_N
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