#I need to create a blacklist for certain items for a /dupe server

1 messages · Page 1 of 1 (latest)

hushed pendant
#

Is /dupe command a plugin or skript

upbeat escarp
#

It is a skript.

gusty quiver
#

Send the whole script

hushed pendant
#

Send me dupe command skript

upbeat escarp
#

Got it, just to let you know the /dupe is inside the you can not dupe said items.

#

Let me go get it now for you

#
command /dupe:
 trigger:
  give player player's held item
  if player's held item is air:
   send "&4&lIron&3&o&l&f&lDupe > &7NO DUPING AIR ! "
   cancel the cooldown
   stop
   if player's held item is bedrock:
   send "&4&lHfc&3&o&lX&f&lDupe > &7This item is &0&l&oblacklisted ! "
   cancel the cooldown
   stop
   if player's held item is Red Dye:
   send "&4&lHfc&3&o&lX&f&lDupe > &7This item is &0&l&oblacklisted ! "
   cancel the cooldown
   stop
gusty quiver
#

Use ` please

upbeat escarp
#

My bad

hushed pendant
#

Is that cmd it?

gusty quiver
#

```
Code
```

upbeat escarp
#

Not to sure why I forgot to do that, my bad

gusty quiver
#

You give the player the item before the check

hushed pendant
#

^^^^^

gusty quiver
#

Move that line to the end

hushed pendant
#

Would recommend making a dupe check function

gusty quiver
#

Also, you need to indent properly

hushed pendant
#

or list

#

Adding ifs make it slow

upbeat escarp
#

Ahh I see ty.

#

I'll do that now and then update you guus

#

guys*