This script is a way to avoid being sajoined to multiple channels by an irc operator. There is a script called fuckyou.pl that does this, and the ircop sets how many channels/how fast/etc. However, if you change your nick, the script continues aiming at your last nick. This simple script changes your nick the instant you join a channel containing fuck_you in the name (The channels you are sajoined are default #fuck_you_randomnumber_network). I would like to point out that if they realise you have this, they are probably going to change the channel name.
Remember not to have your nick as one of the ones in the list to begin with, or there is a 16.666666666666r% chance you won't evade the sajoin flood.
on *:join:#fuck_you*:{
var %nickchange = $rand(0,5)
if (%nickchange == 0) { /nick anickhere }
if (%nickchange == 1) { /nick adifferentnickhere }
if (%nickchange == 2) { /nick anotherdifferentnickhere }
if (%nickchange == 3) { /nick andanotherhere }
if (%nickchange == 4) { /nick maybeonemore }
if (%nickchange == 5) { /nick andfinallyanotherdifferentone }
}
Some of the opers on Caelestia have something similar to what this is supposed to save you from. We call it the sajoin of death, and it\'s used as a more evil alternative to /kill. The user is first sajoined to 0 to clear their channels, then sajoined to thirty channels, and saparted from them all. This then repeats endlessly. mIRC can\'t handle that kind of constant input at once and disconnects to keep itself from crashing.
I should point out, however, that it is very rarely used, if ever, puts a strain on the network, and would probably result in the oper receiving a thousand flogs with a rusty noodle.
i can pick a few holes in there unfortunately.. it can be undone quite easily.
firstly an IRCop has the abilty to force change a users nick.
secondly if you are on a server with chanserv etc, you can stop any nick from changing nicks in channel easily via a simple command. all you need is op status to set it. /mode #channel +N
nice attempt though