|
|
Usage: |
|
for (Condition,sleep time) {Command Block}; |
|
Description: |
| |
For will repeat execution of a command block as long as condition evaluates to be true. It will
sleep sleep time seconds in between checks/executions
|
|
Example: |
|
| QLAD Script |
# This will make a (annoying) HUD message for a player every half second when # they have a killstreak of 30 or more, for as long as they have the killstreak. # This of course requires the qlad_streak.cfg to be enabled, and the killstreak # tracking to be enabled
on a_streak_k.e { equal 30; cmd { for (streak_k.e>29,.5) /say_hud (targ=$(pz),chan=0,len=1,color=$random(0,255) 0 0) BigOlKillStreak; }; };
|
|
|
|