@sai try this this should fix your error^^
prontera,127,110,5 script God's Realm 757,{
mes "Do you want to take Gods Items?";
if( select("Warp:Cancel") == 1 ){
if( countitem(20206) ){
warp "poring_w02",100,194;
end;
}
}else{
mes "Do you want to quest for the Item ?";
if( select("Okay:Cancel") == 1 ){
mes "You need those items";
for( set
[email protected],0;
[email protected] < getarraysize( .Items ); set
[email protected],
[email protected] + 1 ){
mes .Items[
[email protected] + 1 ]+" x "+getitemname( .Items[
[email protected]] );
if( countitem( .Items[
[email protected]] ) < .Items[
[email protected] + 1 ] )
set
[email protected],1;
}
if(
[email protected] ){
for( set
[email protected],0;
[email protected] < getarraysize( .Items ); set
[email protected],
[email protected] + 1 )
delitem .Items[
[email protected]],.Items[
[email protected] + 1];
getitem 20206,1;
mes "You have made 1 "+getitemname( 20206 )+" .";
}
}
}
close;
OnInit:
setarray .Items[0],
7442,200,
1009,200,
1059,200,
7035,20,
968,20,
7020,20,
7018,20,
7297,20,
7289,20,
7295,20,
7048,20,
7513,10,
7450,10,
7562,10,
670,10;
end;
}