Difference between revisions of "Znccommands"
Jump to navigation
Jump to search
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Client Commands == | |||
Commands are given to ZNC by messaging the virtual user *status. Likewise, modules are communicated to by messaging *modname as well. Alternatively you can use /znc command instead of /msg *status command and /znc *module-name command or /msg *module-name command. | |||
All the module has help options so after loading a module you can just user /msg *module-name help or /znc *module-name help. | |||
<!--T:1--> | <!--T:1--> | ||
{| class="wikitable" | {| class="wikitable" | ||
!Command | !Command | ||
!Arguments | !Arguments | ||
!Description | !Description | ||
|- | |- | ||
!Version | !Version | ||
| | | | ||
|Prints which version of znc this is | |Prints which version of znc this is | ||
|- | |- | ||
!ListDCCs | |||
!ListDCCs |List all active DCCs | | | ||
|List all active DCCs | |||
!ListMods | |- | ||
!ListAvailMods |List all available modules | !ListMods | ||
!ListChans |List all channels | | | ||
ListNicks <#chan> List all nicks on a channel | |List all loaded modules | ||
ListServers List all servers | |- | ||
AddServer <host> [[+]port] [pass] Add a server to the list | !ListAvailMods | ||
| | |||
Enablechan <#chan> Enable the channel | |List all available modules | ||
Detach <#chan> Detach from the channel | |- | ||
Topics Show topics in all channels | !ListChans | ||
PlayBuffer <#chan> Play back the buffer for a given channel | | | ||
ClearBuffer <#chan> Clear the buffer for a given channel | |List all channels | ||
ClearAllChannelBuffers Clear the channel buffers | |- | ||
SetBuffer <#chan> [linecount] Set the buffer count for a channel | !ListNicks | ||
SetVHost <vhost (ip preferred)> Set the VHost for this connection | |<#chan> | ||
ClearVHost Clear the VHost for this connection | |List all nicks on a channel | ||
Jump Jump to the next server in the list | |- | ||
Disconnect Disconnect from IRC | !ListServers | ||
Connect Reconnect to IRC | | | ||
Send <nick> <file> Send a shell file to a nick on IRC | |List all servers | ||
Get <file> Send a shell file to yourself | |- | ||
LoadMod <module> Load a module | !AddServer | ||
UnloadMod <module> Unload a module | |<host> [[+]port] [pass] | ||
ReloadMod <module> Reload a module | |Add a server to the list | ||
ShowMOTD Show the message of the day | |- | ||
SetMOTD <Message> Set the message of the day | !Remove Server | ||
AddMOTD <Message> Append <Message> to MOTD | |<host> | ||
ClearMOTD Clear the MOTD | |Remove a server from the list | ||
Rehash Reload znc.conf from disk | |- | ||
SaveConfig Save the current settings to disk | !Enablechan | ||
ListUsers List all users/clients connected to znc | |<#chan> | ||
ListClients [User] List all clients connected to your znc user | |Enable the channel | ||
Traffic Show basic traffic stats for all znc users | |- | ||
Uptime Show how long ZNC is already running | !Detach | ||
Broadcast [message] Broadcast a message to all users | |<#chan> | ||
|Detach from the channel | |||
|- | |||
!Topics | |||
| | |||
|Show topics in all channels | |||
|- | |||
!PlayBuffer | |||
|<#chan> | |||
|Play back the buffer for a given channel | |||
|- | |||
!ClearBuffer | |||
|<#chan> | |||
|Clear the buffer for a given channel | |||
|- | |||
!ClearAllChannelBuffers | |||
| | |||
|Clear the channel buffers | |||
|- | |||
!SetBuffer | |||
|<#chan> [linecount] | |||
|Set the buffer count for a channel | |||
|- | |||
!SetVHost | |||
|<vhost (ip preferred)> | |||
|Set the VHost for this connection | |||
|- | |||
!ClearVHost | |||
| | |||
|Clear the VHost for this connection | |||
|- | |||
!Jump | |||
| | |||
|Jump to the next server in the list | |||
|- | |||
!Disconnect | |||
| | |||
|Disconnect from IRC | |||
|- | |||
!Connect | |||
| | |||
|Reconnect to IRC | |||
|- | |||
!Send | |||
|<nick> <file> | |||
|Send a shell file to a nick on IRC | |||
|- | |||
!Get | |||
|<file> | |||
|Send a shell file to yourself | |||
|- | |||
!LoadMod | |||
|<module> | |||
|Load a module | |||
|- | |||
!UnloadMod | |||
|<module> | |||
|Unload a module | |||
|- | |||
!ReloadMod | |||
|<module> | |||
|Reload a module | |||
|- | |||
!ShowMOTD | |||
| | |||
|Show the message of the day | |||
|- | |||
!SetMOTD | |||
|<Message> | |||
|Set the message of the day | |||
|- | |||
!AddMOTD | |||
|<Message> | |||
|Append <Message> to MOTD | |||
|- | |||
!ClearMOTD | |||
| | |||
|Clear the MOTD | |||
|- | |||
!Rehash | |||
| | |||
|Reload znc.conf from disk | |||
|- | |||
!SaveConfig | |||
| | |||
|Save the current settings to disk | |||
|- | |||
!ListUsers | |||
| | |||
|List all users/clients connected to znc | |||
|- | |||
!ListClients | |||
|[User] | |||
|List all clients connected to your znc user | |||
|- | |||
!Traffic | |||
| | |||
|Show basic traffic stats for all znc users | |||
|- | |||
!Uptime | |||
| | |||
|Show how long ZNC is already running | |||
|- | |||
!Broadcast | |||
|[message] | |||
|Broadcast a message to all users | |||
|- | |||
|} | |} |
Latest revision as of 04:49, 18 March 2022
Client Commands[edit | edit source]
Commands are given to ZNC by messaging the virtual user *status. Likewise, modules are communicated to by messaging *modname as well. Alternatively you can use /znc command instead of /msg *status command and /znc *module-name command or /msg *module-name command.
All the module has help options so after loading a module you can just user /msg *module-name help or /znc *module-name help.
Command | Arguments | Description |
---|---|---|
Version | Prints which version of znc this is | |
ListDCCs | List all active DCCs | |
ListMods | List all loaded modules | |
ListAvailMods | List all available modules | |
ListChans | List all channels | |
ListNicks | <#chan> | List all nicks on a channel |
ListServers | List all servers | |
AddServer | <host> [[+]port] [pass] | Add a server to the list |
Remove Server | <host> | Remove a server from the list |
Enablechan | <#chan> | Enable the channel |
Detach | <#chan> | Detach from the channel |
Topics | Show topics in all channels | |
PlayBuffer | <#chan> | Play back the buffer for a given channel |
ClearBuffer | <#chan> | Clear the buffer for a given channel |
ClearAllChannelBuffers | Clear the channel buffers | |
SetBuffer | <#chan> [linecount] | Set the buffer count for a channel |
SetVHost | <vhost (ip preferred)> | Set the VHost for this connection |
ClearVHost | Clear the VHost for this connection | |
Jump | Jump to the next server in the list | |
Disconnect | Disconnect from IRC | |
Connect | Reconnect to IRC | |
Send | <nick> <file> | Send a shell file to a nick on IRC |
Get | <file> | Send a shell file to yourself |
LoadMod | <module> | Load a module |
UnloadMod | <module> | Unload a module |
ReloadMod | <module> | Reload a module |
ShowMOTD | Show the message of the day | |
SetMOTD | <Message> | Set the message of the day |
AddMOTD | <Message> | Append <Message> to MOTD |
ClearMOTD | Clear the MOTD | |
Rehash | Reload znc.conf from disk | |
SaveConfig | Save the current settings to disk | |
ListUsers | List all users/clients connected to znc | |
ListClients | [User] | List all clients connected to your znc user |
Traffic | Show basic traffic stats for all znc users | |
Uptime | Show how long ZNC is already running | |
Broadcast | [message] | Broadcast a message to all users |