View Single Post
Old 10-14-2005, 11:12 PM   #20 (permalink)
brodock
Forum Novice
 
brodock's Avatar
 
Join Date: Jan 2003
Location: Florianópolis, SC - Brazil
Age: 22
Posts: 579
Default

Quote:
Originally Posted by XxSP1DERxX
That code says

If its an item, and its not a multi and not a house sign and its not in a secure group, then add it to the list of items which will be removed.

To me this sounds pretty good


Also I don't know how I missed this script... I think at the time, I was away from the internet (remodeling)... but this script is an EXTREMELY good idea. I will give out a rare peice of +karma for this. And its only because I may actually use it. If I do use it, you can bet that I will be picking it for optimizations, and if I find any I will get back to you
if ( items && (obj is Item) && !((obj is BaseMulti) || (obj is HouseSign)) && !GroupsHandler.InSecureGroup( obj as Item ) )
toDelete.Add( obj );

it's not that...

the conditions are:
If it's and item and it's not a multi OR if it's a HouseSign and it's not in seguregroup..

but you shoul be able to remove any item that satisfy the first condition... cause it doesn't check if it's in a secure group.
__________________
UO Central: O Mistério do Oculto
(Free Shard Brasileiro)

brodock is offline