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 07-18-2004, 09:40 AM   #1
le coYote
Junior Member
 
Join Date: Feb 2004
Posts: 16
Default [Filled] Automatic sections for sitebot

Hi,
I'm looking for a tcl script which will make it possible to my eggdrop to post on channel IRC the sections of the server according to the repertories created in the Home directory of ioftpd...

For example :

In the Home directory of ioftpd there are those dirs :
/MP3/
/MOVIES/
/PICTURES/


And the eggdrop, after one typed "!sections", answers us:

Sections available are : MP3 - MOVIES - PICTURES

Thx For your help
le coYote is offline   Reply With Quote
Old 07-18-2004, 10:00 AM   #2
sUN76bEAM
Member
 
Join Date: Nov 2003
Posts: 46
Default

USE iojTQ
sUN76bEAM is offline   Reply With Quote
Old 07-18-2004, 11:27 AM   #3
le coYote
Junior Member
 
Join Date: Feb 2004
Posts: 16
Default

is it possible to integrate only the part concerning the sections in dzsbot, 'cause there too many things I don't want in iojTQ... ??
le coYote is offline   Reply With Quote
Old 07-18-2004, 11:36 AM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Indeed, iojTQ has a completely different purpose, it's mainly for trial and quota across several sites.

dZSbot, as far as I know, doesn't have a !sections trigger to display the sections. However, you could try posting a feature request in the dZSbot forum category.

If you're currently using ioBanana, the sitebot for ioBanana has this command.
neoxed is offline   Reply With Quote
Old 07-18-2004, 11:43 AM   #5
le coYote
Junior Member
 
Join Date: Feb 2004
Posts: 16
Default

indeed, the only thing about sections in dzsbot is :

# SETUP HERE YOUR SECTIONS
set sections "SECTION1 SECTION2..."
and the cmd is !***free

But no relations with directories located in home directory.
le coYote is offline   Reply With Quote
Old 07-18-2004, 02:33 PM   #6
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

dunno ... try this

bind pub - !sections pub:sections

proc pub:sections {nick uhost handle chan arg} {
putquick "PRIVMSG $chan :\[\002\0033SECTiONS\003\002]\ - MOViES - MP3 - SHiT "
}
hot_pit is offline   Reply With Quote
Old 07-18-2004, 05:21 PM   #7
le coYote
Junior Member
 
Join Date: Feb 2004
Posts: 16
Default

hum... this code works, but it's the same problem as before. With those lines, the egg announce only the 3 directories (that I wrote on the tcl file). i want the bot to announce on the chan directories I had created or I will create in ioftpd's home directory.

Thus, if I'd like to change sections on the server, I needn't modify dzsbot.tcl or orther tcl file.

hmmm I give you another example :

In homedir, I create 1 dir : "DIR1"
so, when I type "!sections" on irc, eggdrop announce on channel : "Sections Are : DIR1"

Then, I create a seconde dir : "DIR2"
consequently, when I type "!sections", eggdrop announce : "Sections Are : DIR1 DIR2"

I create a third dir : "DIR3"
and when I type "!sections", the bot answers : "Sections Are : DIR1 DIR2 DIR3"

Whether I delete one of directory, for example DIR1, egg says : "Sections Are : DIR2 DIR3"

etc etc etc

But I just want "!sections" command write on irc directories located in ioftpd's HOME DIRECTORY, not others dir inside

I hope that you understand what I try to explain ^^

and thx for your help
le coYote is offline   Reply With Quote
Old 07-18-2004, 05:47 PM   #8
Guardian
Senior Member
 
Join Date: May 2003
Posts: 131
Default

look here

Grtz
Guardian
Guardian is offline   Reply With Quote
Reply

Tags
directory, eggdrop, home, ioftpd, sections

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


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

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