// string sDeny; /* 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 OnUsed void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; if (GetItemPossessedBy(oPC, "tokenofgaia")== OBJECT_INVALID) { // sDeny="You find nothing but old and useless dusty tomes in the bookshelve."; // SendMessageToPC(oPC, sDeny); FloatingTextStringOnCreature("You find nothing but old and useless dusty tomes in the bookshelve.", oPC); return; } if (GetItemPossessedBy(oPC, "gaiasprophecy")!= OBJECT_INVALID) { FloatingTextStringOnCreature("You find nothing more but old and useless dusty tomes in the bookshelve.", oPC); return; } CreateItemOnObject("gaiasprophecy", oPC); FloatingTextStringOnCreature("As the Token of Gaia starts to emit a strange green glow you find a serene and unharmed book.", oPC); }