CastRune

Function:

 * boolean castRune(nameOrId, target, pos)

Parameters:

 * nameOrId - can be name of a rune, like "Sudden Death rune", or ItemID of the rune, like 1234.
 * target - can be creature ID, or creature name, or strings: "target" or "self".
 * [optional] pos - if parameter target is set to nil, then this parameter can contain table with position on whith bot should use area rune, like GFB or field rune.

Return value:

 * This function return an boolean indicating if rune was succesfuly used. If there is cooldown ofr this rune, then this will return false. Returns true if success, false if failure.

Description:

 * This function should be used to cast all runes. It can cast runes on other creatures by their name, CreatureId, on target, or on self. Also, runes can be used on certain positions on Tibia map, such as for example {x=1000, y=1000, z=7}. This function checks cooldown of rune before it uses it, so character won't spam rune non stop and will use it only, when this given rune is not on cooldown.