hello, today I am working on coding a plugin for my server
variables:
{Fishodds} = 0
I get these errors
For every if statement:
Numeric ids are not supported anymore. (General.sk, line 108: if {Fishodds} is greater than 50 and less than 71:')
only for the first give statement:
Can't understand this condition/effect: give the player 1 fish (General.sk, line 105: give the player 1 fish')
variables:
{Fishodds} = 0
Code:
on fish:
if "%fishing state%" is "CAUGHT_FISH":
set {Fishodds} to a random integer between 0 and 101
if {Fishodds} is less than 51:
message "fish"
give the player 1 fish
if {Fishodds} is greater than 50 and less than 71:
message "salmon"
give the player 1 salmon
if {Fishodds} is greater than 70 and less than 81:
message "puffer"
give the player 1 pufferfish
if {Fishodds} is greater than 80 and less than 91:
message "sack"
give the player 1 ink sack
if {Fishodds} is greater than 90 and less than 101:
message "egg"
give the player 1 ender pearl renamed "fish eggs"
I get these errors
For every if statement:
Numeric ids are not supported anymore. (General.sk, line 108: if {Fishodds} is greater than 50 and less than 71:')
only for the first give statement:
Can't understand this condition/effect: give the player 1 fish (General.sk, line 105: give the player 1 fish')