kaguya v0.1.3 Kaguya.Util

Summary

Functions

Looks up a channel’s pid and returns it if it exists, nil otherwise

Sends the IRC server the JOIN command

Sends the NICK command to the IRC server, with the given nick

Sends a PRIVMSG to a recipient on the IRC server

Sends the PASS command to the IRC server with the given password

Sends the USER command to the IRC server, with the given name, and an optional realname param

Functions

black()
blue()
bold()
brown()
clear()
cyan()
darkgray()
getChanPid(channel)

Looks up a channel’s pid and returns it if it exists, nil otherwise.

gray()
green()
italic()
joinChan(channel)

Sends the IRC server the JOIN command.

lightblue()
lightcyan()
lightgreen()
lightmagenta()
lightred()
magenta()
red()
sendNick(nick)

Sends the NICK command to the IRC server, with the given nick.

sendPM(message, recipient)

Sends a PRIVMSG to a recipient on the IRC server.

sendPass(password)

Sends the PASS command to the IRC server with the given password

sendUser(user, realname \\ "")

Sends the USER command to the IRC server, with the given name, and an optional realname param.

underline()
white()
yellow()