Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 15th, 2018 81 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1.     @Override
  2.     public void sequence() {
  3.         super.sequence();
  4.  
  5.         final int delay = 50;
  6.  
  7.         TaskManager.submit(new Task(50) {
  8.             int ticks = 0;
  9.             @Override
  10.             protected void execute() {
  11.                 if (ticks == 0) {
  12.                     forceChat("Hello");
  13.                 } else if (ticks >= delay) {
  14.                     stop();
  15.                 }
  16.                 ticks++;
  17.             }
  18.         });
  19.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top