#Code isn't working it is not giving me a error pls help
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Dude
its not the skull thing
i got past that
i found out how
know my code isnt working
so yeah
You need to provide more information. You cannot just throw your pack at us and expect us to dissect it
What is not working? What should it be doing? What is it doing instead? What have you already tried?
ok let me re write it
Good idea!
I can't help you if you won't make any effort to actively seek help. This is not an adequate description of what should be happening vs what is, you haven't provided the code so we can actually assist, and you haven't explained what you've tried.
i changed it yet again with more info
That's not sufficient, and stop just editing
ive tried debugging it doesnt even say the debug message is set it to say
Answer the question here so we can actually keep track of the conversation
ok so its suppouse to send the player that wrote the book with the person they wanted to trade with a message and if they /trigger tradeaccept it will trade there selected item but it wont work and i dont know why the plugin im using to see if theres errors is not saying anything
ive also tried name checking the functions everything is spelled correctly
That's great but surely you understand I can't just take your word for it. you need to show the code that you want fixed
Code for the tellraw would be good too.
its literally in the name i have no idea in god green earth what code isnt working
Well I don't either cause I can't see it 🤷🏼♂️
yes macro:```# get the data from the book and put it in the temp object
data modify storage minecraft:temp temp.author set from entity @s SelectedItem.tag.SkullOwner.Name
run the send function, and give it the temp object
function duckie:send_messagetwo with storage minecraft:temp temp```
send_messagetwo:# use the temp object to say who to send the thingy to $tellraw $(author) {"text": "Your trade has been accepted","color":"#81fc81"} $clear $(author) player_head $scoreboard players set $(name) tradeverify 1 $scoreboard players set $(author) tradeverify 1 $execute as $(name)[scores={tradeaccept=1..}] run function duckie:tradeverify tellraw @a {"text": "im working"}
tradeverify:$execute as $(author)[scores={tradeverify=1..}] run function duckie:getauthoritem $execute as $(name)[scores=(tradeverify=1..)] run function duckie:getnameitem
getauthoritem: ```# get the data from the book and put it in the temp object
data modify storage minecraft:temp temp.authoritem set from entity @s SelectedItem
run the send function, and give it the temp object
function duckie:senditemauthor with storage minecraft:temp temp```
senditemauthor:$give $(name) $(authoritem)
getnameitem: ```# get the data from the book and put it in the temp object
data modify storage minecraft:temp temp.nameitem set from entity @s SelectedItem
run the send function, and give it the temp object
function duckie:senditemname with storage minecraft:temp temp```
If you're just gonna send every function file in here then I'm going to assume you don't want serious help and are just engaging in malicious compliance
senditemname:$give $(author) $(authoritem)
Good luck 🫡
<@&935561184806060073> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
This is a lot to just throw at us helpers lol
i dont know what in gods green earth whats happening
You’re gonna have to localize your problem.
There are a lot of things that could be wrong.
i have no idea whats wrong in the code
ok
wdym localize
what does localize mean
Find out the file or two where the error/problem is taking g place.
it doesnt tell me
i dont know
why
its not sending any errors
this boi over here said i was doing malicous compliance when i was just trying to figure it out
i try debugging at the source file
it doesnt say anything at all
wait
i figured out the code that isnt working
$execute as $(name)[scores={tradeaccept=1..}] run function duckie:tradeverify its this little rat
Lol
what am i suppose to do