Draw text to the screen (for one frame, only useful in scripts), 3 overloads ... I would recommend MGR (mniip's Grahpics) text drawing if you want to draw ...
@ForumTroll(View Post) Dude, seriously. http://pastebin.com/1tjW7zZG Copy that. Make a new text file (right click > new > new text document/file) in your TPT directory (TPT's folder) Paste into the text file. Save the file with the name 'text' and make sure the file format is set to *.txt Open up TPT. Open the console. dofile("text.txt") mgr.drawln("Hello, world!",100,100,"CLNE") Happy now?
I figured out the problem, there are some errors in that script preventing it from working. I don't know why it was ever released like that. Change "mgl.setcliprect(x1,y1,x2,y2)" to "function mgl.setcliprect(x1,y1,x2,y2)" in line 14 (just add the word function)
Also, Change line 25 to this: if x>-1 and y>-1 and x<612 and y<384 and x>=mgl.cliprect.x1 and y>=mgl.cliprect.y1 and x<=mgl.cliprect.x2 and y<=mgl.cliprect.y2 and not(mgl.getpixel(x,y)==t) then (changing clientrect to cliprect and adding mgl. before getpixel)
@ForumTroll(View Post) Jesus, calm down. Caps aren't necessary. Also, how was I grumpy in my post? It was helpful, it had step-by-step instructions. Not my fault the script is borked.
Just as a wild guess, I can't see any use for the 'end' on line 14 after 'mgl.cliprect.y2=y2'. Try removing it.