我在TeamSpeak社区论坛上提出过要求,并且收到了非常粗鲁或冷酷的评论。这是我迄今为止所取得的成就。
function onTextMessageEvent(serverConnectionHandlerID, targetMode, toID, fromID, fromName, fromUniqueIdentifier, message, ffIgnored)
myChannelID = ts3.getChannelOfClient(serverConnectionHandlerID, myClientID)
if myChannelID == 56115 then
function onTextMessageEvent(serverConnectionHandlerID, targetMode, toID, fromID, fromName, fromUniqueIdentifier, message, ffIgnored)
myID = ts3.getClientID(serverConnectionHandlerID)
response = [[I'm sorry,
I can't answer your message right now. If you need my help, please send me a ticket! I am a bit busy right now and really need to concentrate.
Thanks! :)]]
if fromID ~= myID and toID == myID then
ts3.requestSendPrivateTextMsg(serverConnectionHandlerID, response, fromID)
end
end
end
end
响应者工作得很好。当我在特定频道时,我试图将其设置为回复。