Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Built in commands

NanoSector edited this page May 20, 2017 · 1 revision

Built-in commands

This is a list of built-in commands. A parameter described like [parameter] is required, a parameter described with ([parameter]) is optional.

Help

Commands to aid users in using the bot.

help

Introduced in: WildPHP 3.0 Beta 1

Syntax: help [command] [page]

Required permission: None

Shows the help data about a specific command.

lscommands

Introduced in: WildPHP 3.0 Beta 1

Syntax: lscommands

Required permission: None

Lists the available commands.

Management

Commands to manage the bot internally.

join

Introduced in: WildPHP 3.0 Beta 1

Syntax: join [channel] ([channel]) ([channel]) ... (up to 5 channels)

Required permission: join

Joins the specified channel(s) and reports any malformed channel names in private.

part

Introduced in: WildPHP 3.0 Beta 1

Syntax: part [channel] ([channel]) ([channel]) ... (up to 5 channels)

Required permission: part

Parts (leaves) the specified channel(s) and reports any malformed channel names in private.

quit

Introduced in: WildPHP 3.0 Beta 1

Syntax: quit ([message])

Required permission: quit

Quits the IRC network.

Moderation

Commands designed to aid moderators in moderating their channels.

ban

Introduced in: WildPHP 3.0 Beta 1

Syntax #1: ban [nickname] [minutes]

Syntax #2: ban [nickname] [minutes] [redirect channel]

Required permission: ban

Bans the specified user from the channel. Pass 0 minutes for an infinite ban.

banhost

Introduced in: WildPHP 3.0 Beta 1

Syntax #1: banhost [hostname] [minutes]

Syntax #2: banhost [hostname] [minutes] [redirect channel]

Required permission: ban

Bans the specified host from the channel. Pass 0 minutes for an infinite ban.

kban

Introduced in: WildPHP 3.0 Beta 1

Syntax #1: kban [nickname] [minutes] ([reason])

Syntax #2: kban [nickname] [minutes] [redirect channel] ([reason])

Required permission: kban

Kicks the specified user from the channel and adds a ban. Pass 0 minutes for an infinite ban.

kick

Introduced in: WildPHP 3.0 Beta 1

Syntax: kick [nickname] ([reason])

Required permission: kick

Kicks the specified user from the channel.

mode

Introduced in: WildPHP 3.0 Beta 1

Syntax: mode [nickname] [modes]

Required permission: mode

Changes mode for a specified user.

Permission Management

Commands to allow permission management

Groups

addgroup

Introduced in: WildPHP 3.0 Beta 1

Syntax: creategroup [group name]

Required permission: creategroup

Creates a permission group.


delgroup

Introduced in: WildPHP 3.0 Beta 1

Syntax: delgroup [group name] yes

Required permission: delgroup

Deletes a permission group. The second parameter yes is required.


groupinfo

Introduced in: WildPHP 3.0 Beta 1

Syntax: groupinfo [group name]

Required permission: groupinfo

Shows info about a given group.


linkgroup

Introduced in: WildPHP 3.0 Beta 1

Syntax: linkgroup [group name] ([channel name])

Required permission: linkgroup

Links a group to a channel, so it only takes effect in said channel. Groups can be linked to multiple channels. This command will use the current channel if no channel is passed.


lsgroups

Introduced in: WildPHP 3.0 Beta 1

Syntax: lsgroups

Required permission: None

Lists all available permission groups


lsmembers

Introduced in: WildPHP 3.0 Beta 1

Syntax: lsmembers [group name]

Required permission: listgroupmembers

Lists all members in the specified permission group.


lsperms

Introduced in: WildPHP 3.0 Beta 1

Syntax: lsperms [group name]

Required permission: listgrouppermissions

Lists permissions given to the specified group.


unlinkgroup

Introduced in: WildPHP 3.0 Beta 1

Syntax: unlinkgroup [group name] ([channel name])

Required permission: linkgroup

Unlinks a group from a channel, so it no longer takes effect in said channel. This command will use the current channel if no channel is passed.

Members

addmember

Introduced in: WildPHP 3.0 Beta 1

Syntax: addmember [group name] [nickname]

Required permission: addmembertogroup

Adds a member to the specified group.


delmember

Introduced in: WildPHP 3.0 Beta 1

Syntax: delmember [group name] [nickname]

Required permission: delmemberfromgroup

Deletes a member from the specified group.

Permission granting

allow

Introduced in: WildPHP 3.0 Beta 1

Syntax: allow [group name] [permission]

Required permission: allow

Adds the specified permission to the specified group.


deny

Introduced in: WildPHP 3.0 Beta 1

Syntax: deny [group name] [permission]

Required permission: deny

Removes the specified permission from the specified group.


validate

Introduced in: WildPHP 3.0 Beta 1

Syntax: validate [permission] ([nickname])

Required permission: None

Checks if the specified user passes validation for the specified permission.