Zinne91

Untitled

Dec 14th, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. ;KillNachricht
  2. KillNachricht:
  3. GetChatLine(0, Chatline1, timestamp=1)
  4. if(InStr(Chatline1, "* Du hast den Spieler ")) {
  5. RegExMatch(Chatline1, "* Du hast den Spieler " (.*) " getötet.")
  6.  
  7. IniRead, Kill, Stats.ini, Killzähler, Kill
  8. Kill++
  9. Iniwrite, %Kill%, Stats.ini, Killzähler, Kill
  10. zone := GetPlayerZone()
  11. city := GetPlayerCity()
  12. player := GetPlayerName()
  13. Random, Zufall, 1, 3
  14.  
  15. AddChatMessage("{00FF00}[Sky-Binder] {FFFFFF}Du hast Deinen " kill " Kill erreicht.")
  16. SoundPlay, %A_ScriptDir%\KillSound.wav
  17. GoSub, KillText%Zufall%
  18. return
  19.  
  20. }
  21. return
  22.  
  23. KillText1:
  24. SendChat("Fair und transparent!")
  25. Sleep 200
  26. SendChat("/f Der Hausmeister " GetPlayerName() " hat in " . city " (" . zone ") mal so richtig aufgeräumt! Erfolgreiche Säuberungen: " kill)
  27. Sleep 200
  28. SoundPlay, %A_ScriptDir%\KillSound.wav
  29. Sleep 100
  30. return
  31.  
  32. KillText2:
  33. SendChat("Fair und transparent!")
  34. Sleep 200
  35. 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)
  36. Sleep 200
  37. SoundPlay, %A_ScriptDir%\KillSound.wav
  38. Sleep 100
  39. return
  40.  
  41. KillText3:
  42. SendChat("Fair und transparent!")
  43. Sleep 200
  44. SendChat("/f Achtung! In " . city " (" . zone ") wurde gerade feucht durchgewischt! Erfolgreiche Säuberungen: " kill)
  45. Sleep 200
  46. SoundPlay, %A_ScriptDir%\KillSound.wav
  47. Sleep 100
  48. return
Advertisement
Add Comment
Please, Sign In to add comment