I'm using the monitoring function im my onload to be informed, when I will be whispered. So its working fine, except of the ignoring some whisperers.
Code: Select all
function beepwhispers()
repeat
local time, moreToCome, name, msg = EventMonitorCheck("WhisperNotify", "4,1")
if moreToCome ~= nil and (name ~= "Hilfsbegleiter" or name ~= "B\129ndniskrieger") then
cprintf(cli.lightred, "Someone whispered!\n");
printf("\a\a\a");
end
until moreToCome ~= true
end
EventMonitorStart("WhisperNotify", "CHAT_MSG_WHISPER");
registerTimer("beepwhispers", secondsToTimer(5), beepwhispers);
I've tried the solution above, but it seems not to work. Have also tried the lua umlauts-code "B\195\188ndniskrieger", also without any effect - the NPC will not be ignored.
Any suggestion yourside?
thx in advance.