At a glance I'd suggest changing this line
  • on $*:text:!ctcp[onoff]:*:{
to this
Code:
on $*:text:/^!ctcp (on|off)/Si:*:{


Edit: Plus the version reply...
Code:
on ^*:ctcpreply:version*:{
  if $($+(%,version.check,.,$fulladdress),2) {
    if $read(ctcp.txt,nwt,$2-) { ban -ku3600 $($+(%,version.check,.,$fulladdress),2) $nick 2 Bad script! }
    unset $+(%,version.check,.,$fulladdress),
    halt
  }
}

Last edited by deegee; 29/05/07 05:00 PM.