3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-29 14:12:37 +01:00
Commit Graph

2786 Commits

Author SHA1 Message Date
Pragmatic Software
13cb0f9dc6 Factoids: sorting unnecessary for weighted selection 2020-06-17 02:24:46 -07:00
Pragmatic Software
a2c918c94e Factoids: remove unnecessary statement 2020-06-16 21:29:47 -07:00
Pragmatic Software
cbfcab6d77 Update version 2020-06-16 21:26:11 -07:00
Pragmatic Software
914e844f11 Factoids: add weighted list selection; factadd list a:weight(1) b:weight(2) 2020-06-16 21:26:09 -07:00
Pragmatic Software
ed4a36e025 Update version 2020-06-14 22:34:28 -07:00
Pragmatic Software
0b94ada897 Factoids: fix issue where pick_unique() could repeat a selection 2020-06-14 22:34:24 -07:00
Pragmatic Software
f71eb269cb Update version 2020-06-13 13:22:48 -07:00
Pragmatic Software
a412c98ea9 BanList: ensure !ban/!mute mask is wildcard-complete when appropriate 2020-06-13 13:22:44 -07:00
Pragmatic Software
c952a84d82 Update version 2020-06-12 19:53:46 -07:00
Pragmatic Software
1f3a12fcf6 BanList: overwrite timeout when updating ban/mute 2020-06-12 19:53:43 -07:00
Pragmatic Software
9efe5ad9ab Update version 2020-06-12 18:57:29 -07:00
Pragmatic Software
b3ca5e69cd Factoids: expand_factoid_vars(): special-case Perl's $a and $b, etc 2020-06-12 18:57:01 -07:00
Pragmatic Software
85d887ff5c Update version 2020-06-12 12:05:29 -07:00
Pragmatic Software
eb9b18cf37 Factoids: fix potential infinite recursion in $var expansion 2020-06-12 12:05:25 -07:00
Pragmatic Software
9b0696b898 Factoids: minor style clean-up 2020-06-12 01:53:25 -07:00
Pragmatic Software
287d102aed Update version 2020-06-12 01:37:58 -07:00
Pragmatic Software
1d98efe9b0 Factoids: expand_factoid_vars(): support multi-line text 2020-06-12 01:37:55 -07:00
Pragmatic Software
407cb7bbaa Update version 2020-06-12 00:02:35 -07:00
Pragmatic Software
ead2d5d55f Factoids: correct recursive $var expansion 2020-06-12 00:02:32 -07:00
Pragmatic Software
0191a2914b Update version 2020-06-11 23:34:56 -07:00
Pragmatic Software
90b23d5391 Factoids: Fix typo and edge case 2020-06-11 23:34:53 -07:00
Pragmatic Software
c95afe65bc Update version 2020-06-11 23:03:20 -07:00
Pragmatic Software
d81482a5c5 Factoids: restore select_indefinite_article to $variable expansion 2020-06-11 23:03:14 -07:00
Pragmatic Software
fb461b6773 Update version 2020-06-11 22:51:43 -07:00
Pragmatic Software
78de682320 Factoids: refactor and improve $variable parsing and replacement 2020-06-11 22:51:40 -07:00
Pragmatic Software
9ec2622183 Ensure params to track_mode are defined 2020-06-11 19:30:07 -07:00
Pragmatic Software
71ae499dfa Update version 2020-06-10 23:41:51 -07:00
Pragmatic Software
af7573a20a Factoids: Selectors now fix leading indefinite articles; i.e. a %(orange) -> an orange 2020-06-10 23:06:08 -07:00
Pragmatic Software
3aab402e10 Update version 2020-06-07 15:22:55 -07:00
Pragmatic Software
5676d6f13b Factoids: improve nested selectors 2020-06-07 15:22:48 -07:00
Pragmatic Software
b0789099df Update version 2020-06-07 00:12:20 -07:00
Pragmatic Software
ef072602fa Factoids: test enabled for definedness 2020-06-07 00:12:09 -07:00
Pragmatic Software
a40b443c66 Factoids: improve nested Selectors such that %(%(f|b)oo):pick_unique(2) -> foo boo 2020-06-07 00:07:52 -07:00
Pragmatic Software
e88a18e782 Update version 2020-06-05 15:23:18 -07:00
Pragmatic Software
6e4ea442db FactoidCommands: fix another case-sensitivity location 2020-06-05 15:23:16 -07:00
Pragmatic Software
8d0d2bcb21 Update version 2020-06-05 15:12:55 -07:00
Pragmatic Software
041646676f FactoidCommands: fix a couple of minor issues 2020-06-05 15:12:52 -07:00
Pragmatic Software
0afbed1380 Update version 2020-06-05 14:56:59 -07:00
Pragmatic Software
87d7b7bbaf MessageHistory: fix typo 2020-06-05 14:56:53 -07:00
Pragmatic Software
b609077671 Update version 2020-06-05 14:50:37 -07:00
Pragmatic Software
8aabfe96bb Factoidcommands: fix case-sensitivity issue with channel name 2020-06-05 14:50:33 -07:00
Pragmatic Software
2617b2a844 Update version 2020-06-05 14:32:42 -07:00
Pragmatic Software
e0f4e9cdd5 MessageHistory: recall: -h and -t separated into distinct flags; -t no longer does integral indexing 2020-06-05 14:32:37 -07:00
Pragmatic Software
95ec0201ed Update version 2020-06-04 02:28:15 -07:00
Pragmatic Software
03fb043ec6 Factoids: significantly improve expansion modifier parsing 2020-06-04 02:28:11 -07:00
Pragmatic Software
32e25a1c61 Interpreter: improve split_line (add strip_commas) and split_args (fix whitespace separator issue) 2020-06-04 02:10:24 -07:00
Pragmatic Software
e63e425622 Update version 2020-06-03 20:47:20 -07:00
Pragmatic Software
20febe7ccd Factoids: add quick-and-dirty early version of :join() modifier with many broken edge cases 2020-06-03 20:47:18 -07:00
Pragmatic Software
128c3014c7 Factoids: Selectors can now be nested within each other 2020-06-03 20:11:41 -07:00
Pragmatic Software
fd6a124009 Update version 2020-06-02 22:41:22 -07:00
Pragmatic Software
5e574624b4 Factoids: Remove debug statement 2020-06-02 22:41:19 -07:00
Pragmatic Software
62b50861cb Update version 2020-06-02 22:25:12 -07:00
Pragmatic Software
a3a7319497 Factoids: add %(a|b|c) syntax to select a random item 2020-06-02 22:25:09 -07:00
Pragmatic Software
4b1c36bca2 Update version 2020-06-01 21:48:23 -07:00
Pragmatic Software
4d87fa1682 PBot: fix reload blacklist 2020-06-01 21:48:17 -07:00
Pragmatic Software
eb09de1da4 Update version 2020-05-31 17:14:06 -07:00
Pragmatic Software
76dcc0a8ee MessageHistory: allow recalling multiple messages in-channel again 2020-05-31 17:14:03 -07:00
Pragmatic Software
675d03fe73 Update version 2020-05-31 15:32:59 -07:00
Pragmatic Software
0692f2614a Interpreter: support give nick cmd [args] command 2020-05-31 15:32:56 -07:00
Pragmatic Software
158b13006c Factoids: minor whitespace reformatting 2020-05-31 15:32:05 -07:00
Pragmatic Software
141230b78b Update version 2020-05-31 02:39:36 -07:00
Pragmatic Software
91b7fa8558 BanList: add banlist.mute_mode_char registry setting to configure MODE character used for muting 2020-05-31 02:39:33 -07:00
Pragmatic Software
273b87e52a Update version 2020-05-30 23:18:54 -07:00
Pragmatic Software
4d888729e5 ChanOpCommands: fix "Can't locate object method 'mode'" error 2020-05-30 23:18:49 -07:00
Pragmatic Software
54b5cdeba6 Update version 2020-05-30 02:47:10 -07:00
Pragmatic Software
945b81f12d Factoids: properly set range for pick $variable modifier 2020-05-30 02:47:08 -07:00
Pragmatic Software
b8ec975f67 Update version 2020-05-30 01:29:02 -07:00
Pragmatic Software
0a4ef4eb40 Factoids: change sort+/sort- to +sort/-sort in $var modifier 2020-05-30 01:28:59 -07:00
Pragmatic Software
f5ca8324b5 Update version 2020-05-30 01:03:09 -07:00
Pragmatic Software
2e3fed5bae Factoids: more improvements to $variable expansion:
* removed debug code
* index() with a negative value will index from tail end
* improved handling of trailing modifier punctuation
2020-05-30 01:03:07 -07:00
Pragmatic Software
03b3a0a519 Update version 2020-05-29 23:05:55 -07:00
Pragmatic Software
6f9170ecbc Factoids: improvements to $var modifiers 2020-05-29 23:05:51 -07:00
Pragmatic Software
9ed88800cf Update version 2020-05-29 22:34:32 -07:00
Pragmatic Software
76863dea5c Factoids: strip quotes from pick() $var modifier 2020-05-29 22:34:29 -07:00
Pragmatic Software
6a94dc6651 Update version 2020-05-29 22:22:25 -07:00
Pragmatic Software
9a165a129c Factoids: fix index() $var modifier 2020-05-29 22:22:22 -07:00
Pragmatic Software
a50751ef4e Update version 2020-05-29 22:18:11 -07:00
Pragmatic Software
669bf7460c Factoids: add more :modifiers to $var expansion: index(x), pick(x, y), enumerate, etc 2020-05-29 22:18:07 -07:00
Pragmatic Software
8985620970 Update version 2020-05-29 20:49:59 -07:00
Pragmatic Software
52f183deae Registerable: add register_front method to register to head of list 2020-05-29 20:49:24 -07:00
Pragmatic Software
c9be31a9c0 PBot: fix execute_and_dequeue atexit 2020-05-29 20:48:53 -07:00
Pragmatic Software
b57fea8120 Factoids: fix export errors upon exit by correcting atexit registration order 2020-05-29 20:43:07 -07:00
Pragmatic Software
75eac99ea1 PBot: strip trailing directory separator from directory command-line overrides 2020-05-29 18:57:22 -07:00
Pragmatic Software
159124cbe9 Channels: fix chanrem 2020-05-29 18:25:55 -07:00
Pragmatic Software
d170b6b1ec Update version 2020-05-29 18:19:45 -07:00
Pragmatic Software
cd665619ee AntiFlood: devoice +v users when banning 2020-05-29 18:19:42 -07:00
Pragmatic Software
50e000923a Update version 2020-05-29 18:10:57 -07:00
Pragmatic Software
f8b6cee54e AntiFlood: check for +v/+o on user when enforcing anti-flood 2020-05-29 18:10:49 -07:00
Pragmatic Software
85e08eee9e PBot: refactor the two argument parsing loops into one loop 2020-05-26 19:21:11 -07:00
Pragmatic Software
bd38b53288 Update version 2020-05-21 19:57:15 -07:00
Pragmatic Software
8f024aa140 Commands: do not expand variables for commands with dont-replace-pronouns, in order to preserve expected behavior 2020-05-21 19:57:11 -07:00
Pragmatic Software
395f13020b Update version 2020-05-21 19:38:08 -07:00
Pragmatic Software
0ac20aa4b1 Commands: fix some cases in which $args would not expand 2020-05-21 19:38:05 -07:00
Pragmatic Software
0f377d4497 Update version 2020-05-21 19:25:38 -07:00
Pragmatic Software
beef46f120 Variables such as $0 can now be escaped, e.g. in factset, etc 2020-05-21 19:23:30 -07:00
Pragmatic Software
7e38ee6793 BanList: fix warning about odd elements in anonymous hash 2020-05-18 12:17:04 -07:00
Pragmatic Software
10b4332556 Update version 2020-05-18 10:57:25 -07:00
Pragmatic Software
f293366ad0 MessageHistory: override sort method to seen if -l is specified without -sort 2020-05-18 10:57:23 -07:00
Pragmatic Software
b3a5b57f71 Update version 2020-05-18 09:54:59 -07:00
Pragmatic Software
74e0f9a1ce Plugins: ignore blank lines in plugin_autoload 2020-05-18 09:54:55 -07:00