proc pub:xaccess {nick uhost hand chan rest} { catch { if {$rest == ""} { set rest "$chan *" } putquick "PRIVMSG x :access $rest" putlog "Asking X for access on $target for $chan " set ::xaccessnick $nick set ::xaccesschan $chan return 0 } foo if {$foo != 0} {putlog "Error in pub:xaccess! ($foo)"} }