flash window on callword
This commit is contained in:
parent
68cae6a24e
commit
bdab144be5
@ -3183,6 +3183,7 @@ class GUI(QtGui.QWidget):
|
|||||||
for callword in callwords:
|
for callword in callwords:
|
||||||
if callword.decode('utf-8').lower() in self.m_chatmessage[CHATMSG].lower().split(" "):
|
if callword.decode('utf-8').lower() in self.m_chatmessage[CHATMSG].lower().split(" "):
|
||||||
self.ooclog.append("<b>%s called you.</b>" % f_char)
|
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)
|
snd = audio.loadhandle(False, "word_call.wav", 0, 0, BASS_STREAM_AUTOFREE)
|
||||||
if snd:
|
if snd:
|
||||||
audio.playhandle(snd, True)
|
audio.playhandle(snd, True)
|
||||||
|
Loading…
Reference in New Issue
Block a user