/*   Script generated by
Lilac Soul's NWN Script Generator, v. 2.3

For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625    */

//Put this script OnClick or OnFailToOpen
void main()
{

object oPC = GetLastUsedBy();

if (!GetIsPC(oPC)) return;

if (GetLocalInt(oPC, "ReadyToGo")== 0)
   {
   SetLocalInt(oPC, "ReadyToGo", 1);

   FloatingTextStringOnCreature("You have now confirmed you are ready to leave!", oPC);

   }
else
   {
   SetLocalInt(oPC, "ReadyToGo", 0);

   FloatingTextStringOnCreature("You have now announced you're not ready to leave yet!", oPC);

   }

}