Originally posted by [b]Lemongrass[/b]
[quote name='malufett' timestamp='1337610783' post='9406']
for my algorithm its better to break the loop if the condition is already satisfy..because it is non sense to continue if its already proved...
[/quote]
I don't really get what kind of algorithm is behind checking a player and the first player that doesn't fit the requirements, terminates the loop, but maybe you could explain a little bit more in detail what you did there or what you tried to do.
[quote name='malufett' timestamp='1337610783' post='9406']
as Masao suggest to indicate the id...for me its better to be generic because and as you said 99% is pleased so how about the 1%...

[/quote]
Yeah but I would say you should keep in mind for which sake you implemented this behavior and that is only for the reason to check the instance leaders party for a certain criteria and that only happens if the party leader is allready attached to the npc that runs the check. But that one isn't really the problem here, the real problem is that the documentation is wrong. The thing with the party ID is just a matter of design.