Advertisement
Gamebuster

Loop Process

Sep 19th, 2015
3,262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nagios 0.50 KB | None | 0 0
  1. loop all players:
  2.     add loop-player to {_listPlayers::*} #adding all players to the list variable
  3. set {_timer} to 60 #Change this to how many seconds you need
  4. while {_timer} > 0: #This is a timer
  5.     message "<light blue>%{_timer}% seconds remaining" to {_listPlayers::*} #messaging time remaining to all players in the list variable, you can replace this with what you want
  6.     wait 1 second
  7.     subtract 1 from {_timer}
  8. #This will not trigger until the while loop finishes
  9. message "Game start" to {_listPlayers::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement