rendered paste bodyprint("LUA Scripts loading...")function on_privmsg(channel, user, msg) print(channel .. " > <" .. user .. "> " .. msg) if channel == getNick() then privmsg(user, "Why are you PMing me, " .. user .. "?") endendfunction on_join(channel, user) if user == getNick() then privmsg(channel, "I'm back! :)") else privmsg(channel, "Welcome to " .. channel .. ", " .. user) endendfunction on_kick(channel, user, kicked) print(kicked .. " was kicked from " .. channel .. " by " .. user) if kicked == getNick() then -- We were kicked! joinchannel(channel) privmsg(channel, "Please don't kick me. :(") else -- Oh well. endendprint("LUA Scripts loaded!")