File: privmsg

package info (click to toggle)
ircd-hybrid 1%3A7.2.2.dfsg.2-3%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,936 kB
  • ctags: 4,575
  • sloc: ansic: 47,664; sh: 6,925; yacc: 3,404; makefile: 957; lex: 505; perl: 3
file content (36 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PRIVMSG <nick1|channel1[,nick2|channel2...]> :message

PRIVMSG will send a standard message to the
user or channel specified.

PRIVMSG supports the following prefixes for sending
messages to specific clients in a channel:

@ - channel operators only
% - channel operators and half-ops
+ - operators, half-ops, and voiced users

Two other targets are permitted:

$$servermask - Send a message to a server or set of
               servers
$#hostmask   - Send a message to users matching the
               hostmask specified.

These two are operator only.

The nick can be extended to fit into the following
syntax:

username[%hostname]@servername

This syntax (without the hostname) is used to securely
send a message to a service or a bot.

An extension of this is the syntax to send to all opers
on a server.

opers@servername

In Hybrid 7, all opers on a server will see a message that
looks like a modified WALLOPS