exirc v2.0.0 ExIRC.Commands

Defines IRC command constants, and methods for generating valid commands to send to an IRC server.

Link to this section Summary

Functions

Builds a valid IRC command.

Builds a valid CTCP command.

Send an invite command

Send join command to server (join a channel)

Send kick command to server

Send a /me <msg> CTCP command to t

Send mode command to server MODE <nick> <flags> MODE <channel> <flags> [<args>]

Sends a command to the server to get the list of names back

Send nick to server. (Changes or sets your nick)

Send notice to channel or user

Send part command to server (leave a channel)

Send password to server

Send PONG in response to PING

Send a targeted PONG in response to PING

Send message to channel or user

Send quit command to server (disconnect from server)

Send username to server. (Changes or sets your username)

Send a WHO request about a channel

Send a WHOIS request about a user

Link to this section Functions

Builds a valid IRC command.

Builds a valid CTCP command.

Link to this function

ctcp!(cmd, args)

Link to this function

invite!(nick, channel)

Send an invite command

Send join command to server (join a channel)

Link to this function

join!(channel, key)

Link to this function

kick!(channel, nick, message \\ "")

Send kick command to server

Link to this function

me!(channel, msg)

Send a /me <msg> CTCP command to t

Link to this function

mode!(channel_or_nick, flags, args \\ "")

Send mode command to server MODE <nick> <flags> MODE <channel> <flags> [<args>]

Link to this function

names!(channel)

Sends a command to the server to get the list of names back

Send nick to server. (Changes or sets your nick)

Link to this function

notice!(nick, msg)

Send notice to channel or user

Send part command to server (leave a channel)

Send password to server

Send PONG in response to PING

Link to this function

pong2!(nick, to)

Send a targeted PONG in response to PING

Link to this function

privmsg!(nick, msg)

Send message to channel or user

Link to this function

quit!(msg \\ "Leaving")

Send quit command to server (disconnect from server)

Link to this function

user!(user, name)

Send username to server. (Changes or sets your username)

Send a WHO request about a channel

Send a WHOIS request about a user