"if mousex>188 and mousex<124 and mousey<121 and mousey>109 then(tpt.drawtext (188, 109, "
")end"
testing
and the last ) are left out. That's what it might mean."Hello, 'world' "
"Hello, \"world\" "
Use tpt.el.(4-character element name).flammable=00
Ok, that helped, but I need to make a string inside of a string. I am trying to register a script to run on every frame, but that script contains a string.
Ah thanks, I was just putting one zero instead of two :P
If my code is too long for the console what must I do?
EDIT:Wait....
EDIT2:scratch that... its giving me an error saying "( expected near asdf" :/ so... im gonna try to fix it... but if you can answer before then it would be nice ^^
EDIT3: nope... I can't fix it....
jacob1:
@shutterbug (View Post)
You also need to make it a function by writing "tpt. Register_step(function asdf() [code] end)", you can't just put your code in a string
'unexpected symbol near ['
EDIT: just read mniip's post :P
edit2: now it says 'unexpected symbol near ')''
EDIT3:forgot the code, derp.
tpt.register_step(function ( test ) if mousex>188 and mousex<124 and mousey<121 and mousey>109 then tpt.drawtext ( 188, 109, "testing" ) end)