i need a prefix lua whit <!>
thats works for only some commands
example :
if i say !kick <id> then - - server kick the id
but
if i or any others say!<any things others> then server answer : wrong command
Scripts
say prefix
say prefix
1

Talented Doge: i didnt find any thing . i cant understand other admin lua(thats complex) i need only this part of lua . so help me or give me a link of a lua that i want if you can find this
princeofpersia: simple one: addhook("say","say_hook")
function say_hook(id, text)
if string.sub(text,1,1)=="!" then
if string.sub(text,2,6)=="kick " then
local kid = tonumber(string.sub(text,7,8))
parse("kick "..kid)
return 1
else
msg2(id,"Error:Command unkown")
return 1
end
end
end
1
