Should BE:
//===== Config =====
set $precogmct,300; // Price (in CashPoints) for 15 days
set $daysweek,15; //15 days for 2 weeks VIP
function script vipct {
mes "I can provide you "+$daysweek+" days of VIP subscription in exchange for "+$precogmct+" CashPoints";
mes "What do you thing?";
if(select("Yes, I want IT!!:No, not for now.") == 2) close;
if(#CASHPOINTS < $precogmct){
mes "You don't have enough CASHPOINTS!! Come back later.";
close;
}
if(getgroupid() == 0 || getgroupid() == 5){
set .@RandomFinalize,rand(100,999);
mes "Are you sure you want to exchange ^FF0000"+$precogmct+"^000000 CashPoints? If your 100% sure type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) {
next;
mes "You really should thing about it First!.";
close;
}
atcommand "@vip "+$daysweek+"d "+strcharinfo(0);
//set #CASHPOINTS,#CASHPOINTS - $precogmct;
mes "Thank you very Much! We have added "+$daysweek+" days of VIP subscription to your account!";
close;
}
mes "Your account level doesn't allow me to give you VIP status. Only normal and VIP account can have VIP status!";
close;
}
//You had an extra Plus signal