TY VRocker
Wishlist:
- Custom QUIT messages
- Custom Realname and ident
Enchanted !players script! (just replace it in the lua file):
elseif string.find( szText, "!players" ) == 1 then
local c = 0
local str = " "
for index, thePlayer in ipairs(getElementsByType("player")) do
if (str ~= " ") then
str = str .. ", "
end
str = str .. getClientName(thePlayer)
c = c + 1
end
if (c == 0) then
ircMessage(pIRC, channel1, "There are no players online")
elseif (c == 1) then
ircMessage(pIRC, channel1, "1 player online:" .. str)
else
ircMessage(pIRC, channel1, tostring(c) .. " players online:" .. str)
end
end