Game Commands: Difference between revisions

From PurpleIRC Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
The following commands are available in-game to administrators and players with sufficient permissions. Every command requires a corresponding [[Permissions|permission]] node. For example, <code>/irc save</code> requires the <code>irc.save</code> permission node. The parentheses indicate optional arguments.
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
Line 14: Line 16:
|-
|-
|/irc reload
|/irc reload
|None
|''None''
|Reload entire plugin (<font color="red">'''Don't use this to load changes to your  
|Reload entire plugin (<font color="red">'''Don't use this to load changes to your'''
configs and bots. Use reloadconfig and reloadbotconfigs instead'''</font>)
'''configs and bots. Use reloadconfig and reloadbotconfigs instead'''</font>)
|-
|-
|/irc reloadconfig
|/irc reloadconfig
|None
|''None''
|Reload config.yml
|Reload main configuration file <code>config.yml</code>.
|-
|-
|/irc save
|/irc save
Line 31: Line 33:
|-
|-
|/irc reloadbots
|/irc reloadbots
|None
|''None''
|Reload all bot configs and reconnect
|Reload all bot configs and reconnect
|-
|-
Line 39: Line 41:
|-
|-
|/irc reloadbotconfigs
|/irc reloadbotconfigs
||Reload all bot configs without reconnecting
|''None''
|Reload all bot configs without reconnecting
|-
|-
|/irc connect
|/irc connect
Line 50: Line 53:
|-
|-
|/irc listbots
|/irc listbots
|None
|''None''
|List loaded bots
|List loaded bots
|-
|-
Line 86: Line 89:
|-
|-
|/irc server
|/irc server
|[bot] [server] ([true~|false])
|[bot] [server] ([true&#124;false])
|Set IRC server for bot. Optionally set autoconnect
|Set IRC server for bot. Optionally set autoconnect
|-
|-
Line 151: Line 154:
|([stable&#124;dev])
|([stable&#124;dev])
|Check for new versions of PurpleIRC.
|Check for new versions of PurpleIRC.
|-
|/irc znc
|([bot]) [command] ([arguments])
|Send commands to the ZNC bouncer.
|}
|}

Latest revision as of 19:39, 25 February 2016

The following commands are available in-game to administrators and players with sufficient permissions. Every command requires a corresponding permission node. For example, /irc save requires the irc.save permission node. The parentheses indicate optional arguments.

Command Arguments Description
/irc load [bot.yml] Load bot file
/irc unload [bot.yml] (disable) Unload bot and optionally disable it
/irc reload None Reload entire plugin (Don't use this to load changes to your

configs and bots. Use reloadconfig and reloadbotconfigs instead)

/irc reloadconfig None Reload main configuration file config.yml.
/irc save ([bot]) Save bot configuration(s) to disk
/irc reloadbot [bot] Reload the bot config and reconnect
/irc reloadbots None Reload all bot configs and reconnect
/irc reloadbotconfig [bot] Reload bot config without reconnecting
/irc reloadbotconfigs None Reload all bot configs without reconnecting
/irc connect ([bot]) Connect to configured IRC serve
/irc disconnect ([bot]) Disconnect from configured IRC server
/irc listbots None List loaded bots
/irc list ([bot]) ([channel]) List users in a channel
/irc kick [bot] [channel] [user(s)] Kick user(s) from a channel
/irc op [bot] [channel] [user(s)] Op user(s) in a channel
/irc listops [bot] [channel] List auto ops for a channel
/irc motd [bot] Display IRC motd.
/irc deop [bot] [channel] [user(s)] DeOp user(s) in a channel
/irc addop [bot] [channel] [user mask] Add user mask to op list
/irc removeop [bot] [channel] [user mask] Remove user mask from op list
/irc server [bot] [server] ([true|false]) Set IRC server for bot. Optionally set autoconnect
/irc mute ([bot]) ([channel]) [user(s)] Mute user(s) in a channel
/irc unmute [bot] [channel] [user(s)] Unmute user(s) in a channel
/irc nick [bot] [nick] Change the bot's IRC nickname
/irc login [bot] [login] Change the bot's IRC login
/irc join [bot] [channel] Join a channel
/irc leave [bot] [channel] ([reason)] Leave a channel
/irc whois ([bot]) [nick] Get IRC user's whois info
/irc say [bot] [channel] [message] Make the bot say something
/irc send ([bot]) ([channel]) [message] Send a message to a channel
/irc debug Enable debug mode
/irc messagedelay [bot] ([milliseconds]) Get or set IRC message delay. (Default: 1000)
/irc msg ([bot]) [user] [message] Send a private message to IRC user
/irc ctcp ([bot]) [user|channel] [message] Send ctcp command to user or channel.
/irc notice ([bot]) [user|channel] [message] Send notice command to user or channel.
/irc sendraw ([bot]) [command] Send raw command to IRC server.
/irc updatecheck ([stable|dev]) Check for new versions of PurpleIRC.
/irc znc ([bot]) [command] ([arguments]) Send commands to the ZNC bouncer.