Total Miner

(Official) LUA Scripting Documentation

get_text

Get the text of a block (Sign, Book, etc).


Spec:

get_text(
	long x,
	long y,
	long z,
	long page)

Parameters

Returns


Examples

get_text(72, 240, 84, 0)

Pulls the text from the block at 72, 240, 84. If this block is a sign it would provide all text on it in the format of “LineOne_LineTwo_LineThree_LineFour”. If it is a book it would provide just the title.


get_text(100, 52, 120, 3)

Pulls the text from the block at 100, 52, 120. If this block is a sign it would provide the third line of text. If it is a book it would provide the third page.


Incomplete

This documentation is incomplete


back