Guest User

Skript Errors

a guest
Feb 8th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. -- Function:
  2. function getDef(def: text) :: text:
  3.     #common
  4.     if {_def} contains "Telepathic ":
  5.         set {_meaning} to "Has a chance to teleport blocks instantly to your inventory."
  6.         set {_booklore} to "Tool Enchantment"
  7.         set {_tier} to "&7"
  8.         set {_maxlevel} to "V"
  9.     return "%{_meaning}% - %{_booklore}% - %{_tier}% - %{_maxlevel}%"
  10. ---
  11. Using code also gives errors:
  12.  
  13. set {_function} to getDef("%{_re}%")
  14.  
  15. Also getting console errors with:
  16.  
  17. set advanced footer to "&6test" for player
  18. set advanced header to "&e&LTEST" for player
Advertisement
Add Comment
Please, Sign In to add comment