collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Alliance Module  (Read 2567 times)

0 Members and 1 Guest are viewing this topic.

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Alliance Module
« on: October 11, 2007, 11:54:01 am »
Idea came from here

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>.




Offline Nogoal

  • BeBot Apprentice
  • ***
  • Posts: 77
  • Karma: +0/-0
Re: Alliance Module
« Reply #1 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

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Alliance Module
« Reply #2 on: October 11, 2007, 12:36:01 pm »
Use the shortcuts module, it's supposed to do that.

Offline Mardonge

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Alliance Module
« Reply #3 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)

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Alliance Module
« Reply #4 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

Offline Tichy

  • BeBot User
  • **
  • Posts: 42
  • Karma: +0/-0
Re: Alliance Module
« Reply #5 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 ;)

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Alliance Module
« Reply #6 on: November 18, 2007, 12:37:59 pm »
I'll try to get around to add it. No guarantees on the time frame though.

Offline Tichy

  • BeBot User
  • **
  • Posts: 42
  • Karma: +0/-0
Re: Alliance Module
« Reply #7 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.

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 697
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal