The creator of these plugins has not shown activity in a while. Posting in this board may not result in a fast reply or a reply at all. [ Read the full Support Disclaimer here ]

Pages: [1]   Go Down
  Print  
Author Topic: Chatlogger Quoter  (Read 1649 times) Bookmark and Share
Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: OpenArena
Posts: 258
Offline Offline
« on: August 17, 2010, 05:38:26 AM »

Chatlogger Quoter v0.4.0 (2010-08-21)

Download
Primary : http://www.bigbrotherbot.net/forums/downloads/?sa=view;down=79

Description

This plugin is a companion for the Chatlogger plugin by Courgette.
It takes a random quote and say it, either automatically at the defined frequency, or when user issue a !randomquote or !quote.
You can define a list of words to filter, so quotes containing these words won't be said. You can too avoid quoting censored words you defined in your censor plugin config file.

Useage
Use !quote or !randomquote to show a random quote, or wait for the automatic quoter to say a line.

Changelog
Code:
17/08/2010 - 0.3.0 - GrosBedo
 * !randomquote : say a random quote from the log
 * auto random quote : say a random quote automatically at an interval
 * can customize the quote string format from config
 * filters censored words from random quote (with censor plugin and config)
 * Words filter : can set a list of words to filter from quoting

17/08/2010 - 0.3.1 - GrosBedo
 * separated this plugin from chatlogger
 * fixed a bug in the auto talk frequency
 * added more sample words filter regexp
 * added minlength and maxlength for quotes to be said
 * enhanced random algorithm a lot, now uses sql (so there can't be a void line returned)

20/08/2010 - 0.3.2 - GrosBedo
 * clean the quotes and strip colors before checking for badwords
 * added more regexps

21/08/2010 - 0.4.0 - GrosBedo
 * optimized the algo some more, only one access to the db now
 * fixed a bug in badwords detection
 * avoid duplicates - can now detect and avoid binds (automatic chatlines some people bind to a key)

Chatlogger Quoter has been tested on Chatlogger v0.2.0 and v0.3.1, it may or not work with other versions.

[attachment deleted by maintenance]
« Last Edit: August 21, 2010, 09:21:50 AM by grosbedo » Logged

Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: OpenArena
Posts: 258
Offline Offline
« Reply #1 on: August 19, 2010, 03:01:05 AM »

My custom words filter :

Code: xml
	



Filters b3 commands
![a-z]


^(gj|gg|goodgame)\s*[!?]*


^(lol)((l)?(ol))*


^\W*(:|X|=)(')?(-|=)?(\(|\)|D|p)+


\sh[eoa]*[ij]\s|\sh[ea]+l+o+\s|\sheej?\s|\se+j\s


((good)?b(b|ye)|cya|seey(ou|a))


^((h|j)(a|e|i|o|u))+|((a|e|i|o|u)(h|j)?)+$


^(fine|ok|good|well|sure|true|yes|no|ty|thankyou)$


Filters the automatic game commands about vote and team that get said by error at the end of match
(team|vote)\s*(yes|no|blue|red|spectator|spec|0|1|2)



Avoid camping complaints
((camp)|(camper)|(camping)|(flagcamp)|(flagcamper)|(flagcamping))


Avoid lags complaints
(^ |re|[^du][^enf])((la[g]+[s]*)|(lagin)|(laggin)|(lagging)|(lagger)|(connection))

Logged
Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: OpenArena
Posts: 258
Offline Offline
« Reply #2 on: August 21, 2010, 01:03:37 AM »

New version : v0.3.2, which cleanup the quotes prior to check for bad words (ie: before, coloured smileys would be quoted, now they won't).
Logged
Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: OpenArena
Posts: 258
Offline Offline
« Reply #3 on: August 21, 2010, 09:24:05 AM »

Major update : v0.4.0

Changelog
Code:
21/08/2010 - 0.4.0 - GrosBedo
 * optimized the algo some more, only one access to the db now
 * fixed a bug in badwords detection
 * avoid duplicates - can now detect and avoid binds (automatic chatlines some people bind to a key)

This is probably the last version Ill do of this plugin, I find now the quotes very pertinent and can't see what I could add.
Logged
Tags: quote  automatic  random  chat 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal