SimonFlapse
5c5c59c396
Added @ to mention triggers also allowed the prefix as a postfix
...
Avaliable triggers now:
admin moderator @SimonFlapse #SimonFlapse SimonFlapse@ SimonFlapse#
(@SimonFlapse might trigger discord)
2018-11-18 13:26:15 +01:00
SimonFlapse
ed46ed2b5b
Changed how the player not found works for moderators and admins
2018-11-17 14:28:21 +01:00
SimonFlapse
c9b4e596cc
Removed prefix for admin and moderator
2018-11-17 14:22:51 +01:00
SimonFlapse
0541682b1a
Merge branch 'develop' of https://github.com/SimonFlapse/RedMew into Chat-Mention-Fix2
2018-11-17 13:47:33 +01:00
SimonFlapse
d89bac1510
Removed prefix for mentions
...
Add a prefix to avoid mention
2018-11-17 13:46:23 +01:00
Matthew
b24801a8ec
Extend tables library, split on_create and hodor messages from functions ( #357 )
...
* Add table.get_random and table.get_random_weighted
* Rewrite and randomize the messages from on_create
* Split hodor messages resource from function
* Return variable directly instead of adding an extra step
* Change to luadoc
2018-11-17 12:56:03 +01:00
SimonFlapse
dc1cdba17a
Allowing a single character after a mention
...
%S is the opposite of %s (space characters) and the plus sign combines all the characters. Names like der-dave.com should work.
Tested expression using: https://regexr.com/
2018-11-17 11:10:11 +01:00
SimonFlapse
98d8a1ae6f
Fixed chat mentions for MP
2018-11-16 21:32:38 +01:00
SimonFlapse
3e6b0c32c4
Unnested if statement
2018-11-15 16:54:16 +01:00
SimonFlapse
f17f4ea312
Added admin and moderator mentions
2018-11-15 16:46:04 +01:00
SimonFlapse
7a0a945da8
Changed trigger to #, preventing discord mentions
2018-11-15 16:26:40 +01:00
SimonFlapse
948ed4ab1f
Minor text changes and _DEBUG options
2018-11-15 16:03:46 +01:00
SimonFlapse
560cf2575c
Added logic for detecting a @mention in chat
2018-11-15 15:06:03 +01:00
plague006
9c9a9b22f6
Use trigger as table key
2018-11-11 12:12:38 -05:00
plague006
fed64c47c6
Put responses into table
2018-11-11 11:59:04 -05:00
plague006
ec9819e723
Newline to eof
2018-11-11 11:08:05 -05:00
plague006
d45a486cde
Split chat triggers from control
2018-11-10 23:00:33 -05:00