mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 04:19:27 +01:00
ActionTrigger: improve docs in comment header
This commit is contained in:
parent
38985e1ac7
commit
8094db4f36
@ -1,10 +1,17 @@
|
||||
# File: ActionTrigger.pm
|
||||
#
|
||||
# Purpose: provides interface to set/remove/modify regular expression triggers
|
||||
# to execute a command.
|
||||
# which invoke bot commands when matched against IRC messages.
|
||||
#
|
||||
# Usage: actiontrigger add <#channel or global> <capability> <rate-limit (in seconds)> <regex trigger> <command>
|
||||
#
|
||||
# Note that ActionTrigger does not match on raw IRC lines. It matches on a
|
||||
# simplified message format:
|
||||
#
|
||||
# "<hostmask> <action> <arguments>"
|
||||
#
|
||||
# where <action> can be PRIVMSG, ACTION, KICK, JOIN, PART or QUIT.
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
# Greet a nick when they join the channel:
|
||||
|
Loading…
Reference in New Issue
Block a user