on invite you should be prompted to accept = yes or decline = no
with invite nick,msg,channel,server,time.
Copy and paste into your remotes and wait to be invited.
dialog rwi {
title "Invited Notice"
size 412 150 295 123
button "Yes", 2, 187 93 50 25
button "No", 3, 241 93 50 25, cancel
}
on *:DIALOG:rwi:sclick:2:{ scid $cid | join %invited }
on *:DIALOG:rwi:sclick:3:{ notice %invitenick SORRY but I am busy right now and i wont be joining %invited }
on *:invite:#:{
BEEP 5 100
if ($chan isin $nick) { join $chan | halt }
if ($dialog(rwi)) { notice %invitenick SORRY but I am busy right now. }
set %invited $chan
set %invitenick $nick
set %server $server
set %time $time(hh:nn:ss TT)
dialog -m rwi rwi
}