I agree that the scoring system needs a total overhaul. I think for some just the definitions of the numbers is the problem, as they are quite vague.
As for the script, yeah it could be a bit neater, but this one was done on the fly, and I have never been one to really like using multistep variable definitions because it is easier to get lost that way.
Surely I could have done something like:
%a = $rand(0,9), %b = $str(%a,4), %c = $calc($int($asin($rand(1,%b))))
and so on and so on....
But, it does not take into account the fact that your computer computes $rand based on its current state. With the speed of calculations that it can do, $rand is not truly random.
This one: if ($version <= 6.16) should be changed to if ($version < 6.16) otherwise, everyone will get both messages. Also, you need to halt the script in the instance of under 6.16.
anthalus
commented on a Snippet, .view - Feb 22, 2006
This is quite a dangerous script without protections built in. A level system could be overcome fairly easily. I would add a check system that only allows certain areas of a specific folder for increased safety.
1. Why op someone then deop them right away?
2. With 3 commands going off at once, there is the potential to be flooded off of the server.
3. Why not just do:
What I meant was, if you have 2 or more scripts that use the on:input statement, that is where the danger lies. Because 1 keystroke (input) is detected, mIRC will not know which on:input to use.
Ok, for everyone else that views this: different servers display this message in their own unique way. You may have to play around with the $8 ($7, $10, $2). Basically you count along the message until you find the $nick.
Be sure to note that you can only have 1 on:Input script. More than 1 at best will confuse your mirc, at worst, will crash. So if you are using more than 1, you will need to string them all together, which in itself is a bit delicate.