flash window on callword

This commit is contained in:
cidoku 2025-03-12 18:50:58 -03:00
parent 68cae6a24e
commit bdab144be5

View File

@ -3183,6 +3183,7 @@ class GUI(QtGui.QWidget):
for callword in callwords:
if callword.decode('utf-8').lower() in self.m_chatmessage[CHATMSG].lower().split(" "):
self.ooclog.append("<b>%s called you.</b>" % f_char)
QtGui.QApplication.alert(self, 1000)
snd = audio.loadhandle(False, "word_call.wav", 0, 0, BASS_STREAM_AUTOFREE)
if snd:
audio.playhandle(snd, True)