As /breplace is a command dealing with byte replacement, I think it would be better to keep it doing that. It may reinterpret the number if it's > 255, but there it would always encode to utf8, I don't think supporting other encoding makes much sense, mIRC doesn't do that in others areas...

That being said, replacing in a binvar using text rather byte number would certainly be handy, but I think it would be best implemented with an identifier: $breplace(&binvar,text,replace,text1,replace1,[N]), returning the number of replacement made, N would be to only to do N replacement, to go with this

Something though, a switches for /breplace could be used to get a $replacex-like feature for /breplace


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