help please getitemslot not working... i want to make all sloted item is not allowed to make slot again
izlude,121,254,5 script Sloter 794,{
set .@name$,"[sloter]";
mes .@name$;
mes "What do you want to make slot?";
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 .@menu$, .@menu$ + ":";
}
set .@EQPart,select( .@menu$ );
next;
if( Zeny < 100000 ){
mes .@name$;
mes "You need ^ff0000100.000^000000 Zeny.";
}else if (getItemSlots(.@EQPart) > 1 ) {
mes .@name$;
mes "Your Item is sloted";
}else{
set Zeny,Zeny - 100000;
if( rand(100) < 10 ){
makeslot (.@EQPart);
specialeffect2 EF_REFINEOK;
mes .@name$;
mes "Congrats";
}else{
failedrefitem .@EQPart;
mes .@name$;
mes "Bad Luck";
}
}
close;
}
Edited by clydelion Please use [CODEBOX] or Attachments for long contents.
Question
Jayz
help please getitemslot not working... i want to make all sloted item is not allowed to make slot again
Edited by clydelionPlease use [CODEBOX] or Attachments for long contents.
Link to comment
Share on other sites
5 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.