Getting an Error in CMD. I try to understand the problem but i couldn't im not really good in scripting i need help
Here is my Script
new_zone02,79,101,6 script Lotto4 Refiner 414,{
mes "[Lotto4 Refiner]";
if(countitem(7364)>=1) goto L_Refine;
mes "You don't have any Lotto4s with you, come back again when you have them.";
close;
L_Refine:
mes "Please select which item to refine:";
next;
menu getequipname(1),PART1,getequipname(2),PART2,getequipname(3),PART3,getequipname(4),PART4,getequipname(5),PART5,
getequipname(6),PART6,getequipname(7),PART7,getequipname(8),PART8,getequipname(9),PART9,getequipname(10),PART10;
//Head Gear
PART1:
set @part,1;
if (getequipisequiped(1)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "Do you want me to refine your dumb brain?";
emotion 6;
goto M_Menu;
//Armor
PART2:
set @part,2;
if (getequipisequiped(2)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "Do you want me to melt your body with blazing heat...?";
emotion 6;
goto M_Menu;
//Left Hand
PART3:
set @part,3;
if (getequipisequiped(3)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "I can't make your left hand into an ultimate weapon...";
emotion 4;
goto M_Menu;
//Right Hand
PART4:
set @part,4;
if (getequipisequiped(4)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "I can't make your right hand into an ultimate weapon...";
emotion 4;
goto M_Menu;
//Garment
PART5:
set @part,5;
if (getequipisequiped(5)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "Look here... you don't have any Garments on...";
goto M_Menu;
//Foot Gear
PART6:
set @part,6;
if (getequipisequiped(6)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "Ack!! Those are some stinky feet. I definitely can't refine those... uck!!";
emotion 16;
goto M_Menu;
//Accessory1
PART7:
set @part,7;
if (getequipisequiped(7)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "What do you mean by Accessory? Which One?";
emotion 20;
goto M_Menu;
//Accessory2
PART8:
set @part,8;
if (getequipisequiped(8)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "What do you mean by Accessory? Which One?";
emotion 20;
goto M_Menu;
PART9:
set @part,9;
if (getequipisequiped(9)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "What do you want from me? There's nothing equipped there...";
emotion 20;
goto M_Menu;
PART10:
set @part,10;
if (getequipisequiped(10)) goto CHECK1;
mes "[Lotto4 Refiner]";
mes "What do you want from me? There's nothing equipped there...";
emotion 20;
goto M_Menu;
//Check if the item is refinable...
CHECK1:
if(getequipisenableref(@part)) goto CHECK2;
mes "[Lotto4 Refiner]";
mes "I can't work on this item...";
close;
//Check if the item is identified... (Don't know why this is in here... but kept it anyway)
CHECK2:
if(getequipisidentify(@part)) goto CHECK3;
mes "[Lotto4 Refiner]";
mes "You must appraise this item first.";
close;
//Check to see if the items is already +10
CHECK3:
if(getequiprefinerycnt(@part) < 10) goto REFINE;
mes "[Lotto4 Refiner]";
mes "This weapon is already at its maximum level and can no longer be refined.";
close;
REFINE:
delitem 7364,1;
successrefitem @part;
next;
mes "Your item has been refined.";
close;
}
and this is Error in CMD
Someone please correct this script I'm using rAthena Version
Question
JassMax
Getting an Error in CMD.
I try to understand the problem but i couldn't im not really good in scripting i need help
Here is my Script
and this is Error in CMD
Someone please correct this script
I'm using rAthena Version
Link to comment
Share on other sites
9 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.