BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.4.x Custom/Unofficial Modules => Topic started by: Pharexys on October 11, 2007, 11:54:01 am

Title: Alliance Module
Post by: Pharexys on October 11, 2007, 11:54:01 am
Idea came from here (http://bebot.link/index.php/topic,1002.0.html)

I made it with database.

* Put Alliance1.php and Bot.php in your /custom/modules/
* Does not work if you run 2 bots on same database, fast fix is to change name of database to one of bots. Exemple from bots to bots1.
* As said by Nogoal, you need add bots to Leader Group.
Commands:
[tell] !bot <botname> - Adds <botname to database.
[tell] !botlist - Shows all Bots and theyr Organization.
[tell] !botremove <botname> - Removes <botname from database.
[GC] !r <msg> - To chat with Allied Guilds.

TO DO:
* Nothing really. :D

Fixes:
*Got the Guild name showing and removed the add of guildname needed. Made it automatly :D
*Fixed a typo that made bot restart.

PLEASE REDOWNLOAD IT AND IF YOU ALREADY ADDED BOTS TO DATABASE, REMOVE THEM WITH !Botremove, and Re-add them with the new command, !bot <botname>.



Title: Re: Alliance Module
Post by: Nogoal on October 11, 2007, 12:18:34 pm
You could get an acronym for org name. I can imagine smth like:
[Too long Org Name] Botname: [Org name even longer][randomplayer] hello

Purely cosmetic
Title: Re: Alliance Module
Post by: Alreadythere on October 11, 2007, 12:36:01 pm
Use the shortcuts module, it's supposed to do that.
Title: Re: Alliance Module
Post by: Mardonge on November 17, 2007, 03:29:39 pm
Interesting view on the relay. Would it be easily doable to code this into the current relay module using a relay bot? (the prefix/command dependant relay)
Title: Re: Alliance Module
Post by: Temar on November 18, 2007, 12:14:50 am
your commands seems generic instead of for your module, like !alliance add/rem/del prob would of been better
also i think useing a prefix for relay instead of command would of been better too
have module reading the none command chat and if the message is <pre>message then relay and u could set wat the prefix is in setting for your module
so like @hello
Title: Re: Alliance Module
Post by: Tichy on November 18, 2007, 10:34:30 am
And this should be integrated into the Relay_GUILD module. And there should be an option to:
 - use no relay prefix at all (default)
 - relay only chat messages with relay prefix
 - relay only chat messages w/o relay prefix

This sounds like a nice feature ;)
Title: Re: Alliance Module
Post by: Alreadythere on November 18, 2007, 12:37:59 pm
I'll try to get around to add it. No guarantees on the time frame though.
Title: Re: Alliance Module
Post by: Tichy on November 18, 2007, 11:37:32 pm
I just coded a small patch working as said above. It only touches relaying to different bots, relaying to IRC or PrivatGroup is untouched. Feel free to adapt it.
SimplePortal 2.3.7 © 2008-2024, SimplePortal