3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-17 17:39:43 +01:00
Commit Graph

127 Commits

Author SHA1 Message Date
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
Pragmatic Software
40aa37bc7c
Plugin/Wordle: Wordle improvements
- refactor `wordlists` into structure with more details
  - added `name` field for language names
  - added `prompt` field for localized "Guess the word!" prompt
  - added `supp` field for supplemental wordlists
    (used to add words to list for guessing, e.g. urban with insane supplement
    allows initial word selection from urban list and then adds words from
    insane list for more options for guessing)
  - moved accents into added `accents` field
  - added `min_length` and `max_length` fields for lists that are different
    from default lengths
- misc minor adjustments
2024-04-29 03:15:05 -07:00
Pragmatic Software
5d3f188a09
Multiple bugfixes
* obtain bot nick from connection details instead of registry where appropriate

* irc.random_nick works again

* record own hostmask when connecting

* fix web-paste truncation by subtracting length of own hostmask from message length

* set irc.max_msg_len back to 510

* updated IRC numeric 378 to whoishost

* add sprunge.us to WebPaste
2024-04-07 20:55:04 -07:00
Pragmatic Software
94b7706358
Plugin/Wordle: add Urban Dictionary words (filtered to >100 thumbs-up, no excessive consecutive letters, etc) 2024-04-07 17:20:59 -07:00
Pragmatic Software
5c185486e8
Plugin/Wordle: removed unidecode normalization; added Finnish 2024-03-17 21:08:50 -07:00
Pragmatic Software
51fb92bc39
Plugin/Wordle: add Polish wordlist 2024-03-17 18:39:09 -07:00
Pragmatic Software
753773f06b
Plugin/Wordle: add accented words and German nouns
Accented words will be unidecoded to Latin letters so letter list remains A-Z.

German words will include proper nouns since I had no easy way to distinguish
them from regular nouns.
2024-03-16 17:29:09 -07:00
Pragmatic Software
348465b034
data/commands: add preserve_whitespace to wordle
Plugin/Wordle: remove debug message
2024-03-16 16:31:29 -07:00
Pragmatic Software
bde06990fe
Plugin/Wordle: colorize ouput and add wordlists 2024-03-16 16:14:07 -07:00
Pragmatic Software
5d3507421e
Plugin/Wordle: fix not detecting duplicate letters 2024-03-09 20:29:25 -08:00
Pragmatic Software
26a2b36122
Plugin/UrlTitles: improve logic of show_url_titles 2024-03-09 19:37:17 -08:00
Pragmatic Software
ca7670da3d
Plugin/Wordle: add letters subcommand to display good/unknown letters 2024-03-09 15:42:59 -08:00
Pragmatic Software
fa29212bc3
Plugin/Wordle: add ability to start custom Wordles 2024-03-07 15:59:46 -08:00
Pragmatic Software
e251ccb7a1
Plugin/Wordle: misc improvements:
* remove initial "? ? ? ? ?" text after first guess
* show count of guesses when solved
* remove "Wordle: " text
2024-03-07 10:20:53 -08:00
Pragmatic Software
d8a67ae0c5
Plugin/Wordle: silence uninitialized warning 2024-03-07 09:09:59 -08:00
Pragmatic Software
440a72c71e
Plugin/Wordle: minor refactor 2024-03-07 08:59:41 -08:00
Pragmatic Software
435faaa18c
Add Wordle plugin; update games section of README 2024-03-07 03:17:07 -08:00
Pragmatic Software
7d3cd3f215
Plugin/Spinach: fix subroutine signatures 2024-03-06 15:07:09 -08:00
Pragmatic Software
1cb6a114b8
Plugin/Battleship: fix bomb input constraints
Players who have been removed or have lost can no longer attack.

Fix attack range checks.
2024-03-05 22:00:55 -08:00
Pragmatic Software
4b5e3d0d41
Plugin/Battleship: fix show_battlefield() sub signature 2024-03-05 21:01:32 -08:00
Pragmatic Software
d4880854db
Plugin/WordMorph: add search subcommand to find words by regex 2024-02-22 18:56:52 -08:00
Pragmatic Software
eb5b1540d5
Plugins/WordMorph: custom optionally accepts number of steps instead of second word 2024-01-26 19:01:42 -08:00