Advertisement
ExcaliburNUMNUM

/goodnight script

Oct 31st, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. //LOG(%TICKS%);
  2. IF(%TICKS% < 12000);
  3. IF(%TICKS% > 100);
  4. //LOG(DAYTIME);
  5. SET(@nightsaid,false);
  6. ENDIF;
  7. ELSE;
  8. IF(%TICKS% > 12000);
  9. IF(@nightsaid, true);
  10. //LOG(goodnight has been said);
  11.  
  12. //do night stufff
  13. ELSE;
  14. IFMATCHES(%CHAT%,(\b.*says\sgoodnight\..*.),); //this line may get tweeked, ask Excalibur_NUMNUM for details
  15. ECHO(/goodnight);
  16. //LOG(./goonight);
  17. SET(@nightsaid);
  18. ENDIF;
  19. ENDIF;
  20. ELSE;
  21. ENDIF;
  22. ENDIF;
  23. STOP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement