Jump to content
  • 0

request blacklist item script


Question

2 answers to this question

Recommended Posts

  • 1
Posted
7 hours ago, rotloso said:

hi rathena, i follow https://rathena.org/board/topic/108405-random-item-option-dealer-npc/

may i know how to blacklist item

EX: KVM armor, Siege armor ,Mora armor

please teach me or guide me!!

Before " IgnoreCheck: " in the script add.

if( compare( .blacklist$, "|"+getequipid(.@part)+"|" ) ) {
	mes "[ Keitenai ]";
	mes "It looks like I can't enhance that item.";
	close;
}

After price " set .Price,10000000; // Prize of random option " in the script add.
 

set .blacklist$, "|1599|2199|512|";

Just follow my formatting to add more items.

  • Upvote 1
  • 0
Posted
11 hours ago, Skorm said:

Before " IgnoreCheck: " in the script add.


if( compare( .blacklist$, "|"+getequipid(.@part)+"|" ) ) {
	mes "[ Keitenai ]";
	mes "It looks like I can't enhance that item.";
	close;
}

After price " set .Price,10000000; // Prize of random option " in the script add.
 


set .blacklist$, "|1599|2199|512|";

Just follow my formatting to add more items.

WOW!!! thx, script can use

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...