Colten45 commented on a Page, mIRC identifyer not working correctly  -  Nov 29, 2014

The easiest way for me to make this easy for you is to use regex, will look like if ($regex($nick,/(Taw_Sloan|Xariannii)/g) == 1) { }

Now what you are asking about is if ($nick == Taw_Sloan) || ($nick == Xariannii) {}

Can be cheated to do if (($nick == Taw_Sloan) || ($v1 == Xariannii)) {} that way it's always pointing back to the last number 1 parameter in the condition. TOP down left to right in to out can get confusing real fast.

OR with tokens if ($findtok(Taw_Sloan|Xariannii,$nick,124) isnum) {} OR if ($findtok(Taw_Sloan|Xariannii,$nick,124) != $null) {} OR if ($istok(Taw_Sloan|Xariannii,$nick,124)) {}

warning these have their draw backs. You will reach a limit of how many nicks you can manually enter if you're not doing just raw if () || () || () | () {}

Using hash tables,inifiles,binary files can increase this size and can be easily coded to "enter" a new nick to be able to use it etc. There are tricks and cheats and so many ways you can do something like this from very basic to advanced. I could see fordlawnmower or jaytea coming in here and posting what would look alien to the both of us at first sight.

Ari Anne Sorensen  -  Nov 29, 2014

Thanks! :) I will have a look at this and see how it goes. Do you reckon that there's a way to easily add people to this list, or more like create a group of users which can be added to and use something like ($nick == usergroup1)

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.