View Single Post
Old 11-03-2004, 10:09 AM  
Hor0
Junior Member
 
Join Date: Oct 2004
Posts: 2
Default

Here is the code i put for the iobanana v20 :banana:

Quote:
bind pub - $ioBvar(cmdpre)site ioB:sitealias
catch {unbind pub - $ioBvar(cmdpre)site ioB:sitealias}
proc ioB:sitealias {nick uhost hand chan args} {if {[ioB:istrusted $uhost]} {ioB:ioBanana $nick $uhost $hand $chan "[lindex $args 0] [lindex $args 1] [lindex $args 2] [lindex $args 3] [lindex $args 4] [lindex $args 5]"}; return}
I put it just behind all "approve" cmd.

Anyway that's working.
And it's working with trusted user like the post before.

If it's can be useful to someone...

And after in your irc channel if you use mirc, u can do something like that and put it on ur alias
Quote:
/ioftpcmd { var %ioftpcmd = $$?="Enter your command:" | msg #ur_admin_chan !botprefixsite %ioftpcmd | msg #ur_admin_chan !bot2prefixsite %ioftpcmd | msg #ur_admin_chan !bot3prefixsite %ioftpcmd }
Etc etc etc...
And it's working really great

Ex:
[15:53:17] <@nick> !ioftpdsite delip ioftpd ioftpd@iobanana.gov
[15:53:24] [|ioftpd|] Removed: 'ioftpd@iobanana.gov'
[15:53:29] [|ioftpd|] [ioftpd SYSOP] 25-12-2666 00:00:07 'sitebot' removed ip 'ioftpd@iobanana.gov' from user 'ioftpd'.'

Really usefull indeed when you have many bot on the chan ^^
Hor0 is offline   Reply With Quote