Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
I am not attempting to give rewards, they will be given via a proper listener. This is just for setting the cooldown since it will only activate once they join, so the cooldown could start once they already voted. It technically isn't an error since it is getting the votes but not executing broadcast (which it will do if player comes online)Is this an error? It wouldn't do any good to give them, for instance, an item if they weren't online because they wouldn't be there to receive it. Also wouldn't it be easier to just require the player to be online or they just miss out on rewards? Sorry if I'm wrong <3
Uhm, do i understand correctly?Any idea on how to fix this?
On vote:
#Bla
on vote:
if event-player is online:
#Todo
else:
set {Vote::%event-player%} to true
on join:
if {Vote::%player%} is set:
delete {Vote::%player%}
send "Thanks for voting!"
#Give stuff
No this is not the issue. It sends this message only once if the player is offline to let me know that it saved the player and everything will be executed once they join. I am trying to run something if the player is offline (which does not work) to make my skript work correctlyUhm, do i understand correctly?
you are using this events?:
code_language.skript:On vote: #Bla
even, if a player is not online, You get the console spam? SO its mean, You should this saved into variables, like this
code_language.skript:on vote: if event-player is online: #Todo else: set {Vote::%event-player%} to true on join: if {Vote::%player%} is set: delete {Vote::%player%} send "Thanks for voting!" #Give stuff
on vote:
if player is not online:
#Todo when player is offline.
Tried itmaybe try use this way
code_language.skript:on vote: if player is not online: #Todo when player is offline.
Tried it
on vote:
set {_player} to "%player%" parsed as offline-player
if {_player} is not online:
broadcast "%{_player}% is not currently online!"