#how do i only make a skript work in one world

1 messages · Page 1 of 1 (latest)

vale nimbus
#
  cooldown: 1 day
  cooldown message: &c&lYou can only use this command once a DAY!
  trigger:
    give wooden pickaxe of unbreaking 255 named "&f&lWooden Pickaxe" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player
    give wooden axe of unbreaking 255 named "&f&lWooden Axe" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player
    give shears of unbreaking 255 named "&f&lShears" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player
    give wooden sword of unbreaking 255 named "&f&lWooden Sword" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player
    give Leather helmet of unbreaking 255 named "&f&lLeather Helmet" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player
    give Leather chestplate of unbreaking 255 named "&f&lLeather chestplate" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player
    give Leather Leggings of unbreaking 255 named "&f&lLeather Leggings" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player
    give Leather boots of unbreaking 255 named "&f&lLeather Boots" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player```
odd ruin
#
if player is in world "skyblock":
  #code
else:
  send "You are not In skyblock!" to player
vale nimbus
#

do i put the command part before the if?

#
if player is in world "skyblock":
  #code
else:
  send "You are not In skyblock!" to player```?
craggy pumice
vale nimbus
craggy pumice
vale nimbus
craggy pumice
vale nimbus
restive parcel
#

are you using the multiverse plugin?

vale nimbus
#

yes

#

well no im trying to make my kit command work in my skyblock world and only that one word

craggy pumice
vale nimbus
#

it does not tell me that indentations is a problem and here is the skript if you want to check command /skyblockkit: if player is in world "ul_void": cooldown: 1 day cooldown message: &c&lYou can only use this command once a DAY! trigger: give wooden pickaxe of unbreaking 255 named "&f&lWooden Pickaxe" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player give wooden axe of unbreaking 255 named "&f&lWooden Axe" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player give shears of unbreaking 255 named "&f&lShears" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player give wooden sword of unbreaking 255 named "&f&lWooden Sword" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player give Leather helmet of unbreaking 255 named "&f&lLeather Helmet" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player give Leather chestplate of unbreaking 255 named "&f&lLeather chestplate" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player give Leather Leggings of unbreaking 255 named "&f&lLeather Leggings" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player give Leather boots of unbreaking 255 named "&f&lLeather Boots" with lore "&f&lLevel 0 &f&lStarter" with all flags hidden to player else: send "You are not In SkyBlock!" to player

odd ruin
#

he does

craggy pumice
#

oooh

#

wtf

#

is he doing

odd ruin
#

not indenting correctly

craggy pumice
#

no, why do you have a if statement before the trigger????

pulsar cape
#

The if needs to be in your trigger

#

Also you can just make tools unbreakable

restive parcel
#

maybe give him an example?

pulsar cape
#

unbreakable x

restive parcel
#

i meant trigger

#

not unbreakable

odd ruin
#
command /hi:
  trigger:
    if player is in world "ur mom":
      send "your mom" to player
pulsar cape
#

He has a trigger

#

It was working before

vale nimbus
odd ruin
#

can you send the full code?

hexed frigate
#

just do give unbreakable wooden pickaxe