Nadeem
2009-07-03 04:59:10
Didn't see this around, may exist IDK. When I looked through in reflection, I only found the function that returns name of selected item… Its simple, very simple, just grabs the item name based on reflection item ID.
~NS
function GetItemName(ID: Integer): string;
var Page: string;
begin
ID := ID - 1;
Page := Format('http://itemdb-rs.runescape.com/viewitem.ws?obj=%d', [ID]);
Result := Between(Format('?id=%d" alt="', [ID]), '">', GetPage(Page));
end;
~NS