Jethro if you test your code, it will do the same thing... and it will not return the right number of channels that $2 is sharing with bot, give a solid food for thought
now the explanation for $calc...
since you inc %x 1, after the while loop, now %x will return $comchan($2,0) + 1
using $left(%x,1) will fail, if the nick is in 16 channels, it will only return 1.. the right way to do it, is using $gettok
as ever Mr. Jethro_ acting like the Lord of MSL universe... notice, that i didnt bring any off-topic in here, and just making this comment, he will call his friends to start a troll war in this script, i suggest Aha2Y, start to delete some off-topics in here... starting from Jethr_ the Lord of MSL universe
The $md5 identifer only returns md5 hash.
I searched the help file, but there is no identifer for creating a md5 hash.
what exactly do you want?
you can use
Code
but encrypting it with $md5 wil not help in nothing
since if the person use the /getpass command, all it will return is the md5 hash... which you cant decrypt
i just wondered the same thing... if he saves it into a INI file, how could he can get the pass again, without a cracker? (if the pass exist on the cracker database)
for those who dont know regex, they will think that you made a "great" modification on it... all you did was insert the "join" on reference... in fact when you say "should have been", is in fact modificate the $regml result, so it can be called all togheter, without the "join" command
inserting "join" on reference to modificate the $regml, is not "should have been" or extra mile, when it wont affect the final result, you will probably say that is "repetitive" or go an "extra mile", but no great modification were made, and the final result is the same
preventing people to join in ####channel_name is the same as forbidding ppl to choose a name for the channel
since ppl can choose chanel names like that, this script won't work
some server dont allow the use of extra # on channel's name, but there is a lot of server which allow it
so in fact, using a condition to prevent an extra # is not needed, where server by itself, can forbid it
i still dont know why ppl use "alternative nick" since $me will always return your nickname...
there is no reason to use an alternative nick on the text match
if you change your nick, $me will assume the new value, so alternative nick its not needed
i agree that away messages really annoy, but we cant discourage ppl who are starting, by the way Hermes you need to practice some socket scripts, if you have something in mind, or any doubt tell me
i will give you a 7/10
now the explanation for $calc...
since you inc %x 1, after the while loop, now %x will return $comchan($2,0) + 1
using $left(%x,1) will fail, if the nick is in 16 channels, it will only return 1.. the right way to do it, is using $gettok
Code