Incorrect:
NPC Code:
for{i=0; i<EffectTime; i++)
Correct:
NPC Code:
for (i=0; i<EffectTime; i++)
Spot the difference?
Also, use if (playerchats && strequals(#c,text)) rarther than if (playersays())
There is a much more efficient method of doing that beer thing. Try using else, and you don't
really need to set flags.