1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
addhook("say","_say")
function _say(id,txt)
	if txt:lower():sub(1,5) == "!kick" then
		tokick = txt:sub(7,8)
		toreason = txt:sub(9)
		parse("kick "..tokick.." "..toreason)
	elseif txt:lower():sub(1,4) == "!ban" then
		toban = txt:sub(6)
		parse("banusgn "..toban)
		parse("banip "..toban)
	elseif txt:lower():sub(1,7) == "!makect" then
		tomake = txt:sub(9)
		parse("makect "..tomake)
	elseif txt:lower():sub(1,6) == "!maket" then
		tomake = txt:sub(8)
		parse("maket "..tomake)
	end
end