First, under the documentation for the lexer it says:
"Returns the" <-- returns the what?Matches any word, including keywords. Returns the
Second, the Example code parses the "who" as a string, so it shows up as "e" instead of "Eileen" in a test program.
This:
Code: Select all
def execute_smartline(o):
who, what = o
renpy.say(who, what)
Code: Select all
def execute_smartline(o):
who, what = o
renpy.say(eval(who), what)
Although doing that doesn't seem to trigger the right lint error. I get a NameError instead of the custom "Character not defined: %s" renpy error. I tried a few things, but nothing worked so maybe someone who understands Creator-Defined Statements better than I do can get both to work properly.
Thanks!