Jump to content
  • 0

can you chang script


nageb1

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  08/13/21
  • Last Seen:  

This script develops tools +20  I want him to do the +10 development only  I want to develop the tool +1+2+3+4+5+6+7+8+9+10

I don't want him to do the 10+ upgrade at once. Can anyone help me to edit this text?

refiner10.txt

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

prontera,164,173,3	script	Refiner	826,{
	mes "^3355FF[%100 Refiner]^000000";
	mes "This Lets you refine your item to the max";
	mes " You Need "+.amount+"x "+getitemname(.item_id)+" to use my Service";
	next;
	mes "Choose the item to refine";
	mes "Choose Wisely";
	mes "Dont Ask For refine";
	mes "On GameMasters";
	mes "Think Before you refine an item";
	next;
	for (.@i = 0; .@i < .eqi_size; .@i++) {
		if (getequipid(.eqi[.@i]) != -1) 
			.@menu$ = .@menu$ + F_getpositionname(.eqi[.@i]) + " - " +getitemname(getequipid(.eqi[.@i]));
		.@menu$ += ":";
	}
	.@i = select(.@menu$) - 1;
	.@refine = getequiprefinerycnt(.eqi[.@i]);
	if (countitem(.item_id) < .amount) {
		mes "You didnt have enough "+.amount+"x "+getitemname(.item_id);
	}
	else if (.@refine >= 20) {
		mes "Your item already reached max refine.";
	}
	else {
		delitem .item_id, .amount;
		if (.@refine < 10) {
			successrefitem .eqi[.@i], (10 - .@refine);
		}
		else {
			successrefitem .eqi[.@i];
		}
		announce "["+strcharinfo(0)+"], Thanks for using my great service :)).", bc_self;
	}
	close;

OnInit:
	.item_id = 7179;
	.amount = 10;
	
	setarray .eqi,
		EQI_HEAD_TOP,
		EQI_HEAD_MID,
		EQI_HEAD_LOW,
		EQI_ARMOR,
		EQI_HAND_L,
		EQI_HAND_R,
		EQI_GARMENT,
		EQI_SHOES,
		EQI_ACC_L,
		EQI_ACC_R;
	.eqi_size = getarraysize(.eqi);
	end;
}

 

  • Upvote 1
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...