Made by the_pest
cMASTER = GetProfileIdx("Master") --0
cOP = GetProfileIdx("Operator") --1
cVIP = GetProfileIdx("VIP") --2
cREG = GetProfileIdx("Reg") --3
cUSER = -1
cAPPLY = {[cMASTER] = 1}
function ChatArrival(curUser, data)
if cAPPLY[curUser.iProfile] == 1 then
local s,e, cmd, what = string.find(data, "%b<>%s+(%S+)%s*(.*)|")
if cmd == "!talk" and what then
SendToAll(what)
return 1
end
end
end
Cheers...
QuoteOriginally posted by Markitos
Dunno who made it jt found it in my friend server
Made by ???
cMASTER = GetProfileIdx("Master") --0
cOP = GetProfileIdx("Operator") --1
cVIP = GetProfileIdx("VIP") --2
cREG = GetProfileIdx("Reg") --3
cUSER = -1
cAPPLY = {[cMASTER] = 1}
function ChatArrival(curUser, data)
if cAPPLY[curUser.iProfile] == 1 then
local s,e, cmd, what = string.find(data, "%b<>%s+(%S+)%s*(.*)|")
if cmd == "!talk" and what then
SendToAll(what)
return 1
end
end
end
Cheers...
This is made by the_pest
c ya
Updated...
QuoteOriginally posted by Markitos
Updated...
Yeah :)