A Chat Bot for Anarchy Online




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Guild Management Module
PostPosted: Fri Jun 18, 2010 3:04 am 
The Team

Joined: Sun Dec 13, 2009 3:20 am
Posts: 40
Greetings again!

For some time, my org and others have been having trouble with the 1k limit to the bot's buddylist. As a result, every so often my org would clean up inactive members and remove them from org while leaving them with a message with instructions for a re-invite, should they return ingame. It used to be a long and tedious task to !whois every member, check his !lastseen, and !alts list to see if he's just been playing other toons. Going through our list of 900+ org members/toons would take the better part of a day, if not a good section of the week if it were just 2 people going through the roster.

Anyhow: that's what brought about this bot-module. It uses !lastseen data from the bot, to determine whose been inactive for longer than what the bot admin who runs the appropriate command specifies, checks the alts list, cross checks the alts list for similar inactivity, and adds or removes them to a list of "inactive orgmates" which is presented to the user.

Some technical info:
- The command is locked to bot *admins* only ... to limit the number of people who may accidentally go /org kick trigger-happy, but feel free to change that in the !config, if your (you as the bot-owner) moderators will be doing the majority of the kicking (or you could simply make your org-kicking-personnel admins on the bot).

- READ THE DOCUMENTATION (the manage_guild.txt file that comes with the bot). There is IMPORTANT instructions in that file regarding steps that must be take so the module will work properly... not to mention the actual command and syntax.

>>>> And without further adieu ... here's the download link: http://www.box.net/shared/hvsnco0a03


Top
 Profile  
 
 Post subject: Re: Guild Management Module
PostPosted: Fri Jun 18, 2010 2:18 pm 
Site Admin

Joined: Mon Nov 23, 2009 11:19 pm
Posts: 89
My Org has also been bouncing off these problems for some time...

Question: Will this work with the !alts option to give a listing of who the main of the inactive alt is? & if not, could it be made to?


Top
 Profile  
 
 Post subject: Re: Guild Management Module
PostPosted: Fri Jun 18, 2010 5:41 pm 
The Team

Joined: Sat Jan 09, 2010 1:32 am
Posts: 491
very nice, you should put that in the svn :)

_________________
Tyrence (200 Froob Fixer)/Crattyr (175 Crat)/Whiznt1 (76 PVP NT, retired) (RK2)
Budabot Releases and Modules: http://www.box.net/shared/bgl3cx1c3z


Top
 Profile  
 
 Post subject: Re: Guild Management Module
PostPosted: Sat Jun 19, 2010 10:48 pm 
The Team

Joined: Sun Dec 13, 2009 3:20 am
Posts: 40
Snakebite wrote:
My Org has also been bouncing off these problems for some time...

Question: Will this work with the !alts option to give a listing of who the main of the inactive alt is? & if not, could it be made to?


Yes, when you run the command, it returns a listing of all the inactives. Other information included is the person's main (if it can find one in the !alts table), and the last time *any* of the toons on the alts list was seen ingame (the last time the bot saw that guy in-game on any of his alts).


Top
 Profile  
 
 Post subject: Re: Guild Management Module
PostPosted: Sat Jun 19, 2010 10:59 pm 
The Team

Joined: Sun Dec 13, 2009 3:20 am
Posts: 40
Tyrence wrote:
very nice, you should put that in the svn :)


added


Top
 Profile  
 
 Post subject: Re: Guild Management Module
PostPosted: Tue Jun 22, 2010 6:22 pm 
The Team

Joined: Sat Jan 09, 2010 1:32 am
Posts: 491
One small fix...at the top of the file it was hardcoded to "llowbot". All distaste I have for that guy aside (:P), I don't think we want it hardcoded to his bot, so I changed it to:
Code:
$table = "org_members_<myname>";


committed to svn, but I you might wanna update it in the link

EDIT: btw, do you use the "k" script file since anarchy won't let you execute two chadcmd's from a link?

_________________
Tyrence (200 Froob Fixer)/Crattyr (175 Crat)/Whiznt1 (76 PVP NT, retired) (RK2)
Budabot Releases and Modules: http://www.box.net/shared/bgl3cx1c3z


Top
 Profile  
 
 Post subject: Re: Guild Management Module
PostPosted: Fri Jun 25, 2010 12:56 pm 
The Team

Joined: Sun Dec 13, 2009 3:20 am
Posts: 40
Tyrence wrote:
One small fix...at the top of the file it was hardcoded to "llowbot". All distaste I have for that guy aside (:P), I don't think we want it hardcoded to his bot, so I changed it to:
Code:
$table = "org_members_<myname>";


committed to svn, but I you might wanna update it in the link


Thanks. Its updated now.

Tyrence wrote:
EDIT: btw, do you use the "k" script file since anarchy won't let you execute two chadcmd's from a link?


Yeah, unfortunately that was the only way I could get it to execute both commands (Tell + kick).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DVGFX2 By: Matt
Translated by MaĆ«l Soucaze © 2009 phpBB.fr