Craig Martin

(Official) LUA Scripting Documentation

set_event_script

Set a script to execute on an event.


Spec:

set_event_script(
	string event_type,
	string script_name,
	long item_id)

Parameters


Valid values for event_type: “PlayerJoin”, “PlayerLeave”, “PlayerDeath”, “PlayerRespawn”, “ItemSwing”, “ItemEquip” “ItemUnequip”, “CustomMenu”, “ButtonX”, “ButtonY”, “ButtonB”, “BlockPlaced”, “BlockCleared”


Incomplete

This documentation is incomplete


back