Ignore some whispers during monitoring
Posted: Sat Oct 05, 2013 5:20 pm
Hey rock, lisa.
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.
so it should ignore the newbie-pet (Hilfsbegleiter) and this stupid NPC in Sarlo, which whispers all the time (in german in contains umlauts "Bündniskrieger")
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.
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.
