View Full Version : customized cmds - alcobot
hukker
05-11-2006, 05:10 AM
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 ;)
neoxed
05-11-2006, 02:06 PM
What would !alcobot do differently than the already existing !bw command?
hukker
05-11-2006, 04:45 PM
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.
neoxed
05-11-2006, 10:44 PM
I added support for multiple prefixes in v1.1.
In AlcoBot.conf:
channel.bw = prefix=! prefix=!foo prefix=!bar
Would bind the commands !bw, !foobw, and !barbw.
hukker
05-12-2006, 05:26 AM
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...
neoxed
05-12-2006, 01:10 PM
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
05-12-2006, 04:42 PM
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.
cd ~/eggdrop/AlcoBot
fetch -o cmd-suffix.patch http://www.alcoholicz.com/projects/bot/changeset/635?format=diff
patch -p1 < cmd-suffix.patch
hukker
05-12-2006, 05:18 PM
Greate. Ill try it out tomorrow if I find the time, getting kinda late now ;)
Thx man.
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.