• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Script 'PokeBattle_Clauses' line 7: NameError

  • 14
    Posts
    7
    Years
    • Seen Feb 1, 2017
    When i open the play test i get this:
    Spoiler:


    Can someone please help?
     
    Last edited:
  • 1,224
    Posts
    10
    Years
    Since this doesn't happen in vanilla Essentials, you should probably tell us the things you've added/modified.
    The error by itself doesn't tell us anything.
     
  • 14
    Posts
    7
    Years
    • Seen Feb 1, 2017
    So far all the scripts I ever added were new mega evolutions and I put a custom script section under the Alolan Form section and over the Debug section.
    So far in my custom script section i only added 1 script:
    Spoiler:

    (It wouldn't show the spaces in the form of a "Spoiler:" for some reason).
    Thank you.
     
    Last edited:
  • 220
    Posts
    14
    Years
    • Seen Nov 29, 2021
    Well from glancing it over you've got too many "end"s there (def, if and if need one each, you have four), which is probably ending the section early.
     
    Back
    Top