Jump to content
  • 0

requesting for Some Script


Kudo

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

requesting card remover that remove cards compund at costumes Costume Top / Mid / Lower... its just like a normal card remover but instead of removing card at general tab.. it will remove cards at costume tab... because i have a custom card that equips on costumes.... thx in advanced

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

try

prt_fild01,170,322,5	script	sdfg	56,{
	setarray .@equipped, getequipid( EQI_COSTUME_HEAD_LOW ), getequipid( EQI_COSTUME_HEAD_MID ), getequipid( EQI_COSTUME_HEAD_TOP ), getequipid( EQI_COSTUME_GARMENT );
	.@s = select( ( .@equipped[0] > 0 ? "Deslot costume low" : "" ),
					( .@equipped[1] > 0 ? "Deslot costume mid" : "" ),
					( .@equipped[2] > 0 ? "Deslot costume top" : "" ),
					( .@equipped[3] > 0 ? "Deslot costume garment" : "" ) ) -1;
	getinventorylist;
	for ( .@i = 0; .@i < @inventorylist_count; .@i++ )
		if ( .@equipped[.@s] == @inventorylist_id[.@i] && @inventorylist_equip[.@i] > 1000 && @inventorylist_equip[.@i] < 9000 ) break;
	if ( !@inventorylist_card1[.@i] && !@inventorylist_card1[.@i] && !@inventorylist_card1[.@i] && !@inventorylist_card1[.@i] ) {
		mes "none card inserted";
		close;
	}
	delequip (11+.@s);
	getitem2 .@equipped[.@s],1,1,@inventorylist_refine[.@i],@inventorylist_attribute[.@i],0,0,0,0;
	for ( .@j = 1; .@j <= 4; .@j++ )
		if ( getd( "@inventorylist_card"+ .@j +"["+ .@i +"]" ) > 0 )
			getitem getd( "@inventorylist_card"+ .@j +"["+ .@i +"]" ),1;
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

bump!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

thx for the script Capuche

Link to comment
Share on other sites

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.

×
×
  • Create New...