Jump to content
UBot Underground

How long 'either' statement can be?


Recommended Posts

Ive got a loop with a long "IFs" around 10. I would like to put them all into EITHER to save some time, so if either of this 'IFs' happends then bot does some action and doesnt check all 10. Either can be for many instances that are IF or can be just for 2 short ones?

 

ANd the second question - can EITHER be used without "IF' before it?

 

So i could avoid doing all 10 things whe ni need just 1?

Link to post
Share on other sites

Yes but would be cool if either could have like 1000 ones, then 1 else. then we get 1 posisbility working and then it stops checking 999 other eithers and just goes where it should. maybe seth could say ?

Link to post
Share on other sites

yeah this would be a huge help...it's really tedious to make each one on it's own and it takes up more space in the script.

 

 

I use either's quite frequently as part of IF's I've never had a problem with them.

 

Such as Either

 

text X or Text B is present then do blah blah blah else do bleee.

 

Don't see why it wouldn't work for what you're trying to do.

Link to post
Share on other sites

I use either's quite frequently as part of IF's I've never had a problem with them.

 

Such as Either

 

text X or Text B is present then do blah blah blah else do bleee.

 

Don't see why it wouldn't work for what you're trying to do.

 

no, i'm trying to do

 

Either

 

text A or text B or text C or text D or text E or text F is present THEN do blah blah

Link to post
Share on other sites
  • 8 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...