| is there a way that i could make a function like: 
 
function operateitem(t.type)
for t.type = each type
t\x = 1
next
end function
 ??
 
 the reason for this is that i need to operate a large amount of items using the same method, just different names, so rather than copying the code:
 
 
 
 a billion times and chopping the names out and replacing them, I could  just say:
 
 operateitems(number1.genericitem)
 operateitems(number2.genericitem)
 operateitems(number3.weapon)
 
 etc.
 
 NOTE: each type of different kinds (genericitem, weapon, etc.) share the fields used in the proposed function.
 
 
 |