viewing paste Unknown #24965 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
switch( getarg(0) ){
  Case 1:
   // Currency [ Item ID / Variable Name ]
   set @Currency$,"7227";
   // Item ID Lists
   setarray @ItemLists[0],2301,2302,2303,2304,2305,2306;
   // Item Price
   setarray @ItemCost[0],1,2,3,4,5,6;
   break;
  Case 2:
   // Currency [ Item ID / Variable Name ]
   set @Currency$,"Zeny";
   // Item ID Lists
   setarray @ItemLists[0],2306,2302,2303,2304,2305,2301;
   // Item Price
   setarray @ItemCost[0],2,2,3,4,5,6;
   break;
  Case 3:
   // Currency [ Item ID / Variable Name ]
   set @Currency$,"#CASHPOINTS";
   // Item ID Lists
   setarray @ItemLists[0],2306,2302,2303,2304,2305,2301;
   // Item Price
   setarray @ItemCost[0],20,22,34,445,52,641;
   break;
  // Case 4,5,6.....etc...
  default:
   ErrorNotice( "Invalid Menu Selection for Menu "+@menu+"." );
   close;
}
Viewed 563 times, submitted by unknown.