markblank05 0 Posted May 22, 2015 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 Quote Share this post Link to post Share on other sites
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
how can i get the card id in my selected items? thanks
nvm, solve
Share this post
Link to post
Share on other sites