Ace
2006-05-26 22:04:40
function GetObjInInventory(slot : Integer) : String;
var
text : String;
pMouse : Boolean;
begin
pMouse:= benmouse;
benmouse:= false;
MMouseItem(slot);
Wait(40 + Random(10));
text:= GetOption;
text:= Between(' ',' /',text);
result:= text;
benmouse:= pMouse;
end;This returns the name of the item in the slot you specify.
It's not much… But I had the Idea and I thought it may be worth adding. :p
Thanks to Krazy_Meerkat for the idea about not messing with mouse settings.