Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-11-2006, 05:10 AM   #1
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default customized cmds - alcobot

Hello neoxed.

I need to know if its possible to create a command like !alcobot which would show information on bandwith, or is this not possible at all?

You and your team have done a greate job on alcobot, keep it up
hukker is offline   Reply With Quote
Old 05-11-2006, 02:06 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

What would !alcobot do differently than the already existing !bw command?
neoxed is offline   Reply With Quote
Old 05-11-2006, 04:45 PM   #3
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default

nothing really, same output as bandwith, just that I want a cmd without haveing to use !*bw in the trigger...

Would be nice to have an option if I want to use !df instead of the !(*)free.
Hope you understand the request.
hukker is offline   Reply With Quote
Old 05-11-2006, 10:44 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

I added support for multiple prefixes in v1.1.

Code:
In AlcoBot.conf:
channel.bw = prefix=! prefix=!foo prefix=!bar
Would bind the commands !bw, !foobw, and !barbw.
neoxed is offline   Reply With Quote
Old 05-12-2006, 05:26 AM   #5
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default

yeah I know, thats the version Iam useing. Though I was thinking if we could loose the "bw" part in the cmd... so the cmd should only be !bandwith and not !bandwithbw.

Just a thought, hope you like the idee...
hukker is offline   Reply With Quote
Old 05-12-2006, 01:10 PM   #6
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Ahh, I see what you're saying. I'll also add support for user-definable aliases, instead of the hardcoded ones AlcoBot has now.
neoxed is offline   Reply With Quote
Old 05-12-2006, 04:42 PM   #7
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

I just implemented user-definable config suffixes in the trunk copy. If you can't wait until v1.3's release, which is likely months away, you can apply this patch.

Code:
cd ~/eggdrop/AlcoBot
fetch -o cmd-suffix.patch http://www.alcoholicz.com/projects/bot/changeset/635?format=diff
patch -p1 < cmd-suffix.patch
neoxed is offline   Reply With Quote
Old 05-12-2006, 05:18 PM   #8
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default

Greate. Ill try it out tomorrow if I find the time, getting kinda late now

Thx man.
hukker is offline   Reply With Quote
Reply

Tags
alcobot, greate, information, job, team

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 08:21 PM.

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