Ninjax Commands

Since ninjax is programmed to have several instances running in parallel each bot command must start with an exclamation mark followed by the bot-nick eg. !bot-en.

All management modules are checked for if you have the rights to execute the command. A user is considered to have privileges if he is …

  • opered as ircop
  • member of botteam

Furthermore can the CC/RC in charge of the bot decide if (s)he wan’ts the countrys /regions chanops to be allowed to interact with the bot. If that’s the case then you can interact with the bot if you …

  • are chanop in at least one channel

If you are OPER’ed up and you get told that your privileges are insufficient, then try the command once again.

Regarding channels - all functions are programmed such that they should never touch the administrative channels used by BotTeam and the ScoutLink techies (#botteam, #bots.log, #opers).

Most functions will also ignore the configured operchannel ( #joti-ops / #scanops / #indonesian-opers or whatever your CC/RC has chosen)

ModuleCommandDescription
BanList !<bot-nick> banlist Shows a list of bans for all the channels the bot is currently a part of
Broadcast !<bot-nick> wall <message> Broadcast a message to all the channels the bot currently has joined (except #opers and #botteam)
ChannelIdleKicker !<bot-nick> idlekick <enable|disable|status> Controls channel idlekick
ChanManagement !<bot-nick> openchan <channel> Opens a channel for both general use and redirection. Sets mode -ipsk
ChanManagement !<bot-nick> closechan <channel> Closes a channel for both general use and redirection. Sets mode +ips
ChanManagement !<bot-nick> closemultichans <channelfamily> <from> <to> Apply closechan to a number of subchannels
ChanManagement !<bot-nick> closeallchans Performs a closechan on all overflow channels (those that ends with a double-digit number)
ChanManagement !<bot-nick> initchans [silent|onlychannels|all] Tries to regiser all channels it's currently member of, and adds CHANFOUNDER's and CHANOP's to each channel (ChanServ FLAGS)
If no parameter is specified "silent" is default. "onlychannels" reports when each channel is setup. "all" reports all actions done to prepare the channels.
ChanManagement !<bot-nick> reverseinitchans (Almost) the reverse of initchans. Performs a chanserv drop of all channels it's currently in IF the channel name ends in a number
ChanManagement !<bot-nick> moveusers <sourcechannel> <destinationchannel> [no.users] Moves regular users from sourcechannel to destinationchannel, using sapart+sajoin.
If [no.users] is given only move that amount of users - otherwise all ordinary users are moved.
FloodKicker !<bot-nick> floodkicker <status|enable|disable> "status" shows current status. "enable" activates the module. "disable" de-activates the module.
GlineHelper !<bot-nick> gline list Show current gline requests
GlineHelper !<bot-nick> gline ban <ip> <duration> <reason Issues a new gline request
GlineHelper !<bot-nick> gline status <requestID> Views status on a request
GlineHelper !<bot-nick> gline accept <requestID> Accepts a gline request and issues the gline command to IRC server
GlineHelper !<bot-nick> gline cancel <requestID> Cancels the request, and deletes from bot. Does NOT send a gline command.
IdleKiller !<bot-nick> idlekiller list Show current exempt (white-list), eg. those that should not be idlekilled under any circumstances
IdleKiller !<bot-nick> idlekiller sweep Perform a idlekill sweep, and do a kill on all those who has been idling for more than the configured threshold.
KickListener !<bot-nick> kicks nicklist Get a list of nicks registered by kicklistener
KickListener !<bot-nick> kicks <nick|channel|host> Get a list of kicks registered by kicklistener module for that particular user/channel/host
LanguageListener !<bot-nick> langdetect <debugdisable|debugenable> Disable/enable debug output from language detection (default is off)
NickChanger !<bot-nick> nickchanger list Get the list of currently blacklisted nicks
NickChanger !<bot-nick> nickchanger <add|remove> <nick> Add/remove a nick to/from the list of currently blacklisted nicks. When a nick is added all users in channels are check against the blacklist. Use * as wildchar to match multiple nick variations.
NickChanger !<bot-nick> nickchanger sweep Check all channels for whether there is currently a user which uses a blacklisted nick
MultiBan !<bot-nick> multiban <add|remove> <hostmask> [minutes] Apply or remove a channel ban (mode +/- b) from all the channels the bot currently is is in
OpManagement !<bot-nick> ops check <channel> Do a operator and user count for the given channel.
OpManagement !<bot-nick> ops all Do a operator and user count for all the channels this bot is in (except the nocount channels)
OpManagement !<bot-nick> ops nocount Get a list of the nocount channels, which means those channels the bot should skip when doing a operator count on all channels.
OpManagement !<bot-nick> ops chancount <number> Gives a list of all ops that has chanop status in more than number channels.
UserRedirect !<bot-nick> redirect status <channel> Get a status on whether redirection is enabled/disabled on the channel. Like all other redirect commands, this should be used on the main/source channel (eg #english and not #english03). Also reports the max number of users.
UserRedirect !<bot-nick> redirect statusall Get a status on whether redirection is enabled/disabled on all configured redirect channels. Also reports the max number of users.
UserRedirect !<bot-nick> redirect enable/disable <channel> Disables/Enables user redirection on this channel
UserRedirect !<bot-nick> redirect enableall/disableall Disables/Enables user redirection on all configured redirect channels
UserRedirect !<bot-nick> redirect sweep <channel> Do a redirection sweep on the given source channel. Usefull if redirection has been disabled, and there are users in the source channels that needs to be redirected to the target channels.
UserRedirect !<bot-nick> redirect setmaxusers <channel> <limit> Set new max number of users pr channel.
UserRedirect !<bot-nick> redirect strategy <first|least|random> Decides how user should be distributed to available channels:
  • First: uses first available channel (when enummerated from low to high numbers). This is the old and default method. This will try to keep the first channels are at maximum users.
  • Least: uses the open channel with least number of users in it
  • Random: take any random channel thats open has room for more users.
This is also configurable from BCP
Ninjax Core !<bot-nick> opall Let the bot give itself chanop status in all channels it currently is in
Ninjax Core !<bot-nick> listmodules Get a list of all modules loaded in this ninjax instance
Ninjax Core !<bot-nick> listchannels Get a list of all channels this ninjax instance is currently joined
Ninjax Core !<bot-nick> rehash Reloads configuration - only botteam and ircops can perform this action
Ninjax Core !<bot-nick> rehashmodule <modulename> Reloads configuration for a single module- only botteam and ircops can perform this action
Ninjax Core !<bot-nick> knownmodules List all internally known module names (for usage with loadmodule/unloadmodule/rehashmodule)
Ninjax Core !<bot-nick> loadmodule <modulename> Loads a module and initialized if not already present AND if it is enabled in BCP
Ninjax Core !<bot-nick> unloadmodule <modulename> Stops and unloads an active module - remember to disable in BCP as well
Ninjax Core !<bot-nick> restartdatatimer Restarts the data pushback timer - only botteam can perform this
Ninjax Core !<bot-nick> dumpchannels <channel> Show one or all channels, including the users and ops
Ninjax Core !<bot-nick> help Show all available commands