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
command!(cmd)
Builds a valid IRC command.
ctcp!(cmd)
Builds a valid CTCP command.
ctcp!(cmd, args)
invite!(nick, channel)
Send an invite command
join!(channel)
Send join command to server (join a channel)
join!(channel, key)
kick!(channel, nick, message \\ "")
Send kick command to server
me!(channel, msg)
Send a /me <msg>
CTCP command to t
mode!(channel_or_nick, flags, args \\ "")
Send mode command to server MODE <nick> <flags> MODE <channel> <flags> [<args>]
names!(channel)
Sends a command to the server to get the list of names back
nick!(nick)
Send nick to server. (Changes or sets your nick)
notice!(nick, msg)
Send notice to channel or user
part!(channel)
Send part command to server (leave a channel)
pass!(pwd)
Send password to server
pong1!(nick)
Send PONG in response to PING
pong2!(nick, to)
Send a targeted PONG in response to PING
privmsg!(nick, msg)
Send message to channel or user
quit!(msg \\ "Leaving")
Send quit command to server (disconnect from server)
user!(user, name)
Send username to server. (Changes or sets your username)
who!(channel)
Send a WHO request about a channel
whois!(user)
Send a WHOIS request about a user