18 lines
537 B
Plaintext
18 lines
537 B
Plaintext
|
// Script for the Aidbringer administrator-rod
|
||
|
// This script takes an officer's key from the targeted member.
|
||
|
// 5th of September 2005, Alangara, made by -Seeker-
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
object oTarget = GetLocalObject( oPC, "mn_target" );
|
||
|
DeleteLocalObject( oPC, "mn_target" );
|
||
|
|
||
|
// Take key
|
||
|
object ring = GetItemPossessedBy( oTarget, "MN_AIDBR_OFFKEY" );
|
||
|
SetPlotFlag( ring, FALSE );
|
||
|
DestroyObject( ring );
|
||
|
|
||
|
FloatingTextStringOnCreature( "Key taken from "+GetName( oTarget ), oPC, FALSE );
|
||
|
}
|