• 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.

"Undefined local variable or method" for Interpreter error

14
Posts
11
Years
    • Seen May 19, 2015
    I have been messing with little custom scripts (just like simply creating random numbers and displaying them, or whatever)

    However, every time I create a class, then a method, and I try to call the method, I get an Error Message that's something like this:

    Code:
    pbExecuteScript'undefined local variable or method ______ for #<Interpreter:0xa5cce70>

    where ______ is where the method name is.

    I also get this error for multiple scripts I have found on the forums.

    What causes this?
     
    Back
    Top