3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-10-14 15:07:22 +02:00

148 Commits

Author SHA1 Message Date
Pragmatic Software
7f2736a604
Plugin/FuncBuiltins: add length function 2025-10-05 06:34:04 -07:00
Pragmatic Software
091f6b101e
Plugin/Wordle: hard now shows whether hard mode was already enabled/disabled 2025-09-14 07:57:45 -07:00
Pragmatic Software
2011275f27
Quotegrabs/Storage: remove unused import 2025-09-04 10:30:31 -07:00
Pragmatic Software
0fb4cd7fa7
Plugin/ActionTrigger: enable triggering on bot messages 2025-09-04 10:29:29 -07:00
Pragmatic Software
6147a5afc7
Plugin/Wordle: add solved duration 2025-09-04 10:26:53 -07:00
Pragmatic Software
3d7a98b611
Plugin/AntiHello: remove initial ban warning 2025-09-04 10:26:02 -07:00
Pragmatic Software
cff8d5fe70
Plugin/Wordle: display hard-mode status in info 2025-07-19 08:55:21 -07:00
Pragmatic Software
4525cb95d1
Plugin/Worlde: track nonword and invalid guesses 2025-07-08 22:41:19 -07:00
ilmari-lauhakangas
fa36d8c480
FuncBuiltins: fix maybe-on usage instructions (#76) 2025-07-02 15:58:20 -07:00
Pragmatic Software
30ac705d99
Plugin/Wordle: fix hard mode minimum letter requirements; test hard mode validation before word existence check; replace "is not" with "can't be" 2025-07-02 14:45:25 -07:00
Pragmatic Software
b61dbe17c6
Plugin/Wordle: add toggleable hard mode 2025-06-26 23:21:48 -07:00
Pragmatic Software
80bc79cfbc
Plugin/Wordle: always have last word/guess in info 2024-11-27 16:51:02 -08:00
Pragmatic Software
6ba8776c2c
Plugin/Wordle: keep game state after giveup 2024-11-27 16:15:09 -08:00
Pragmatic Software
917cae2ffb
Plugin/Spinach: fix players exit game on /part and /quit 2024-11-22 03:17:39 -08:00
Pragmatic Software
bea5aa071b
Plugin/Spinach: improve lie count log 2024-11-21 20:28:50 -08:00
Pragmatic Software
947082f2a2
Plugin/ActionTrigger: don't handle events already processed by another command 2024-11-21 16:05:44 -08:00
Pragmatic Software
5bca8c7d16
Plugin/Spinach: Improvements 2024-11-13 21:43:22 -08:00
Pragmatic Software
343dbae57e
Plugin/Spinach: add help text; minor clean-ups 2024-11-10 18:39:14 -08:00
Pragmatic Software
72ac68fb02
Plugin/Spinach: rounds/questions/bonus rounds now configurable via settings
The number of rounds, questions and bonus rounds are now all configurable via
`spinach set settings`.

Refactored states to not transition of a false value is returned, to eliminate
all explicit "wait" states.
2024-11-09 20:54:10 -08:00
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
Pragmatic Software
e325138249
Plugin/Spinach: correct round1q3 state transition 2024-11-07 19:46:30 -08:00
Pragmatic Software
54ef6b14ce
Plugin/Date: use existing context when launching date applet
This preserves the pipe/cmd-substitution/etc to allow post-processing
of the `date` output.

Interpreter: Reset `interpreted` contextual metadata when handling
result to allow recursion for continued command processing.
2024-11-05 23:57:48 -08:00
Pragmatic Software
a71f29be1a
FuncBuiltins: add maybe-on 2024-11-05 02:13:39 -08:00
Pragmatic Software
ead34c81c9
Plugin/FuncBuiltins: add maybe-to 2024-11-04 01:53:41 -08:00
Pragmatic Software
1f232a9455
Applets: Add $context->{interpreted} to exit interpreter loop 2024-11-03 19:22:45 -08:00
Pragmatic Software
29f1fa0c4b
Plugin/AntiHello: update regex 2024-11-03 19:17:58 -08:00
Pragmatic Software
2182b26bfd
FuncBuiltins: add shquote and quotemeta 2024-11-02 19:13:34 -07:00
Pragmatic Software
e234446afd
Plugin/Wordle: change "guesses attempted" to "guesses" 2024-11-02 17:59:07 -07:00
Pragmatic Software
c6f6823df9
Fix misc white-spacing issues
* func sed no longer trims leading whitespace
* quoted text no longer trims leading whitespace
* no longer convert tabs to spaces in output
* no longer condense adjacent whitespace together in output
2024-11-02 17:57:19 -07:00
Pragmatic Software
f680439d47
Plugin/Wordle: add guesses subcommand 2024-10-31 00:55:31 -07:00
Pragmatic Software
f2068a4baf
Plugin/AntiHello: update regex 2024-10-25 17:51:16 -07:00
Pragmatic Software
2c7dcafba5
Plugin/AntiHello: save offense counters to storage 2024-10-25 16:01:08 -07:00
Pragmatic Software
abdb88c7b3
Plugin/Wordle: add solved-by to info and guess 2024-10-23 11:59:03 -07:00
Pragmatic Software
71a4c4c331
Plugin/Wordle: add info command; minor tweak to start error-handling 2024-10-15 11:54:32 -07:00
Pragmatic Software
d29a60978e
Plugin/Battleship: improve ship placement
Same-player ships will no longer be aligned end-to-end in the same orientation
to appear like one long ship.

There will no longer always be an even amount of horizontal and vertical ships
for each player.
2024-10-06 01:34:04 -07:00
Pragmatic Software
a2b5162290
Plugin/Battleship: perform attacks in command-order instead of player-order 2024-10-05 14:19:05 -07:00
Pragmatic Software
fcaa2d3044
Plugin/Wordle: add missing Italian words and vowel; fix German translation 2024-09-22 17:05:46 -07:00
Pragmatic Software
002f7a23d1
Plugin/AntiHello: always send private message warning 2024-09-08 17:17:47 -07:00
Pragmatic Software
1b9e482396
Plugin/Wordle: refactor how wordlist is (not) reloaded 2024-08-13 00:07:13 -07:00
Pragmatic Software
ac8753f962
Plugin/Wordle: do not reload words from disk until wordlist changes; add british and urban to supp for English lists 2024-08-12 12:43:20 -07:00
Pragmatic Software
b31aa7a816
AntiAway/AntiHello: added "2nd offense" text to warning kick message 2024-08-10 14:02:58 -07:00
Pragmatic Software
de42067e28
Plugin/AntiHello: update greeting regex 2024-08-07 15:51:01 -07:00
Pragmatic Software
1986da2a4b
Plugin/AntiHello: update greeting regex 2024-08-07 15:29:17 -07:00
Pragmatic Software
dd4be2184c
Add Plugins/AntiHello to warn about stand-alone greetings in large channels 2024-08-07 14:48:05 -07:00
Pragmatic Software
e96e48562c
Plugin/WordMorph: improve start message 2024-08-03 00:00:07 -07:00
Pragmatic Software
58303f6b97
Plugin/AntiAway: unregister irc.public when unloading 2024-07-23 11:38:16 -07:00
Pragmatic Software
4cf8583a1e
Plugin/AntiAway: improve logic of temp-ban warning 2024-07-22 13:56:44 -07:00
Pragmatic Software
a0a61ff0d5
Plugin/AntiAway: monitor PRIVMSG for away nicks 2024-07-22 13:47:30 -07:00
Pragmatic Software
dfd56aed57
Plugin/AntiRepeat: increase min length to allow "thanks"/"thank you" 2024-06-28 18:51:37 -07:00
Pragmatic Software
c6e1da1706
Plugin/Wordle: preserve correct letters in list; add american-uncommon 2024-05-16 13:33:10 -07:00