Jump to content
  • 0
Sign in to follow this  
markblank05

how to get the card id in selected item?

Question

hi, im trying to make my first npc and i cant figure out how can i get the card compounded in the item that i select. here is my script

 

prontera,147,171,5	script	Enchanter#	50,{	disable_items;	mes "[Enchanter]";	next;		setarray .@position$[1], "Head", "Body", "Left hand", "Right hand", "Robe", "Shoes", "Accessory 1", "Accessory 2", "Head 2", "Head 3";	set .@menu$, "";		for (set .@i, 1; .@i <= 10; set .@i,.@i + 1)	{		if(getequipisequiped(.@i))		{			set .@menu$, .@menu$ + .@position$[.@i] + " - " + "[" + getequipname(.@i) + "]";			set .@equipped, 1;		}		set .@menu$, .@menu$ + ":";	}		set .@part, select(.@menu$);	set .@equip_id, getequipid(.@part);	set .@equip_r, getequiprefinerycnt(.@part);		mes "Item ID: " + .@equip_id;	mes "Refine level: " + .@equip_r;	mes "Slot 1: ";	mes "Slot 2: ";	mes "Slot 3: ";	mes "Slot 4: ";			close;}

 

how can i get the card id in my selected items? thanks



nvm, solve

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.