/*
 *  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 OnEnter.


void main()
{
    // Get the creature who triggered this event.
    object oPC = GetEnteringObject();

    // Only fire for (real) PCs.
    if ( !GetIsPC(oPC)  ||  GetIsDMPossessed(oPC) )
        return;

    // Abort if the PC is not a certain class.
    if ( GetLevelByClass(CLASS_TYPE_MONK, oPC) == 0 )
        return;

    // Abort if the PC has the item "assasin_weap".
    if ( GetItemPossessedBy(oPC, "kamaoil") != OBJECT_INVALID )
        return;

    // Give "asssin_weap" to the PC.
    CreateItemOnObject("kamaoil", oPC);

    // Have text appear over the PC's head.
    FloatingTextStringOnCreature("You have recieved your *Kama oil* ", oPC, FALSE);
}