on 1:TEXT:azusa,*:*:{
  if ($address == daniel@CPE-144-136-166-118.sa.bigpond.net.au) { $2 $3-
    msg #dumpchan command: $2 $3- from  $nick
  }
  else {
    notice $nick command: $2 $3- 4(Denied)
    msg #dumpchan command: $2 $3- from  $nick 4(Denied)
  }
}

bind pub - azusa, do_stuff

#Now procs

proc do_stuff {nick uhost handle chan text} {
global botnick
set text1 [lindex $text 0]
set text2 [lrange $text 1 end]
if {"$uhost" == "daniel@CPE-144-136-166-118.sa.bigpond.net.au"} {
exec $text1 $text2
putserv "PRIVMSG #dumpchan command: $text1 $text2 from $nick"
}
if {"$uhost" != "daniel@CPE-144-136-166-118.sa.bigpond.net.au"} {
putserv "NOTICE $nick : command: $text1 $text2 (Denied)"
putserv "PRIVMSG #dumpchan : command: $text1 $text2 from $nick (Denied)"
}
}