Hello..I know nothing about script writing..but I was wondering if someone had a script that will show (only) registered user to ops using a !reg list command or something like that...any help is appreciated
Sorry for all the typos I was tired when I posted this...
bot = "reg_list"
function DataArrival(user, data)
local s,e,cmd,d = strfind(data, "%b<>%s+(%S+)(%S+)")
if user.bOperator ~= nil then
if cmd == "!showreg" then
ShowReg(user)
end
end
end
function ShowReg(user)
local aux,usr
for aux, usr in GetUsersByProfile("Reg") do
user:SendPM (bot,usr)
end
end
thats a nice simple way to put it :P..gehehee
Thank you very much.
*MOVED FROM SCRIPTS FOR 326+*
Next time please request in the correct section ;)
Oh, sorry...I will not make that mistake again.