#Can Anyone Help me Fix my Skript with 0 Erros , but seems like it wont work , and ik 100% it should

1 messages · Page 1 of 1 (latest)

trail spindle
#

on mine of oak log:
if player is holding chest minecart named "&fBBB" in off hand:
set {amountwood} to amount of oak log in player's inventory
loop {amountwood} / 64 times:
remove 64 oak log from player's inventory
set {wood} to glowing oak wood
add {wood} to player's inventory
that the skript forget the name and stuff just wonder why doesn't it works?

fading sparrow
#

Debug!!!

#

And use {_variablename}

full hemlock
#

shouldnt offhand be one word

fading sparrow
#

If player's offhand is chest minecart named ".."

full hemlock
#

or if name of player’s offhand contains “..”

fading sparrow
#
  1. Use local variables
  2. Give player <item>
  3. If player's offhand is<item>
#

@trail spindle

fading sparrow
trail spindle
#

oh i see.

#

imma try it

fading sparrow
#

Please also learn local variables

#

Just google what they are

trail spindle
#

i mean its still doesn't works

trail spindle
#

like im developing but new to skript

#

Could you Help me Fix my Skript?

fading sparrow
trail spindle
#

thho

fading sparrow
#

What doesnt work?

trail spindle
fading sparrow
#

Yes im aware but what part

trail spindle
trail spindle
fading sparrow
#
    if player's offhand is chest minecart named "&fBBB":
        set {_amountwood} to amount of oak log in player's inventory
        loop {_amountwood} / 64 times:
            remove 64 oak log from player's inventory
            set {_wood} to glowing oak wood
            give player {_wood}``` im not sure if this is the correct syntax for checking the offhand
trail spindle
fading sparrow
#

player's offhand tool

trail spindle
#

i wanted to yk design the name and shi later but seems like i gotta worry about smt else now.

#

okay

trail spindle
fading sparrow
#

Hm

#

Same error?

trail spindle
#

Yes..

#

i dont get it my skript was all right, 0 errors and worked in my last season..

#

-_-

fading sparrow
#

Um

trail spindle
#

i tried this before

#

options:
offhandName: &x&A&C&4&D&0&0ᴡ&x&B&0&4&F&0&0ᴏ&x&B&4&5&0&0&0ᴏ&x&B&8&5&2&0&0ᴅ &x&B&F&5&6&0&0ᴄ&x&C&3&5&7&0&0ᴏ&x&C&7&5&9&0&0ᴍ&x&C&B&5&B&0&0ᴘ&x&C&F&5&C&0&0ʀ&x&D&3&5&E&0&0ᴇ&x&D&6&6&0&0&0ꜱ&x&D&A&6&2&0&0ꜱ&x&D&E&6&3&0&0ᴏ&x&E&2&6&5&0&0ʀ&x&A&C&4&D&0&0ᴡ&x&B&0&4&F&0&0ᴏ&x&B&4&5&0&0&0ᴏ&x&B&8&5&2&0&0ᴅ &x&B&F&5&6&0&0ᴄ&x&C&3&5&7&0&0ᴏ&x&C&7&5&9&0&0ᴍ&x&C&B&5&B&0&0ᴘ&x&C&F&5&C&0&0ʀ&x&D&3&5&E&0&0ᴇ&x&D&6&6&0&0&0ꜱ&x&D&A&6&2&0&0ꜱ&x&D&E&6&3&0&0ᴏ&x&E&2&6&5&0&0ʀ
glowWoodName: &x&C&1&3&F&0&0ᴄ&x&C&1&3&F&0&0ᴏ&x&C&0&3&F&0&0ᴍ&x&C&0&3&F&0&0ᴘ&x&C&0&3&F&0&0ʀ&x&B&F&3&E&0&0ᴇ&x&B&F&3&E&0&0ꜱ&x&B&F&3&E&0&0ꜱ&x&B&E&3&E&0&0ᴇ&x&B&E&3&E&0&0ᴅ &x&B&D&3&E&0&0ᴏ&x&B&D&3&E&0&0ᴀ&x&B&D&3&E&0&0ᴋ

on break of oak log:
if player's off hand item is chest named "{@offhandName}":
set {_amountwood} to amount of oak log in player's inventory
if {_amountwood} >= 64:
loop floor({_amountwood} / 64) times:
remove 64 oak log from player's inventory
set {_glow} to oak log named "{@glowWoodName}"
give player {_glow}

fading sparrow
#

Its off hand not offhand

trail spindle
#

but it didnt worked

#

and that has 0 errors too

#

but

#

doesn't works

fading sparrow
#
    if player's off hand is chest minecart named "&fBBB":
        set {_amountwood} to amount of oak log in player's inventory
        loop {_amountwood} / 64 times:
            remove 64 oak log from player's inventory
            set {_wood} to glowing oak wood
            give player {_wood}``` im not sure if this is the correct syntax for checking the offhand
#
    if player's off hand is chest minecart named "&fBBB":
        set {_amountwood} to amount of oak log in player's inventory
        loop {_amountwood} / 64 times:
            send loop-value
            remove 64 oak log from player's inventory
            set {_wood} to glowing oak wood
            give player {_wood}```
#

What does this send?

trail spindle
#

idk all i did was right just doesn't works, and i did it last season and all works

trail spindle
#

Again 0 Erros , but doesn't works

#

like wtf?

fading sparrow
#

What does it send

trail spindle
#

none erros

#

but

#

it doesn't works

fading sparrow
#
    if player's off hand tool is chest minecart named "&fBBB":
         send "offhand found" to player
        set {_amountwood} to amount of oak log in player's inventory
        loop {_amountwood} / 64 times:
            send loop-value
            remove 64 oak log from player's inventory
            set {_wood} to glowing oak wood
            give player {_wood}```
trail spindle
#

is there any chance any of my skripts blocks it ?

fading sparrow
#

Nope

trail spindle
#

i got my own Custom Fortune System but there is no issues with it

fading sparrow
#

Canceling it somewhere else still makes it trigger

trail spindle
#

Mabye i should Delete SkriptQuert

trail spindle
#

none erros

#

errors

#

i dont get it

fading sparrow
trail spindle
#

Rly?

fading sparrow
trail spindle
#

Mabye that the issue?

trail spindle
trail spindle
fading sparrow
#

Send

trail spindle
#

Send whhaht?

fading sparrow
#

Like a message

#

When you mine

trail spindle
#

there is no function set mining msg yk?

#

oh in the new one

#

i didnt tried it

#

Wait i Restarted my Server few seconds

#

.

fading sparrow
#

You can find the issue like this and easier solve it instead of just blind guessing

trail spindle
#

Okay it works :D

#

i think its bc

#

i deleted

#

the

#

SkriptQuery

#

Even tho i fixed your skript

#

it had 3 erros

#

errors

fading sparrow
#

What did i do?

trail spindle
#

Send Loop-Value didnt worked, since i think you should set The what value of what loop , + idk why but i cant set it to glowing oak wood for some reason

fading sparrow
#

You need skbee i think idrk

trail spindle
#

i do use skbee

fading sparrow
#

Then idk

#

I can use it :/

viscid hemlock
#

I think ik

trail spindle
#

ik i could too

trail spindle
viscid hemlock
#

in skript sometimes it's annoying and basically you gotta put your item as a variable

#

like this

#
variables:
  whatever: glowing oak log
fading sparrow
#

Never had that

viscid hemlock
#

I used it in one of my skripts

#

when it didn't work or gave an error

trail spindle
#

idk its giving me errors , but i dont mind it rn

viscid hemlock
#

error message?

#

send ss

trail spindle
#

no need to, its just says it cant understand the line {line} then Cant Find Function/Conditions "Glowing Oak wood"

viscid hemlock
#

ok

trail spindle
#

See, dont Mind the Errors up , i just tested smt

viscid hemlock
#

try using the variables thingy, if it doesn't work then see if your plugins are updated, if that doesn't work remove plugins one by one starting with sk addons until finding the culprit.

trail spindle
#

i will later.

#

thanks

viscid hemlock
#

np

blissful basin
#

Pretty sure you need SkQuery to write glowing, but just enchant it with lure 1 I know that is how they made the glow effect for earlier versions and then just hid the item flags

fading sparrow
#

Nah i use it while only having skript skbee and skript-gui for some reason