virenerus/tabletoptool

tables with a space in their name are not supported by the chat syntax

Opened this issue · 5 comments

also check for similar bugs where in the check syntax there could be names with spaces

Related but probably not that important: dialog.input() chokes on variable names with spaces:

For example:
output = dialog.input("var name||Example label|check")
will produce a Java exception, even though
output["var name"] would be a valid syntax from user's point of view.

That's because you would have to use the syntax for layering

IE:
output = dialog.input("var name||Example label|check")
doesn't work

output = dialog.input("'var name'||Example label|check")
works

You simply have to put the spaced var name in single quotes.

No, sorry. I need to clarify that. I mean table lookup rolls.
When you define a custom dice and then roll it with /tbl dice name
That is not working

My apologies, my comment was to Mora's statement.

Ah. Sorry^^