Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~.::
- {
- if (IsInChat())
- return
- SendChat("/l Stoppuhr gestartet!")
- AddChatMessage("{FFBF00}[CAN]:{FFFFFF} Um die Stoppuhr zu beenden, drücke " . SECCOL . "Punkt (.){FFFFFF}!")
- stopwatch := 0
- Loop {
- stopwatch++
- KeyWait, ., D T1
- if (!ErrorLevel) {
- minutes := Floor(stopwatch / 60)
- seconds := stopwatch - (minutes * 60)
- SendChat("/l Stoppuhr gestoppt: " . minutes . " Minuten, " . seconds . " Sekunden")
- SendChat("/l Gesamt: " . stopwatch . " Sekunden")
- break
- }
- }
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement