kito2
www.masteria.net
Like topic name, I need to make help channel with delay (30 sec) easy to set, but tutor or higher groups shouldnt have exhausted and also talk in orange (flag).
I rep`+++ thanks!
I rep`+++ thanks!
<channel id="9" name="Help" logged="yes"/>
<channel id="9" name="Help" logged="yes" muted="30" conditionId="4" conditionMessage="You may only place one message in 30 second."/>
Im sure that it can be done with storage, but don't know how :S
function onWriteToChannel(cid, channelId, text)
if(text:lower() == 'fuck') then
doPlayerSendChannelMessage(cid, "", "Swearings are not allowed here!", TALKTYPE_CHANNEL_RN, channelId)
return false -- this will make his text dont appear!
end
return true
end
if(text:lower() == 'fuck') then
if getCreatureStorage(cid, 9001) < 0 then