MakiMaki, that won't work. You can only use the isin operator to make one single comparison.
Scakk's suggestion makes the recommended approach. You can also combine them with the && operator:
Code:
if ($numeric == 318) && ($numeric == 312) { halt }
You can, however, use the $count():
Code:
if ($count($numeric,312,318)) { halt }
in place of the isin, but isin is not considered appropriate.
I made sure what I posted worked thank you Jethro
and do please tell us all on what is considered appropriate,
I believe the proper way would be.
Code
Deans method works, as does mine.
commented on mIRC Snippet: WhoIs Dialog
-
Nov 07, 2011
Hey _Dean_ ,I Changed My Snippet.Test My Whois Dialog Again.
hmmm?
seems to me the poster was happy with the feedback Dean gave to him, and either does not know how to delete your comments, or does not want to be attacked him self for deleting your guys carry on of crap. as we all know you will carry on like crazy over some one deleting your disrespectful crap. and no I don't see dean being rude till you guys pushed it.. tho shame on him he let you two get him going and looking just as bad, but even more shameful on your part, Not one of your comment on this thread was needed toclafane1, Jethro is a big boy and can fight his own battles he does not need you to fight for him, Jethro you know better, and to carry this crap on is truly, disappointing, you and Dean both do not need to act like kids your both should be role models to the newer msl scripters.
commented on mIRC Snippet: WhoIs Dialog
-
Oct 29, 2011
hxck great job neat snippet, loaded and had no problems using it. (6/10) Great Job
and
Wow the kiddies bicker, Jethro, Dean, and toclafane1, Post on topic or do not post at all, and keep your kiddie fights to your self's not on other users Snippet treads.
Really Jethro, your being a egoistic prick over the name he picked out? I could see giving pointers on the code but to try and push a name wtf dude, I don't see how he was wrong in any thing he said, how ever you are.
Dean, I think he means that its still going through those numbers in the loop
maybe something along the lines of this would be faster donno have not tested to see
did you paste in the alias tab or new script?
if you pasted as a new script you need to add alias before age ie alias age {
other wise that is a odd bug if you didnt do that error by mistake
Cool Snippet, and on Jethros pointer of making it one alias as the two would only use the first one
I did this:
Code
Changed the set to var and used a $iff so say:
/age <any text> Returns
* .iMaki is 659507236 seconds old which is 20.89897 years, in 5wks 1day 19hrs 32mins 44secs iMaki will be 21 on Nov 17 2011 10:00:00
and
/age
<.iMaki> I am 659507256 seconds old which is 20.89897 years, in 5wks 1day 19hrs 32mins 24secs iMaki will be 21 on Nov 17 2011 10:00:00
Very Cool :P spent 30 mins messing with the demo LOL
commented on mIRC Script: Auto Identify
-
Oct 09, 2011
Nice work.
Just goes to show how many people are to busy needing to tell people were to post things instead of looking at the post, and posting something related to the thread or hey great job...
Jethro has a valid point that coding things backwards compatible is a good idea, tho yes People should try to always be up to date, It shows much more skill and effort when some one takes the time to code something that will work for everyone.
Really guys do we have to have this on every post?
It wasnt a challenge, it was to show the validation of why the regsubex was not needed that in the longer sloppy way that did it achieved the goal you wanted and was less code then adding the regsubex in., tho if you want to do a code challenge I am More then game to see how small, Yet most usable the snippet is in the end. tho I think I would like to go for something that is more of a challenge that will really make myself think.
Size of password.mrc is: 330 characters <My Version
Code
all using the while loop.
* Size of password.mrc is: 303 characters < Jethros version + flood Protect
* Size of password.mrc is: 330 characters <My Version *does not add punctuation chars, + flood Protect
* Size of password.mrc is: 349 characters < Posted version
* Size of password.mrc is: 369 characters < Deans Version *does not add punctuation chars + flood Protect
Dean it was pointless, as one 0-9 and A-z eh No special characters to strip out.
I most certainly did analyze your code and went wtf what was the point in doing that and using the while, you added regsubex to something that did not need it as well wasted the the use of it to strip the special characters that were not even there
Code
Your code there please tell me were a special character will be gen, that you would even need to strip it out?
you really did go left field on this whole thing.
No mIRC really is not the best for this type of use, How ever, it can do basic pages and is something new, unlike the 500, aops, or banlist, or themes, we all have seen them done nothing new tho cool to see some the ways people do them, its nothing new. So seeing some one try something new and different is very nice, and you should not just troll peoples work to put it down just cuz you don't feel its a valid use.
Google, Yahoo,MSN,Any Mail.com, Godaddy, Dyndot,Buzzen,VibeSn,Phreik,,My own Cpanel. Lots of forums,
allow Passwords like this: K7#g2'q2&E9&C3)r1,t2(t3#_9.e6$I5)]7/ <<< was Gen using the regesubex I posted.
in fact use the password gen for Mysql? it will gen a password like that. there for your baseless claim is just that, baseless.
No site I have been on allow just special characters. and none of us posted any thing that gen such. So get out of left field please.
If I need to Dean I will make accounts with all those listed and post the login info just so you can see.
Further more I simply comment that the while loop is pointless if your going to use regesubex as in your post you show my point.
Before jumping the gun and getting Upset read and understand whats being posted
Quote
MakiMaki, that won't work. You can only use the isin operator to make one single comparison.
Scakk's suggestion makes the recommended approach. You can also combine them with the && operator:
Code:
if ($numeric == 318) && ($numeric == 312) { halt }
You can, however, use the $count():
Code:
if ($count($numeric,312,318)) { halt }
in place of the isin, but isin is not considered appropriate.
I made sure what I posted worked thank you Jethro
and do please tell us all on what is considered appropriate,
I believe the proper way would be.
Code
Deans method works, as does mine.