2 Diablo Set to 1 Valkyrie Set

Try : 

Code:
prontera,150,150,0	script	Sample	123,{	// diablo parts id here	setarray .id[0],2729,2375;	// put valkyrie parts id here	setarray .vid[0],2357,2115;	mes "Bring me 2 diablo set for 1 valkyrie set";	next;	if (select("I have those requirements:Ok")-1) close;	for ( .@i = 0; .@i < getarraysize(.id); .@i++ ) {		if ( countitem(.id[.@i]) < 2 ) {			mes "You need the following : ";			for ( .@x = 0; .@x < getarraysize(.id); .@x++ )				mes "2x " +getitemname(.id[.@x]);			close;		}	}		for ( .@i = 0; .@i < getarraysize(.id); .@i++ )		 delitem .id[.@i], 2;	for ( .@i = 0; .@i < getarraysize(.vid); .@i++ )		 getitem .vid[.@i], 1;	mes "Done!";	close;}
 
Try : 

prontera,150,150,0 script Sample 123,{ // diablo parts id here setarray .id[0],2729,2375; // put valkyrie parts id here setarray .vid[0],2357,2115; mes "Bring me 2 diablo set for 1 valkyrie set"; next; if (select("I have those requirements:Ok")-1) close; for ( .@i = 0; .@i < getarraysize(.id); .@i++ ) { if ( countitem(.id[.@i]) < 2 ) { mes "You need the following : "; for ( .@x = 0; .@x < getarraysize(.id); .@x++ ) mes "2x " +getitemname(.id[.@x]); close; } } for ( .@i = 0; .@i < getarraysize(.id); .@i++ )  delitem .id[.@i], 2; for ( .@i = 0; .@i < getarraysize(.vid); .@i++ )  getitem .vid[.@i], 1; mes "Done!"; close;}
when i click OK nothing happens. can you change like 1 silver valk set and 1 white valk set to 1 valkyrie set? (Armor,Mantue,and Shoes) not hg's

 
^ I warned you already about bumping your post. And I also tell you that read the Hercules Forum Rules about that.

Please follow the rules. for the min time I will delete your last bump..

 
Back
Top