Hello!
Here's the thing:
I wanted to make the "notifies" apear in a dialog, so I have used the "on notify" event, making it open a small dialog whenever someone in the notify list joins IRC. The problem is this:
When the dialog opens, it automaticly opens as the active "window". I want things to work like this:
Imagine your typing something in a "channel", and someone in your notify list joins IRC. The dialog would open, showing that $nick is on IRC, but without interrupt the typing! On other words, the dialog would open, being visible, but without being active!
I have everything except the "/dialog" command that will allow this!
I don't know if i made myself clear...
The "code":
FILE: Script.ini
on ^1:NOTIFY:{
if ($notify($nick).note != $null) { .set %notifynote $notify($nick).note }
else { .unset %notifynote }
.set %notifynick $nick
.notify.start
halt
}
dialog notify {
title "Notify"
size -1 -1 300 100
icon 1, 10 10 50 60, system\icons\info.ico
text "* Notify List *",2, 50 10 300 15,left
text "",4, 60 25 190 15,left
text "",5, 60 40 190 15,left
button "Close", 120, 250 40 20 20
}
on 1:dialog:notify:init:*:{
.did -i notify 4 4 %notifynick está no IRC;
if (%notifynote != $null) { .did -i notify 5 5 ( %notifynote ) }
}
FILE: Alias.INI
/notify.start { .dialog ????????????????????????????????????? }
I'm missing the "??????" part!
Using " .dialog -m notify notify " makes the dialog active!
I hope you understood me.
PS: Sorry my English! I'm Portuguese, and I usually don't speak or write in English...