I've noticed that some people use $decode to scramble their scripts... needless to say, all those scripts were spammed around and did things people who run them do not want to happen. You've probably seen them, hopefully not executed them.
The advice for mIRC (and a lot of other) scripts: if you cannot read and check the script, you most likely shouldn't run it...