$replacex is not respecting the order of the parameters passed to it. Instead, it uses the parameter that matches best the start of the string, $replace does not behave like that and I think it should:
Code:
$replacex(1234,234,z,123,u) returns u4
$replace(1234,234,z,123,u) returns 1z


#mircscripting @ irc.swiftirc.net == the best mIRC help channel