TRUE


 * The value TRUE is represented by the numeric value 1 in 2da file.
 * A value returning TRUE mean a success of the command.

In this example someone open a chest, if the opener is a player this create 200 gold piece in the chest. void main { object oPC = GetLastOpenedBy;

if (GetIsPC(oPC) == TRUE) {   CreateItemOnObject("NW_IT_GOLD001",OBJECT_SELF,200); } }