Advertisement
1c7

Skript "lambda" error?

1c7
Dec 9th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. # Code:
  2.  
  3. set {survey::%{_SID}%::total-votes} to 0
  4. set {survey::%{_SID}%::votes::%loop-value%} to 0
  5. slot {_start} of {_P}'s current inventory to stone named "&7%{survey::%{_SID}%::opt-%loop-value%}%" with lore "&bClick to submit" to close then run [add 1 to {survey::%{_SID}%::total-votes}]->[add 1 to {survey::%{_SID}%::votes::%loop-value%}]
  6.  
  7. # Error:
  8.  
  9. [add 1 to {survey::%{_SID}%::votes::%loop-value%}] is not a valid lambda statement
  10.  
  11. # All variables are set... i'm not sure what's causing this!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement