Quistess Alpha Posted August 10, 2022 Share Posted August 10, 2022 At least, that's why I assume it's bringing up a syntax error in an otherwise perfectly fine script. string event; default { state_entry() { llSay(0, event); } } Syntax highlighting (in-world editor) isn't catching it though. 3 Link to comment Share on other sites More sharing options...
Fenix Eldritch Posted August 11, 2022 Share Posted August 11, 2022 It might be another hidden function, similar to print. Trying to define a variable as that name similarly causes a syntax error. 1 Link to comment Share on other sites More sharing options...
Frionil Fang Posted August 11, 2022 Share Posted August 11, 2022 Looks like it. 1 Link to comment Share on other sites More sharing options...
Quistess Alpha Posted August 11, 2022 Author Share Posted August 11, 2022 26 minutes ago, Fenix Eldritch said: It might be another hidden function, similar to print. According to @Frionil Fang's link, it's just unused. print(); causes an error ~after they keyword, but event; causes an error before the keyword. Interesting tangent: string s = print("string"); causes an "Internal server compile error". Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now