Returns the text of the currently viewed text item. Used for readable world objects (plaques, books on tables, etc) and readable inventory items (looted books/parchments/scrolls/etc, saved copies of mail messages). Returns valid data only between the
ITEM_TEXT_CLOSED events, with the
ITEM_TEXT_READY event indicating when new text is available (as when changing pages).
See also Item Text functions.
text- Text to be displayed for the current page of the currently viewed text item (