Codemastr: the way I figure it, the smart people would easily figure out how to enable $decode for use in typing it, or they'd just create an alias like this:
alias decode2 { return $decode($1-) }
lol
and Adrenalin.. I know about those two options, I'm not a moron. Reread my post man. I was talking about making it so each individual script loaded could have it's own settings set to over-ride the default settings (which would be expanded as well). 1 example would be to set the default settings to allow for no commands that could harmful to run, then when the person loads a script, they allow only what the script should need to use and then disable further commands for the certain script should they want to do that.. To go even further with this idea, there could be an "ask" setting for the different commands, where it asks the person if it should be allowed to do whatever it is that it's trying to do (and that window would have a button to open up the script to the part that is running, if the person wants to review that part of the script first). I know that it wouldn't be 100% secure, but everytime I load a humongous script, I get the lurking feeling that I just put some sort of backdoor onto my computer..
It's just an idea that I think would make running scripts on mIRC more safe.
The reason for this suggestion is because mIRC scripts have a LOT of power, but very little controls set to actually customize security with how they run.