Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/05/24 in all areas

  1. getinventorylist; for (.@i = 0; .@i < @inventorylist_count; .@i++) { if (getiteminfo(@inventorylist_id[.@i], ITEMINFO_TYPE) == IT_CARD) .@menu$ = .@menu$ + getitemname(@inventorylist_id[.@i]); .@menu$ = .@menu$ + ":"; } .@i = select(.@menu$) - 1; mes "Your selected card = " + getitemname(@inventorylist_id[.@i]); you can also do this this way.
    1 point
×
×
  • Create New...