View Single Post
Old 03-19-2004, 03:54 AM  
Razor
Member
 
Join Date: Mar 2003
Posts: 75
Default

when you use ioBanana its pretty easy to do.. just add the following lines in ioBanana.tcl

Code:
bind pub - [set ioss(cmdpre)]site sitealias


proc sitealias {nick uhost hand chan args} { if {[trusted_user $uhost]} {ioBanana $nick $chan "[lindex $args 0] [lindex $args 1] [lindex $args 2] [lindex $args 3] [lindex $args 4] [lindex $args 5]"} }
it uses the trusted-hosts option in ioBanana so pretty secure too.

now sitebot will do:

!site adduser -> in ftp site adduser..

it just echo's the !site cmd.
Razor is offline   Reply With Quote