Advertisement
Guest User

Untitled

a guest
Mar 20th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;Announce v1 by herculezz
  2.  
  3. function main()
  4. {
  5. echo Running Announce v1
  6.  
  7. ;events
  8. Event[EQ2_onAnnouncement]:AttachAtom[EQ2_onAnnouncement]
  9.  
  10. while 1
  11. wait 10
  12. }
  13.  
  14. ;atom triggered when an announcement is detected
  15. atom EQ2_onAnnouncement(string Message, string SoundType, float Timer)
  16. {
  17. echo ${Time}:Announce: ${Message}
  18. }
  19. function atexit()
  20. {
  21. echo Ending Announce
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement