ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Upon Exit Avatar Name Removal (Bots)
Upon Exit Avatar Name Removal // BotsbarbarossaMay 11, 2001, 6:20pm
To: All Avid Users of AW,
Now (Comment directed towards the arrogent markaveli) That I have read the OFFICIAL AW C++ sdk pages, & figured out how to create commands that execute upon the exit of a user, how do you remove the name of the avatar that left from a list box?? I have made my K bot (Self-Made) beep & add the new avatar name to a listbox. But how do you remove the name from the listbox upon avatar departure? I have tried List1.RemoveItem sdk.AwAvatarName , but all that I recieve is an overflow error. Please assist me,.. Desperate Programmer, Barbarossa 315942 P.S. (Post Scriptum/After Writing) I have been an AW citizen ever since Nov '99. WHo's the newbie now, markaveli? After all, you did say that you missed a year of aw! lord fettMay 11, 2001, 6:25pm
Here is what to do:
For i = 0 To List1.ListCount - 1 If List1.List(i) = sdk.AwAvatarName Then List1.RemoveItem i End If Next -Lord Fett [View Quote] |