The code is "meant" to hack someone else's account, so a hacker (shouldn't) have the original password, and, therefore, would not be able to have an ON CONNECT event which auto-identifies for the nick.
The "hacker" wouldn't be able to but the "victim" could have such a script already loaded. Which isn't an odd scenario theres thousands of people that auto identify using an on CONNECT.
Whoever loads this script will have his/her own password tried to be changed every time the person who loads this script connects. This will fail because he needs to be identified before ns set password works. IF however the person who loads this script already has an on connect identifying him/her then the posted on connect IS succesful at changing that persons own password.
I never said ANYTHING about changing other peoples passwords.
It's a crappy hack(if one should even call it such), a stupid script which does nothing useful and should thus be deleted.
RusselB. Your statement that a person needs to be a identified for this to be evil is true but say if a person who loads this now has 2 scripts loaded
1. Script1.mrc
Code
2.this script.mrc
Then this script will be successful in changing the password. Luckily mIRC's own perform is triggered after the very last on CONNECT otherwise this script would have an even higher success rate.
In any case this snippet has a potential security flaw and should thus be removed in my opinion.
I did make one years back where this was a part of it. It loaded themes in a matter of milliseconds instead of seconds like KTE and most others. I never got round to getting ready to release it though :)
MTS is in the form of
<chan>'s <<knick>> kicked <nick>'s butt <hahahaha>
this should be interperitted by mIRC like this:
%::chan $+ 's < $+ %::knick $+ > kicked %::nick $+ 's butt <hahahaha>.
What this alias does is it allows you to return the first form or the evalled form by just passing the alias $mtsprecompile(<chan>'s <knick> kicked <nick>'s butt,EVAL).
Code could have been a bit more cleaner if you had incorperated a $circle alias to return x y position to draw. Zonirc has some very good suggestions and is right about the -e switch it does allow you to create circles.
The Bastard is still on the site :). This snippet was created before the Live series of MSN it might not work with these versions anymore i'll have to do some research on that.
True however this wont just return seconds, but also months quarters and years something which would take alot of mirc $calcing power and would run rather slow on big numbers.
I hate standard dropdowns CSS has hardly any grasp on em and they show trough DIV\'s positioned over them in IE. (Thats why in my projects i use my own custum built one).
You dont have escape quotes to display $variables in strings \"hello $nickname\" works fine. Only when your referencing an array do you need to \'..\'