Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Soul on January 20, 2003, 03:39 PM

Title: I think i messed
Post by: Soul on January 20, 2003, 03:39 PM
Well, i think i messed up on one of my codes. It doesn't remove a person from the list that leaves. Here is the code:
Private Sub Event_Leave(strUser, strFlag)
    'User leaves current channel
    'strUser: User's Name
    'strFlag: User's Status Flag
    frmBot.ChannelUsers.ListItems.Remove (frmBot.ChannelUsers.FindItem(strUser).Index)
End Sub
Title: Re: I think i messed
Post by: Mesiah / haiseM on January 20, 2003, 06:54 PM
if you display them by there name, then i see nothing wrong with that..