Try it
function script FreebieFuns {
if(##FreebiesPackageRapierLatest== 1){
next;
mes "You already claimed your Freebies Package.";
dispbottom "You already claimed your Freebies Package!";
close;
}else{
goto gpack;
}
gpack:
mes "[Freebies Package]";
mes "Please choose a 1 Headgear";
next;
switch(select("[White Saiyan Aura] White Saiyan Aura[0]:[Red Saiyan Aura] Red Saiyan Aura[0]:[Black Saiyan Aura] Black Saiyan Aura[0]:[God Saiyan Aura] God Saiyan Aura[0]:[Yellow Saiyan Aura] Yellow Saiyan Aura[0]"))
{
case 1:
setarray .@RORGWeap[0],50367;
break;
case 2:
setarray .@RORGWeap[0],50364;
break;
case 3:
setarray .@RORGWeap[0],50359;
break;
case 4:
setarray .@RORGWeap[0],50361;
break;
case 5:
setarray .@RORGWeap[0],50368;
break;
}
mes "[Freebies Package]";
mes "Here are your supplies!";
close2;
set .@itemsrecieved$,"You recieved the items : ";
for ( set .@i,0; .@i != getarraysize(.@RORGWeap); )
{
getitembound2 .@RORGWeap,1,1,0,0,0,0,0,0,Bound_Account;
set .@itemsrecieved$, .@itemsrecieved$ + .@RORGWeap[.@i] + ", ";
set .@i, .@i + 1;
}
//set .@itemsrecieved$, .@valkyriehelm$ + .@middlegear+ ", " + .@lowergear + .@weapon;
dispbottom "You succesfully claimed your Freebies Package";
specialeffect2 248;
set ##FreebiesPackageRapierLatest,1;
delitem 38816,1;
end;
}