dialog notifyintray {
title "Notify"
size -1 -1 186 52
option dbu
button "O&K", 1, 74 34 37 12, ok
text "", 2, 5 11 175 11, center
}
on *:notify:{
if $appstate != tray { return }
var %r = $r(1,999999)
while $dialog(notifyintray $+ %r) { %r = $r(1,999999) }
var %d = notifyintray $+ %r
dialog -mdo %d notifyintray
did -a %d 2 $nick (on $network $+ ) is online!
beep 3
}