4 84c190b6 2021-12-17 jrmu putserv BOT TEXT
6 84c190b6 2021-12-17 jrmu Sends text to the IRC server. Returns nothing.
11 84c190b6 2021-12-17 jrmu bind TYPE FLAGS MASK PROC
13 84c190b6 2021-12-17 jrmu Binds perl procedures to events. Currently flags and mask are ignored. Returns the name of the command that was added.
17 84c190b6 2021-12-17 jrmu bind "MSG" FLAGS COMMAND PROC
18 84c190b6 2021-12-17 jrmu procname BOT NICK USERHOST HANDLE TEXT
20 84c190b6 2021-12-17 jrmu Called on /msg commands. The first word of the msg is the command, and the rest
23 84c190b6 2021-12-17 jrmu bind("msg", "", "admin", $proc);
25 84c190b6 2021-12-17 jrmu my ($bot, $nick, $userhost, $hand, $text) = @_;
31 84c190b6 2021-12-17 jrmu bind "PUB" FLAGS COMMAND PROC
32 84c190b6 2021-12-17 jrmu procname BOT NICK USERHOST HANDLE CHANNEL TEXT
34 84c190b6 2021-12-17 jrmu bind("pub", "", "help", $proc);
36 84c190b6 2021-12-17 jrmu my ($bot, $nick, $userhost, $hand, $chan, $text) = @_;
40 84c190b6 2021-12-17 jrmu Called on commands in a channel. The first word of the msg is the command, and the rest
43 84c190b6 2021-12-17 jrmu 3. MSGM (stackable)
45 84c190b6 2021-12-17 jrmu bind "MSGM" FLAGS MASK PROC
46 84c190b6 2021-12-17 jrmu procname BOT NICK USERHOST HANDLE TEXT
48 84c190b6 2021-12-17 jrmu bind("msgm", "", "", $proc);
50 84c190b6 2021-12-17 jrmu my ($bot, $nick, $userhost, $hand, $text) = @_;
54 84c190b6 2021-12-17 jrmu Match all text from a /msg. MSGM binds are processed before MSG binds.
56 84c190b6 2021-12-17 jrmu 4. PUBM (stackable)
58 84c190b6 2021-12-17 jrmu bind "PUBM" FLAGS MASK PROC
59 84c190b6 2021-12-17 jrmu procname BOT NICK USERHOST HANDLE CHAN TEXT
61 84c190b6 2021-12-17 jrmu bind("pubm", "", "", $proc);
63 84c190b6 2021-12-17 jrmu my ($bot, $nick, $userhost, $hand, $chan, $text) = @_;
67 84c190b6 2021-12-17 jrmu Match all text from a message on a channel. PUBM binds are processed before PUB binds.
69 84c190b6 2021-12-17 jrmu 5. NOTC (stackable)
71 84c190b6 2021-12-17 jrmu bind "NOTC" FLAGS MASK PROC
72 84c190b6 2021-12-17 jrmu procname BOT NICK USERHOST HANDLE TEXT DEST
74 84c190b6 2021-12-17 jrmu bind("notc", "", "", $proc);
76 84c190b6 2021-12-17 jrmu my ($bot, $nick, $userhost, $hand, $text, $dest) = @_;
80 84c190b6 2021-12-17 jrmu Called when a notice is sent. $dest is either the bot's nickname or channel.
81 84c190b6 2021-12-17 jrmu You should not respond to a /notice, so this is useful for logging and analytics.
83 84c190b6 2021-12-17 jrmu 6. JOIN (stackable)
85 84c190b6 2021-12-17 jrmu bind "JOIN" FLAGS MASK PROC
86 84c190b6 2021-12-17 jrmu procname BOT NICK USERHOST HANDLE CHANNEL
88 84c190b6 2021-12-17 jrmu bind("join", "", "", $proc);
90 84c190b6 2021-12-17 jrmu my ($bot, $nick, $userhost, $hand, $chan) = @_;
94 84c190b6 2021-12-17 jrmu Called when someone joins a channel.
96 84c190b6 2021-12-17 jrmu 7. PART (stackable)
98 84c190b6 2021-12-17 jrmu bind "PART" FLAGS MASK PROC
99 84c190b6 2021-12-17 jrmu procname BOT NICK USERHOST HANDLE CHANNEL TEXT
101 84c190b6 2021-12-17 jrmu bind("part", "", "", $proc);
103 84c190b6 2021-12-17 jrmu my ($bot, $nick, $userhost, $hand, $chan, $text) = @_;
107 84c190b6 2021-12-17 jrmu Called when someone parts a channel.