Invite Dialog

By xdesoto on Sep 20, 2011

When someone invites you. A popup shows up and you have the choice to
join
decline
decline with message
or
ignore user

Image

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
}

Comments

Sign in to comment.
xdesoto   -  Sep 25, 2011

Wow, I'm older than Jethro :O

 Respond  
Frenetic   -  Sep 21, 2011

Oh damn. Kudos.

 Respond  
Jethro   -  Sep 21, 2011

I'm 25 as of this year. I've been through the era where MSN chat was popular.

 Respond  
Frenetic   -  Sep 21, 2011

Jethro..how old are you exactly? - IRCX was developed 15-18 years ago o_O

 Respond  
blackvenomm666   -  Sep 20, 2011

i learned you can actually use /nickserv and /chanserv on chatspace servers as well:D haha. im running unrealircd meh

 Respond  
xdesoto   -  Sep 20, 2011

No, I don't think I have Jethro. I just don't like the fact theres so many things to learn. I.e. /nickserver blah
/chanserv blah

 Respond  
Jethro   -  Sep 20, 2011

Did you ever do IRCX, xdesoto?

 Respond  
Frenetic   -  Sep 20, 2011

no you won once

 Respond  
xdesoto   -  Sep 20, 2011
  Did -x $dname $dname

to Dialog -x $dname $dname

 Respond  
xdesoto   -  Sep 20, 2011

So what exactly did you "do?" lost me on that.
Frentic, I lost at UNO both games.

 Respond  
Frenetic   -  Sep 20, 2011

Y'know, you like mine xDesto. You beat me and n0rp at uno. Lol.

 Respond  
Jethro   -  Sep 20, 2011

So what exactly did you "do?"

 Respond  
xdesoto   -  Sep 20, 2011

Chatspace. And I don't really do irc-d's -_- They are annoying to me.

 Respond  
blackvenomm666   -  Sep 20, 2011

ahh well you sh ould come chill on mine. and when yours is back up i'll come over and chill. is it ircd or chatspace?

 Respond  
xdesoto   -  Sep 20, 2011

I do have my own server. Although it's not up right now.

 Respond  
blackvenomm666   -  Sep 20, 2011

whats this i hear you have your own server desoto and scakk is from ezzychat thats why its familiar bro

 Respond  
xdesoto   -  Sep 20, 2011

@ Ryan,
Eh, I don't like @windows I find it annoying.
@ReQueST, I'm not at many CS servers where I get more than one invite at a time.
So, I never thought of putting that in.
@Aha2Y, Yeah just give me a minute
@Scakk (why does that name sound so familiar) Thanks I'll edit.

 Respond  
Scakk   -  Sep 20, 2011
    If ($did = 4) { 
      Did -x $dname $dname
      Haltdef
    }

Should be --> dialog -x $dname $dname

 Respond  
Jordyk19   -  Sep 20, 2011

Can you add a screenshot of the dialog? :)

 Respond  
ReQueST   -  Sep 20, 2011

This seriously looks like a script i made ages ago.
Still, it's funtional, for upto 1 invite at a time. Won't renew the dialog for newer invites.
Thus not to functional for a mass invite triggered via perfom. (Tho /ajinvite on would help there)

 Respond  
blackvenomm666   -  Sep 20, 2011

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

 Respond  
Beautifulll   -  Sep 20, 2011

works perfect !

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.