Difference between revisions of "Znccommands"

From DarkWorld Network
Jump to navigation Jump to search
Line 1: Line 1:
 
== Client Commands
'''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.
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.
<!--T:1-->
<!--T:1-->
{| class="wikitable"
{| class="wikitable"
!Command
!Command
!Arguments
!Arguments
!Description
!Description
|-
|-
!Version
!Version
|
1Prints which version of znc this is
|Prints which version of znc this is
|-
|-
!ListDCCs
!ListDCCs
|
!List all active DCCs
|List all active DCCs
|-
|-
!ListMods
!ListMods
|
!List all loaded modules
|List all loaded modules
|-
|-
!ListAvailMods
!ListAvailMods
|
!List all available modules
|List all available modules
|-
|-
!ListChans
ListChans List all channels
|
ListNicks <#chan> List all nicks on a channel
|List all channels
ListServers List all servers
|-
AddServer <host> [[+]port] [pass] Add a server to the list
!ListNicks |<#chan> |List all nicks on a channel
RemServer <host> Remove a server from the list
|-
Enablechan <#chan> Enable the channel
!ListServers
Detach <#chan> Detach from the channel
|
Topics Show topics in all channels
|List all servers
PlayBuffer <#chan> Play back the buffer for a given channel
|-
ClearBuffer <#chan> Clear the buffer for a given channel
!AddServer |<host> [[+]port] [pass] |Add a server to the list
ClearAllChannelBuffers Clear the channel buffers
|-
SetBuffer <#chan> [linecount] Set the buffer count for a channel
!RemServer |<host> |Remove a server from the list
SetVHost <vhost (ip preferred)> Set the VHost for this connection
|-
ClearVHost Clear the VHost for this connection
!Enablechan |<#chan> |Enable the channel
Jump Jump to the next server in the list
|-
Disconnect Disconnect from IRC
!Detach |<#chan> |Detach from the channel
Connect Reconnect to IRC
|-
Send <nick> <file> Send a shell file to a nick on IRC
!Topics
Get <file> Send a shell file to yourself
|
LoadMod <module> Load a module
|Show topics in all channels
UnloadMod <module> Unload a module
|-
ReloadMod <module> Reload a module
!PlayBuffer |<#chan> |Play back the buffer for a given channel
ShowMOTD Show the message of the day
|-
SetMOTD <Message> Set the message of the day
!ClearBuffer |<#chan> |Clear the buffer for a given channel
AddMOTD <Message> Append <Message> to MOTD
|-
ClearMOTD Clear the MOTD
!ClearAllChannelBuffers
Rehash Reload znc.conf from disk
|
SaveConfig Save the current settings to disk
|Clear the channel buffers
ListUsers List all users/clients connected to znc
|-
ListClients [User] List all clients connected to your znc user
!SetBuffer |<#chan> [linecount] |Set the buffer count for a channel
Traffic Show basic traffic stats for all znc users
|-
Uptime Show how long ZNC is already running
!SetVHost |<vhost |(ip preferred)> Set the VHost for this connection
Broadcast [message] Broadcast a message to all users
|-
Shutdown [message] Shutdown znc completely
!ClearVHost
Restart [message] Restarts znc
|
|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
|}
|}

Revision as of 05:27, 18 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.

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 RemServer <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 Shutdown [message] Shutdown znc completely Restart [message] Restarts znc
Command Arguments Description
Version

1Prints which version of znc this is

ListDCCs List all active DCCs
ListMods List all loaded modules
ListAvailMods List all available modules