VERSION 5.00
Begin VB.Form frmClanInviteMulti 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Clan Creation Invitation"
   ClientHeight    =   3030
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   6375
   BeginProperty Font 
      Name            =   "Verdana"
      Size            =   9
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "frmClanInviteMulti.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3030
   ScaleWidth      =   6375
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox txtUsers 
      BackColor       =   &H8000000F&
      BeginProperty Font 
         Name            =   "Courier New"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   120
      Locked          =   -1  'True
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   5
      Top             =   720
      Width           =   6135
   End
   Begin VB.CommandButton cmdDecline 
      Caption         =   "No"
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   3360
      TabIndex        =   1
      Top             =   2400
      Width           =   1215
   End
   Begin VB.CommandButton cmdAccept 
      Caption         =   "Yes"
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   2040
      TabIndex        =   0
      Top             =   2400
      Width           =   1215
   End
   Begin VB.Timer tmrCountdown 
      Interval        =   1000
      Left            =   5760
      Top             =   2520
   End
   Begin VB.Label lblThereAre 
      Caption         =   "There are only {X} seconds left before this invitation expires!"
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   255
      Left            =   120
      TabIndex        =   4
      Top             =   1560
      Width           =   6135
   End
   Begin VB.Label lblYouHave 
      Caption         =   "You have been invited to create Clan {0} by {1}"
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   120
      TabIndex        =   3
      Top             =   120
      Width           =   6135
   End
   Begin VB.Label lblDoYou 
      Caption         =   "Do you want to accept the invitation?"
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   2
      Top             =   1920
      Width           =   3615
   End
End
Attribute VB_Name = "frmClanInviteMulti"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Public BotIndex As Integer, Counter As Integer

Private Sub cmdAccept_Click()
    frmBot.Bot(BotIndex).SendClanCreationInvitation True
    Unload Me
End Sub

Private Sub cmdDecline_Click()
    frmBot.Bot(BotIndex).SendClanCreationInvitation False
    Unload Me
End Sub

Private Sub tmrCountdown_Timer()
    Counter = Counter - 1
    If Counter <= 0 Then
        Unload Me
    Else
        lblThereAre.Caption = "There are only " & Counter & " seconds left before this invitation expires!"
    End If
End Sub

