Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-23-2004, 01:08 AM   #1
Ren
Senior Member
 
Join Date: Sep 2002
Posts: 111
Default [Filled] IRC Admin Script

like the sitebot script for glftpd

/msg xXx addip [login] [pass] [IP] (for normal users)

would save a hell of a lot of time

also

a staff channel irc admin script for adding new users accross multiple sites would be awesome, I know its lazy but...

!adduser TRiAL user pass *@ip

accross 10 +site's would be a dream
Ren is offline   Reply With Quote
Old 03-18-2004, 10:08 PM   #2
Del
Junior Member
 
Join Date: Oct 2003
Posts: 21
Default

Hi,

I would like to see a script like this as well. Offering an IRC Admin channel for the site via the sitebot. Where we can see errors and what not in the admin channel (like ioBanana). And where we can also use !adduser, !addip, !addgrp, and other site commands for us lazy admins with multiple sites to admin, and don't have shared DB implemented.

We can use !adduser, and all sitebots inside that channel will add the user to the sites. Somthing like gl IRCadmin.

Thanks In Advance. 8)
Del
Del is offline   Reply With Quote
Old 03-19-2004, 03:54 AM   #3
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
Old 03-19-2004, 11:15 AM   #4
djrob
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Jul 2003
Posts: 99
Default

Or use this:
http://www.ioftpd.com/board/showthre...&threadid=2286
djrob is offline   Reply With Quote
Old 11-03-2004, 10:09 AM   #5
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
Reply

Tags
accross, admin, irc, script, users

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM


All times are GMT -5. The time now is 09:24 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)