#rising lava skript help

1 messages · Page 1 of 1 (latest)

lost quail
#

Bru

#

Just the error parts

last prism
lost quail
#

Your code is a complete disaster

last prism
# lost quail Just the error parts

function loadKits():
yaml load "plugins/Skript/kits.yml" into "kits"
wait 1 tick
if yaml value "normal" from "kits" is not present:
execute console command "say &cError loading kits.yml! Please check the file."
stop
execute console command "say &aKits successfully loaded from kits.yml!"

command /vote <text>:
trigger:
if {lavarising.voted::%player%} is set:
send "&cYou have already voted!" to player
stop
if argument is not "normal" and argument is not "insane" and argument is not "void":
send "&cInvalid vote! Use &6/vote [normal|insane|void]."
stop
set {lavarising.voted::%player%} to true
add 1 to {vote.%argument%}
send "&aYou voted for &e%argument%&a mode!"

function loadKits():
yaml load "plugins/Skript/kits.yml" as "kits"
wait 1 tick
if yaml value "normal" from "kits" is not set:
execute console command "say &cError loading kits.yml! Please check the file."
stop
execute console command "say &aKits successfully loaded from kits.yml!"

lost quail
#

You should at all times try ro avoid execute xonsole command

last prism
#

oh

#

u cant recode it?

lost quail
#

For the line 42 error

last prism
#

?

lost quail
#

Idk about yaml syntax but it says youre using a string instead of a date somewhere

last prism
#

ohhhhhh

#

nvm i got it

#

mb

gentle roost
#

on step on lime carpet:
do stuff

#

its getting activated when i step on any color