/* * Script generated by LS Script Generator, v.TK.0 * * For download info, please visit: * http://nwvault.ign.com/View.php?view=Other.Detail&id=1502 */ // Put this script OnUsed. void main() { // Get the creature who triggered this event. object oPC = GetLastUsedBy(); // Abort if the PC has the item "majesticflower". if ( GetItemPossessedBy(oPC, "majesticflower") != OBJECT_INVALID ) return; // Give "majesticflower" to the PC. CreateItemOnObject("majesticflower", oPC); }