
Originally Posted by
dean015
hello m8 thanks for the script, is there any way to not reply to players from VIP
thanks
I don't think u can get VIP LIST, so make table with nickname's not to answer and add for loop in isValidSpeaker. like that:
Code:
notAnswer =
{
'Tom', 'Agness', 'Rick'
}
local function isValidSpeaker(name, level)
local failCounter = 0
for i = 1, #notAnswer do
if name:lower() == notAnswer[i]:lower() then
failCounter = failCounter + 1
end
end
if failCounter == 0 then
return name ~= Self.Name() and level and level > MinLevelForReply
else
return false
end
end
Its nooby written but its going to work for you. Shadowart will fix it for you in his style i think :P.
Also @shadowart its ur post, so if u want i wont help to others.