File: UsingCommands.html

package info (click to toggle)
znc 0.045-3%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,120 kB
  • ctags: 2,324
  • sloc: cpp: 17,406; sh: 2,380; perl: 448; makefile: 134
file content (63 lines) | stat: -rw-r--r-- 3,169 bytes parent folder | download | duplicates (2)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="robots" content="index,follow" />
<meta name="language" content="en" />
<title>ZNC - Using Commands</title>
</head>

<body bgcolor="#FFFFFF" text="#000000" alink="#993333" link="#333399" vlink="#666666">
[<a href="index.php">Home</a>]
-
[<a href="http://sourceforge.net/projects/znc">Project Page</a>]

<hr noshade>
<p />
<h2>
 Commands
</h2>
<p>
Commands are given to ZNC by messaging the virtual user *status.  Likewise, modules are communicated to by messaging *modname as well.
</p>
<h3>
 Example: /msg *status listmods
</h3>
<pre>
 &lt;prozac&gt; listmods
 &lt;*status&gt; +---------+------------------------------------------------------+
 &lt;*status&gt; | Name    | Description                                          |
 &lt;*status&gt; +---------+------------------------------------------------------+
 &lt;*status&gt; | email   | Monitors Email activity on local disk /var/mail/user |
 &lt;*status&gt; | shell   | Gives shell access.                                  |
 &lt;*status&gt; | schat   | Secure cross platform (:P) chat system               |
 &lt;*status&gt; +---------+------------------------------------------------------+
</pre>
<p>
The prefix for these virtual users can be changed from * in the znc.conf file.  It is wise to use a character that is illegal to use on IRC so that you don't lose the ability to talk to a real person who happens to be using the same prefix on their IRC nick.
</p>
<h2>
 Command List
</h2>
<pre>
 &lt;zncuser&gt; help
 &lt;*status&gt; +-----------+---------------------+-------------------------------------+
 &lt;*status&gt; | Command   | Arguments           | Description                         |
 &lt;*status&gt; +-----------+---------------------+-------------------------------------+
 &lt;*status&gt; | ListDCCs  |                     | List all active DCCs                |
 &lt;*status&gt; | ListMods  |                     | List all loaded modules             |
 &lt;*status&gt; | ListChans |                     | List all channels                   |
 &lt;*status&gt; | ListNicks | &lt;#chan&gt;             | List all nicks on a channel         |
 &lt;*status&gt; | Topics    |                     | Show topics in all channels         |
 &lt;*status&gt; | SetBuffer | &lt;#chan&gt; [linecount] | Set the buffer count for a channel  |
 &lt;*status&gt; | Jump      |                     | Jump to the next server in the list |
 &lt;*status&gt; | Send      | &lt;nick&gt; &lt;file&gt;       | Send a shell file to a nick on IRC  |
 &lt;*status&gt; | Get       | &lt;file&gt;              | Send a shell file to yourself       |
 &lt;*status&gt; | LoadMod   | &lt;module&gt;            | Load a module                       |
 &lt;*status&gt; | UnloadMod | &lt;module&gt;            | Unload a module                     |
 &lt;*status&gt; | ReloadMod | &lt;module&gt;            | Reload a module                     |
 &lt;*status&gt; +-----------+---------------------+-------------------------------------+
</pre>

</body>
</html>