Simba Code:procedure dropJunk;
var inv : TInvItemArray;
invIndex : Integer;
dropTheItem : Boolean;
begin
inv := getInventoryItems;
for invIndex := 0 to high(inv) do
begin
dropTheItem := true;
case (inv[invIndex].Name) of
'Lobster': dropTheItem := false;
'Steel arrow': dropTheItem := false;
'Uncut diamond': dropTheItem := false;
'Uncut emerald': dropTheItem := false;
'Uncut ruby': dropTheItem := false;
'Uncut sapphire': dropTheItem := false;
'Trout': dropTheItem := false;
'Salmon': dropTheItem := false;
'Tuna': dropTheItem := false;
'Pizza': dropTheItem := false;
'Cake': dropTheItem := false;
'Swordfish': dropTheItem := false;
'Shark': dropTheItem := false;
'Diamond': dropTheItem := false;
end;
if(dropTheItem) then
R_dropItem(inv[invIndex].slot);
end;
end;
The Above Proc comes from iamadam's stronghold killer. I have one question. in regards to the boolean dropTheItem, is this a command referenced in reflection, and if so is the a command that would wield items instead of doping them or leaving them alone.
Basicaly what i want to do is make it so that the script wields arrows. I don't want it done for me i just want to know the command, or better yet a place where all the commands are referenced.



Reply With Quote








