Advertisement
Guest User

Untitled

a guest
Jan 24th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. # InTime
  2. # Timebased plugin disabling
  3. # by HomerBond005
  4. #
  5. # HowTo configure this: (example)
  6. # plugins:
  7. # (yourplugin):
  8. # type: enable/disable
  9. # times:
  10. # - (starttime)-(endtime)
  11. # - (anotherStartTime)-(anotherEndTime)
  12. # samplePlugin:
  13. # type: enable
  14. # times:
  15. # - 9:00-15:30
  16. #
  17. # ---enable/disable---:
  18. # only one these is possible!
  19. # enable -> plugin is disabled and will be enabled between the times
  20. # disable -> plugin is enabled and will be disabled between the times
  21. plugins:
  22. samplePlugin:
  23. type: disable
  24. times:
  25. - 9:00-15:30
  26. anotherPlugin:
  27. type: enable
  28. times:
  29. - 9:30-14:00
  30. - 23:50-13:00
  31. commands:
  32. newday:
  33. command: say
  34. arguments: 'A new day starts....'
  35. time: '6:01'
  36. sunrise:
  37. commands: say
  38. arguments: A new day is rising soon....
  39. time: '5:31'
  40. nighttime:
  41. command: say
  42. arguments: It is now night time. Don't stay out too long!
  43. time: '23:01'
  44. sunset:
  45. command: say
  46. arguments: The sun is setting, you should find a cover....
  47. time: '19:01'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement