Jump to content

Need help with a Toggle function. - (Moved)


Recommended Posts

Ok im making an Admin Menu for  GameServer, theres 2  of the same 'If' Statements i need for a few of the functions.

If ($DEVMODECheck == 1) Or ($AdminModeCheck == 1) Then

*Script1*

Else

*Script2*

I need Script1 to run when either '$DEVEMODECheck' or '$AdminModeCheck' is set to '1'.

i've been stuck for about 2 hrs now and probably going to feel stupid when i figure it out but ANY help its greatly appreciated.

Thanks,

ItsAmber 

Link to post
Share on other sites
  • Developers

Moved to the appropriate forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions. If it's super geeky and you don't know where to put it - it's probably here.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
  • Developers

Not sure I understand the question, so could you post a script that demonstrates the issue you have?
Also ensure you familiarize yourself with our ForumRules as this seems to be Game related!

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

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...