asd123123123
Member
- Apr 25, 2016
- 7
- 0
- 33
Can i make this script to only send message if client send 5 messages in less than 10sec?
Code:
function onTextMessageEvent(serverConnectionHandlerID, targetMode, toID, fromID, fromName, fromUniqueIdentifier, message, ffIgnored)
myID = ts3.getClientID(serverConnectionHandlerID)
response = "You managed to send me a private Message"
if fromID ~= myID and toID == myID then
ts3.requestSendPrivateTextMsg(serverConnectionHand lerID, response, fromID)
end
end