@zyabin101 i'd have to investigate how the code is stored in the cart. i'm sure you could write something kinda sophisticated that doesn't break anything too hard
@typhlosion i.e. original, let's say
text('Hello, World!', 12, 34, 5)
-- ^ == v
text ( 'Hello, World!' , 12 , 34 , 5 )
changing the token `text` will lead to a function addressing error unless the change makes a valid ident and a function exists by that name
if the ident is made invalid, syntax error
changing `(` or `)` errors out, next
`'Hello, World!'` can be changed in any way, except the two quotes - they must be either ' or " and both equal, else error
`12` etc can be changed too, but the result must be an integer too, or a valid expression, else error
`,` can't be changed
@typhlosion
the code is stored as raw Lua
basically, if you modify *one* token it will lead to a syntax error
there are exceptions, i.e. changing an integer or a string, or calling a function by a name that *does* happen to exist
#z5note I need to investigate