3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-17 09:29:30 +01:00
pbot/lib/PBot/Plugin
Pragmatic Software 22771fabf6
Plugin/Spinach: massive refactor
Refactored ridiculous large per-round/per-question state transitions and
subroutines into a much more manageable and simpler state machine.

Now can easily and trivially adjust maximum rounds and maximum questions
by editing $self->{game} hashtable entries. TODO: make this configurable
via `spinach set`.

Replaced "/msg me" with "/msg $botnick" throughout.

Adjusted lie validation:

  * If all words of lie are found within solution and word-count of lie is
    less than word-count of solution, then game will say "So-and-so has found
    part of the truth!"

  * If lie is 20%-or-less different to the solution, then game will say
    "So-and-so has misspelled the truth!"
2024-11-08 23:29:52 -08:00
..
Quotegrabs/Storage Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
Spinach Plugin/Spinach: fix subroutine signatures 2024-03-06 15:07:09 -08:00
ActionTrigger.pm Plugin/ActionTrigger: handle QUIT triggers per-channel 2023-07-19 00:23:54 -07:00
AntiAway.pm AntiAway/AntiHello: added "2nd offense" text to warning kick message 2024-08-10 14:02:58 -07:00
AntiHello.pm Plugin/AntiHello: update regex 2024-11-03 19:17:58 -08:00
AntiKickAutoRejoin.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
AntiNickSpam.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
AntiRepeat.pm Plugin/AntiRepeat: increase min length to allow "thanks"/"thank you" 2024-06-28 18:51:37 -07:00
AntiTwitter.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
AutoRejoin.pm Multiple bugfixes 2024-04-07 20:55:04 -07:00
Base.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
Battleship.pm Plugin/Battleship: improve ship placement 2024-10-06 01:34:04 -07:00
Connect4.pm Plugin/Connect4: make send_message() delay argument optional 2023-09-28 13:28:23 -07:00
Counter.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
Date.pm Plugin/Date: use existing context when launching date applet 2024-11-05 23:57:48 -08:00
Example.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
FuncBuiltins.pm FuncBuiltins: add maybe-on 2024-11-05 02:13:39 -08:00
FuncGrep.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
FuncPlural.pm Update plugins to use subroutine signatures 2023-04-13 17:08:27 -07:00
FuncSed.pm Fix misc white-spacing issues 2024-11-02 17:57:19 -07:00
GetUrl.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
GoogleSearch.pm Update plugins to use subroutine signatures 2023-04-13 17:08:27 -07:00
ParseDate.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
Plang.pm Plugin/Plang: update output_value() to accept scope argument 2023-11-09 20:42:20 -08:00
Quotegrabs.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
RelayUnreg.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
RemindMe.pm Fix inconsistent argument 2023-04-17 13:04:10 -07:00
RestrictedMod.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
RunCommand.pm Plugin/RunCommand: fix subroutine argument 2023-05-05 12:28:36 -07:00
Spinach.pm Plugin/Spinach: massive refactor 2024-11-08 23:29:52 -08:00
TypoSub.pm Multiple bugfixes 2024-04-07 20:55:04 -07:00
UrlTitles.pm Plugin/UrlTitles: improve logic of show_url_titles 2024-03-09 19:37:17 -08:00
Weather.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
Wolfram.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
Wordle.pm Plugin/Wordle: change "guesses attempted" to "guesses" 2024-11-02 17:59:07 -07:00
WordMorph.pm Plugin/WordMorph: improve start message 2024-08-03 00:00:07 -07:00
Wttr.pm Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00