When someone invites you. A popup shows up and you have the choice to
join
decline
decline with message
or
ignore user
dialog Invite {
title ""
size -1 -1 234 46
option dbu
edit "", 1, 4 2 110 10, read
edit "", 2, 121 2 110 10, read
button "Join", 3, 3 14 32 12
button "Decline", 4, 41 14 32 12
button "Decline with Message", 5, 79 14 62 12
button "Ignore User", 6, 147 14 42 12
edit "", 7, 3 32 116 10
}
On *:Dialog:Invite:*:*:{
If ($devent == Init) {
Dialog -t $dname New invite to %i.chan from %i.nick
Did -a $dname 1 %i.nick
Did -a $dname 2 %i.chan on $server
}
If ($devent == Sclick) {
If ($did = 3) { Join %i.chan | Dialog -x $dname $dname }
If ($did = 4) {
Dialog -x $dname $dname
Haltdef
}
If ($did = 5) {
Notice %i.nick $did(7)
Dialog -x $dname $dname
}
If ($did = 6) {
Ignore $address(%i.nick,4)
Dialog -x $dname $dname
}
}
}
On ^*:Invite:*:{
Set %i.chan $chan
Set %i.nick $nick
Dialog -m Invite Invite
}
your behind the times bro. i did this years ago:D but i found one problem with the invite dialog i didnt like. it can only get 1 invite at a time. so i switched mine over to an @ window that is server specific. can get as many invites as are sent and on w.e server. you don't get the fancy decline/ignore with it but meh