Craig Martin

(Official) LUA Scripting Documentation

get_action_count

Get the number of actions the context actor has performed.


Spec:

get_action_count(
	string action,
	long item_id)

Parameters

Returns


The possible action types are:


Example

notify("Player has mined ", get_action_count("mined",block.clay), " blocks of clay")

Incomplete

This documentation is incomplete


back