Hey all,
Pls help with script for disable command " +me " for Ptokax 0.3.6.0.
Thx
[OnLy]-PiTiCu
can try this
-- disable +me command 0.3.6.0 px
-- code by ruler
-----------------------------------------
function ChatArrival(user, data)
data=string.sub(data,1,string.len(data)-1)
s,e,cmd = string.find(data,"%b<>%s+(%S+)")
if ( cmd=="!me" or cmd=="+me" or cmd=="-me") then
return 1
end
end
-- end code
hope it works, not tested
Thx ruler ,testing script and working, Thx Mutor
[OnLy]-PiTiCu
np, i'd use Mutor's way as its less code and more direct plus its a faster way of doing it.