Difference between revisions of "Znccommands"

From DarkWorld Network
Jump to navigation Jump to search
Line 42: Line 42:
!Enablechan |<#chan> |Enable the channel
!Enablechan |<#chan> |Enable the channel
|-
|-
Detach <#chan> Detach from the channel
!Detach |<#chan> |Detach from the channel
Topics Show topics in all channels
!Topics |Show topics in all channels
PlayBuffer <#chan> Play back the buffer for a given channel
!PlayBuffer |<#chan> |Play back the buffer for a given channel
ClearBuffer <#chan> Clear the buffer for a given channel
!ClearBuffer |<#chan> |Clear the buffer for a given channel
ClearAllChannelBuffers Clear the channel buffers
!ClearAllChannelBuffers
SetBuffer <#chan> [linecount] Set the buffer count for a channel
|
SetVHost <vhost (ip preferred)> Set the VHost for this connection
|Clear the channel buffers
ClearVHost Clear the VHost for this connection
!SetBuffer |<#chan> [linecount] |Set the buffer count for a channel
Jump Jump to the next server in the list
!SetVHost |<vhost (ip preferred)> Set the VHost for this connection
Disconnect Disconnect from IRC
!ClearVHost |Clear the VHost for this connection
Connect Reconnect to IRC
!Jump |Jump to the next server in the list
Send <nick> <file> Send a shell file to a nick on IRC
!Disconnect |Disconnect from IRC
Get <file> Send a shell file to yourself
!Connect |Reconnect to IRC
LoadMod <module> Load a module
!Send |<nick> <file> Send a shell file to a nick on IRC
UnloadMod <module> Unload a module
!Get |<file> Send a shell file to yourself
ReloadMod <module> Reload a module
!LoadMod |<module> Load a module
ShowMOTD Show the message of the day
!UnloadMod |<module> Unload a module
SetMOTD <Message> Set the message of the day
!ReloadMod |<module> Reload a module
AddMOTD <Message> Append <Message> to MOTD
!ShowMOTD |Show the message of the day
ClearMOTD Clear the MOTD
!SetMOTD |<Message> Set the message of the day
Rehash Reload znc.conf from disk
!AddMOTD |<Message> Append <Message> to MOTD
SaveConfig Save the current settings to disk
!ClearMOTD |Clear the MOTD
ListUsers List all users/clients connected to znc
!Rehash |Reload znc.conf from disk
ListClients [User] List all clients connected to your znc user
!SaveConfig |Save the current settings to disk
Traffic Show basic traffic stats for all znc users
!ListUsers |List all users/clients connected to znc
Uptime Show how long ZNC is already running
!ListClients |[User] List all clients connected to your znc user
Broadcast [message] Broadcast a message to all users
!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
|}
|}

Revision as of 19:13, 17 March 2022

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 command instead of /msg *module command.

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
<#chan> |List all nicks on a channel
ListServers List all servers
<host> [[+]port] [pass] |Add a server to the list
<host> |Remove a server from the list
<#chan> |Enable the channel
<#chan> |Detach from the channel Show topics in all channels <#chan> |Play back the buffer for a given channel <#chan> |Clear the buffer for a given channel ClearAllChannelBuffers Clear the channel buffers <#chan> [linecount] |Set the buffer count for a channel <vhost (ip preferred)> Set the VHost for this connection Clear the VHost for this connection Jump to the next server in the list Disconnect from IRC Reconnect to IRC <nick> <file> Send a shell file to a nick on IRC <file> Send a shell file to yourself <module> Load a module <module> Unload a module <module> Reload a module Show the message of the day <Message> Set the message of the day <Message> Append <Message> to MOTD Clear the MOTD Reload znc.conf from disk Save the current settings to disk List all users/clients connected to znc [User] List all clients connected to your znc user Show basic traffic stats for all znc users Show how long ZNC is already running [message] Broadcast a message to all users