Is there a comment syntax for the CLI?

dj_d

Member
I'm doing something horribly convoluted that I won't even try to explain, but the short of it is that it'd be very handy for
Code:
outfit default; familiar hobo monkey //blah blah
to not return an error from the CLI. Is there a solution? The closest hack I can find is
Code:
outfit default; familiar hobo monkey; ash print("") //blah blah
This has the undesirable side effects of being ugly and printing a newline. :)
 

jasonharper

Developer
The only CLI comment syntax is a full line starting with # - and that only works from a script file, not the gCLI or cli_execute().

The only solution that comes to mind is to use "inv blah blah" for your comments - as long as the text doesn't match any item, it won't produce any output. You could use "inv //blah blah" to ensure that.
 
Top