--[[
reg_report.lua v0.01 API2
by ATAG @ 12/11/08
Requested by P_pan
]]
reglist = {}
function OnStartup()
tmr = TmrMan.AddTimer(1000)
for i, user in ipairs(RegMan.GetRegs()) do
reglist[user.sNick] = true
end
end
function OnTimer()
for i, user in ipairs(RegMan.GetRegs()) do
if not reglist[user.sNick] then
reglist[user.sNick] = true
Core.SendToOpChat(user.sNick.." successfully added to registered users with profile: ".. ProfMan.GetProfile( user.iProfile).sProfileName)
end
end
end
function OnExit()
TmrMan.RemoveTimer(tmr)
reglist = nil
tmr = nil
collectgarbage("collect")
end
Thank You Atag!!!!
just what i needed
You rock aswell ;D
is it possibble to add the person (nick) who regged the new member?
and how to implent it in this script?
thnx!
thank You Mutor!!