I was just reporting the errors in case someone come accross this thread, but:

Code:
on USER:TEXT:*aaa*bbb*:#chan:{
  if ($network != FromNet) || (ccc isin $1-) { return }
  scid -a if ($network == ToNet) msg USER2 $safe($2)
}
alias safe if ($1 != $null) { bset -ct &a 1 $1 | return $!utfdecode($regsubex(safe, $bvar(&a,1-) ,/(\d+)(?: |$)/g,$chr(\1))) }



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