MelMel's post in Request:Quest and warper npc was marked as the answer
@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 .@i,0; .@i < getarraysize( .Items ); set .@i,.@i + 1 ){
mes .Items[ .@i + 1 ]+" x "+getitemname( .Items[.@i] );
if( countitem( .Items[.@i] ) < .Items[ .@i + 1 ] )
set .@close,1;
}
if( !.@close ){
for( set .@i,0; .@i < getarraysize( .Items ); set .@i,.@i + 1 )
delitem .Items[.@i],.Items[.@i + 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;
}