void main() { object oPC = GetLastUsedBy(); int iDrank = GetLocalInt(oPC,"drank"); string sName = GetName(OBJECT_SELF); if (iDrank == 1) SendMessageToPC(oPC,"Although you are not thirsty, you take a drink from the "+sName); else { SendMessageToPC(oPC,"You take a drink from the "+sName); SetLocalInt(oPC,"drank",1); } }