XkAcY- Posted August 19, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 0 Joined: 11/13/11 Last Seen: April 5, 2017 Share Posted August 19, 2012 How to check the refine on item.. example mes "Hello do you want to warp?"; next; switch(select("Yes:No")){ case 1: Check the item + example when the item is +7 and up goto warp. but when the item is +7 below goto sorry.. anyone can make this? Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted August 20, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: April 17 Share Posted August 20, 2012 *getequiprefinerycnt(<equipment slot>) Returns the current number of pluses for the item in the specified equipment slot. For a list of equipment slots see 'getequipid'. Can be used to check if you have reached a maximum refine value, default for this is +10: if(getequiprefinerycnt(EQI_HEAD_TOP) < 10) goto L_Refine_HeadGear; mes "Sorry, it's not possible to refine hats better than +10"; close; L_Refine_HeadGear: mes "I will now upgrade your "+getequipname(EQI_HEAD_TOP); Quote Link to comment Share on other sites More sharing options...
Peopleperson49 Posted August 25, 2012 Group: Members Topic Count: 219 Topics Per Day: 0.05 Content Count: 1181 Reputation: 141 Joined: 01/27/12 Last Seen: April 15 Share Posted August 25, 2012 XkAcy- there is a document called trunk/doc/script_comands.txt that breaks down all the script commands for you! If you just search the for whatever you need it should help out. In your case just search for refine and you will see all the commands that relate to refining. Peopleperson49 Quote Link to comment Share on other sites More sharing options...
Question
XkAcY-
How to check the refine on item..
example
mes "Hello do you want to warp?";
next;
switch(select("Yes:No")){
case 1:
Check the item + example when the item is +7 and up goto warp. but when the item is +7 below goto sorry..
anyone can make this?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.