[T1 Script Help] Evita's Flag Drop Script

mall0ry
11-03-2002, 12:18 AM
function DropFlag::Parse(%client, %msg)
{
for(%i=0; %i <= $NumOfNames; %i++){
if (%msg == $Name[%i] @ " orders a ForceDrop."){
postAction(2048, IDACTION_LOOKUP, 1);
schedule("drop(Flag);", 0.5);
schedule("ResetView();", 1);}}
}


----------------------------------------

if (%msg == $Name[%i] @ " orders a ForceDrop."){
postAction(2048, IDACTION_LOOKUP, 1);
schedule("drop(Flag);", 0.5);
schedule("ResetView();", 1);}}

Heres what I'm looking at to modify, how do I have it check If I'm carrying the flag?