Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;KillNachricht
- KillNachricht:
- GetChatLine(0, Chatline1, timestamp=1)
- if(InStr(Chatline1, "* Du hast den Spieler ")) {
- RegExMatch(Chatline1, "* Du hast den Spieler " (.*) " getötet.")
- IniRead, Kill, Stats.ini, Killzähler, Kill
- Kill++
- Iniwrite, %Kill%, Stats.ini, Killzähler, Kill
- zone := GetPlayerZone()
- city := GetPlayerCity()
- player := GetPlayerName()
- Random, Zufall, 1, 3
- AddChatMessage("{00FF00}[Sky-Binder] {FFFFFF}Du hast Deinen " kill " Kill erreicht.")
- SoundPlay, %A_ScriptDir%\KillSound.wav
- GoSub, KillText%Zufall%
- return
- }
- return
- KillText1:
- SendChat("Fair und transparent!")
- Sleep 200
- SendChat("/f Der Hausmeister " GetPlayerName() " hat in " . city " (" . zone ") mal so richtig aufgeräumt! Erfolgreiche Säuberungen: " kill)
- Sleep 200
- SoundPlay, %A_ScriptDir%\KillSound.wav
- Sleep 100
- return
- KillText2:
- SendChat("Fair und transparent!")
- Sleep 200
- SendChat("/f Der Künstler hat in " . city " (" . zone ") mal so richtig aufgeräumt! Ich habe keine Ahnung, wie es zu diesen Kills kommen konnte: " kill)
- Sleep 200
- SoundPlay, %A_ScriptDir%\KillSound.wav
- Sleep 100
- return
- KillText3:
- SendChat("Fair und transparent!")
- Sleep 200
- SendChat("/f Achtung! In " . city " (" . zone ") wurde gerade feucht durchgewischt! Erfolgreiche Säuberungen: " kill)
- Sleep 200
- SoundPlay, %A_ScriptDir%\KillSound.wav
- Sleep 100
- return
Advertisement
Add Comment
Please, Sign In to add comment