mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 04:19:27 +01:00
Plugins/ActionTrigger: improve kick example's kick message
This commit is contained in:
parent
059dc26488
commit
31a5a0f879
@ -13,7 +13,7 @@ package Plugins::ActionTrigger;
|
|||||||
# actiontrigger add #channel 0 0 ^(?i)([^!]+)![^\s]+.JOIN echo Hi $1, welcome to $channel!
|
# actiontrigger add #channel 0 0 ^(?i)([^!]+)![^\s]+.JOIN echo Hi $1, welcome to $channel!
|
||||||
#
|
#
|
||||||
# Kick a nick if they say a naughty thing.
|
# Kick a nick if they say a naughty thing.
|
||||||
# actiontrigger add global 10 0 "^(?i)([^!]+)![^\s]+.PRIVMSG.*bad phrase" kick $1 That's a naughty word!
|
# actiontrigger add global 10 0 "^(?i)([^!]+)![^\s]+.PRIVMSG.*bad phrase" kick $1 Do you talk to your mother with that mouth?
|
||||||
#
|
#
|
||||||
# Say something when a keyword is seen, but only once every 5 minutes:
|
# Say something when a keyword is seen, but only once every 5 minutes:
|
||||||
# actiontrigger add global 0 300 "some phrase" echo Something!
|
# actiontrigger add global 0 300 "some phrase" echo Something!
|
||||||
|
Loading…
Reference in New Issue
Block a user