Jump to content
  • 0

Help Checking Sloted Item


Question

Posted (edited)

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.

5 answers to this question

Recommended Posts

Posted

thanks clydelion

Ok 1more thing.. how to check the the (.@EQPart) Part we have restriction card? example if your armor have GR Card you cannot continue to makeslot

like this

}else if (countitem(4047(.@EQPart)) >= 1 ) {

mes .@name$;

mes "Your Item have ghostring card";

}else{

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...