viewing paste Dynamic Inventory Menu ? | Athena

Posted on the
1 2 3 4 5 6 7 8 9
prontera,155,181,5  script  Sample  757,{
mes "Your Inventory Lists..";
getinventorylist;
for( set .@i,0; .@i < @inventorylist_count; set .@i,.@i + 1 )
    set .@Menu$,.@Menu$ + getitemname( @inventorylist_id[.@i] )+":";
set .@i,select( .@Menu$ ) - 1;
mes "You have selected "+getitemname( @inventorylist_id[.@i] );
close;
}
Viewed 1524 times, submitted by Emistry.