The code is fine but there are ways to get it to fail.
For example, that version of the safe alias, while preventing him to get an error on $decode being locked, creates very long string which would return an error on too long string.
You're also missing $utfdecode, you need it around $regsubex because you might have utf character encoded with more than one byte here.
Your { } also invalid with /scid, mIRC strips them when parsing it
Last edited by Wims; 04/12/13 03:10 PM.