noteeee
Members-
Posts
1 -
Joined
-
Last visited
noteeee's Achievements
Poring (1/15)
0
Reputation
-
prontera,150,150,6 script Sample 100,{ getinventorylist; for ([email protected] = 0; [email protected] < @inventorylist_count; [email protected]++) { if (getiteminfo(@inventorylist_id[[email protected]], 2) == 6) { [email protected]$ = [email protected]$ + "- " + getitemname(@inventorylist_id[[email protected]]) + " x"[email protected]_amount[[email protected]]+":"; [email protected][getarraysize([email protected])] = @inventorylist_id[[email protected]]; } } [email protected] = 0; mes "Please select 3 cards..."; while ([email protected] < 3) { if (getarraysize([email protected])) { mes "> 1x " + getitemname([email protected][[email protected]]); [email protected]++; } [email protected] = select([email protected]$) - 1; [email protected][getarraysize([email protected])] = [email protected][[email protected]]; [email protected]++; } mes "> 1x " + getitemname([email protected][[email protected]]); next; mes "Are you sure you want to trade these cards?"; if (select("~ Yes:~ No") & 2) end; for ([email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++) delitem [email protected][[email protected]], 1; set @Rand,rand(4001,4699); next; getitem @Rand,1; mes"Congratulations!!.... you received"; mes "^CC99CC"+getitemname(@Rand)+"^000000"; close; } I have a little bit of customization, you try this. thx @Patskie