Jump to content

Recommended Posts

Posted

hi guys!

i feel no need to introduce myself as i am noone special so let me just ask my question, hehe ;P

how to make my script run only if user use correct lpParam for script execute, eg.

myScript.exe -cAP3#ap

also my question is how to check for any param typed by user.

thanks in advance ;P

Posted

If $CmdLine[0] AND $CmdLine[1] = "-cAP3#ap" Then

;Do nothing

Else

Exit

EndIf

-or-

If NOT $CmdLine[0] OR $CmdLine[1] <> "-cAP3#ap" Then Exit

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
  • Recently Browsing   0 members

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