Author Topic: Join Confirm on Invite  (Read 2906 times)

DarkStar

  • Full Member
  • ***
  • Posts: 135
  • Scripts for Praise
    • CorpseCorp
Join Confirm on Invite
« on: December 12, 2008, 09:25:26 AM »
Someone asked me to make a script that would ask them if they wanted to join a channel when they were invited. Here it is.

Code: [Select]
Sub ONINVITE(Nickname, Channel, ServerNumber)
  if MesBox(Nickname & " invited you to " & channel & ", Would you like to join?","Icechat",4)=6 then SendCommand "/join " & channel,ServerNumber
End Sub
« Last Edit: December 13, 2008, 09:45:27 AM by DarkStar »
This message brought to you by the Wonderful Wizard of Oz.

DarkStar

  • Full Member
  • ***
  • Posts: 135
  • Scripts for Praise
    • CorpseCorp
Re: Join Confirm on Invite
« Reply #1 on: December 13, 2008, 09:45:42 AM »
I updated the script to use a non-blocking dialog.
This message brought to you by the Wonderful Wizard of Oz.