ShifPrint

Please submit bug reports and change requests through the ticketing system on this addon's Curse project page.

Shamelessly named after myself, this addon provides support for the print() function, which was removed in a recent RoM client update.

I also added support for /print ... e.g /print MyFunction() would print the result of MyFunction(). You can set the color used for its output via /print setcolor. This add-on is primarily for use by developers who want to quickly output something to the chat frame while debugging.

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of shifuimam shifuimam Jun 18, 2012 at 15:09 UTC - 0 likes

    @tasquer: Go

    I added tostring() in the last update. I'm not sure what you mean by multiple arguments supported by the original print() before it was removed from the client, though.

    I plan on adding another new feature that identifies when the output is a table and iterates through the key-value pairs for printing in the chat frame.

  • Avatar of shifuimam shifuimam May 26, 2012 at 21:41 UTC - 0 likes

    @tasquer: Go

    I wrote this addon several years ago - I'll take a look at your suggestions and see what I can do. If you'd like to contribute yourself, please let me know!

  • Avatar of tasquer tasquer May 19, 2012 at 06:56 UTC - 0 likes

    1) toHex: string.format("%X") would be faster

    2) tostring(theText) would be safer

    3) support for multiple arguments like original print does

    4) protected call to prevent annoying RUNTIME_ERRORs

    ...

    Last edited May 19, 2012 by tasquer
  • 3 comments

Facts

Date created
Feb 13, 2010
Categories
Last update
Jun 07, 2012
Development stage
Release
License
Public Domain
Curse link
ShifPrint
Downloads
979
Recent files
  • R: v1.0 for 4.0.2.2440 Jun 07, 2012
  • A: r4 for 4.0.2.2440 Jun 07, 2012
  • A: r3 for 4.0.2.2440 Jun 07, 2012
  • A: r2 for 4.0.2.2440 May 18, 2012
  • R: v 0.1 for 2.0.11.1872 Feb 15, 2010

Authors