function DropFlag:arse(%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?
{
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?