Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. ~.::
  2. {
  3. if (IsInChat())
  4. return
  5. SendChat("/l Stoppuhr gestartet!")
  6. AddChatMessage("{FFBF00}[CAN]:{FFFFFF} Um die Stoppuhr zu beenden, drücke " . SECCOL . "Punkt (.){FFFFFF}!")
  7. stopwatch := 0
  8. Loop {
  9. stopwatch++
  10. KeyWait, ., D T1
  11. if (!ErrorLevel) {
  12. minutes := Floor(stopwatch / 60)
  13. seconds := stopwatch - (minutes * 60)
  14. SendChat("/l Stoppuhr gestoppt: " . minutes . " Minuten, " . seconds . " Sekunden")
  15. SendChat("/l Gesamt: " . stopwatch . " Sekunden")
  16. break
  17. }
  18. }
  19. }
  20. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement