#Skript-Citizens Addon

1 messages · Page 1 of 1 (latest)

scenic pilot
#

Hi, I'm trying to use the script-citizens addon for NPC's I've followed the docs and am unsure why this doesn't work if anyone could help me would be great!

            if difference between {VillageTaskCooldown-Kevin::%UUID of player%} and now is less than 1 day:
                set {_VillagerTaskWaited::%UUID of player%} to difference between {VillageTaskCooldown-Kevin::%UUID of player%} and now
                play sound "entity.villager.yes" with pitch 1 to player
                send "&3&lVILLAGER KEVIN: &7There is a &e%difference between 1 day and {_VillagerTaskWaited::%UUID of player%}% &7cooldown on this task!" to player
                stop

            if {VillageTaskCooldown-Kevin::%UUID of player%} is "Started":
                if player has 1 poppy named "&cLost Golem Poppy":
                    remove 1 poppy named "&cLost Golem Poppy" from player's inventory
                    set {VillageTaskCooldown-Kevin::%UUID of player%} to now

                    play sound "entity.villager.yes" with pitch 1 to player
                    send "&3&lVILLAGER KEVIN: &7THANKS!!!! Here is your reward:" to player
                    send "&7[&3Villager Task Completed: ""Kevin's Poppy Obsession""&7]" to event-player
                    send "&7[&a+$250,000&7]" to event-player
                    send "&7[&b+25,000 XP&7]" to event-player

                    add 250000 to {balance::%UUID of player%}
                    remove 25000 from {RequiredXP::%UUID of player%}
                    stop```
#
  • No errors by the way just doesn't do anything upon right-click
rare prairie
#

bro.

#

i have told you this already.

#

you cant start a structure with an event.

strange fable
#

we've told him everything already

rare prairie
#

just ignoring everything we tell him huh?

strange fable
#

and making a new thread every time

#

swear I saw that code 3 weeks ago

scenic pilot
#

And @strange fable everything I post you hate on and continue to tell me to debug debug etc. It's a pain and I figured out the code I needed help with did not need debugging but was a simple bug fix so If I where to listen to you I'd be wasting my time if that answers your questions. - You don't have to keep visiting my threads if your not going to help please don't anymore. Thank you!

strange fable
#

i hate on your shit because you can't figure out the simplest of problems with an absolute mountain of help

scenic pilot
#

the mountain of help you mean you saying "debug it" "debug it" "debug it" when it's a simpler amount of help. You keep complaining about me not listening and yet you keep on visiting my threads not to help but waste both of our time, I ask you one more time please leave this forum so I can get fucking help for skript rather than you.

strange fable
#

if all you receive is people telling you to debug and you still can't figure out the source of your problem instead of directly asking for help with a single line, i don't think you got the point they were trying to tell you

#

the amount of times I've seen you ask for help with something and the solution was your own variables has to be over 5 times, bare minimum

#

by debugging, you can find the source of the problem, ex. perhaps the line if npc is 23: isn't executing

#

in which case you could make a forum post specifically asking about that line in particular, asking why that doesn't work or if anyone familiar with the addon knows how to make it work

#

as opposed to spitting out the same code block week after week saying the exact same starting line pointing absolutely nowhere

scenic pilot
#

guy, do you tell everyone to debug when something isn't working even when you see the problem or what's the dealo?

strange fable
#

we tell people to debug when they aren't even sure whats wrong with their own spaghetti code

#

a good 80% of that code is untestable for other people, having quite a few conditions rely on your own variables

#

not even gonna bother trying to search for older examples of that where you asked why something wasn't working and the problem was the fact you never even set a list you were trying to check

scenic pilot
#

mh

#

anyway, going to make a new forum now on the same problem because I couldn't get help with the amount of shitt

scenic pilot
#

do all of us a favor, STOP complaining when you keep messaging the same guy that is a "pain" to you.

#

don't be that guy, that is super idiotic.

strange fable
#

gonna complain whenever there's an absolute fool about

strange fable
scenic pilot
#

fuck me

#

god

#

stop

#

visiting

#

my

#

thread

#

posts