Valhalla Legends Forums Archive | Battle.net Bot Development References | Creating a Channel Protection Feature

AuthorMessageTime
CrAz3D
I am working on my channel rpotection & I am able to check the safelist when people join, but when it is first enabled I am confusing on how to go about checking everyone that is already in the channel. Might some one be able to help?
May 13, 2003, 9:10 PM
Grok
pseudocode

[code]
on protect-enable:
for each person in userlist
getAction = doJoinEvaluate( person )
if getAction is NULL
else
person.perform getAction;
get next person
[/code]

Hope this helps.
May 13, 2003, 10:12 PM
CrAz3D
Thank you very much, that should help me quite a bit.
May 14, 2003, 9:22 PM

Search