Advertisement
Rian_Tyler

Untitled

Apr 28th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. ~Numpad7::
  2. if(IsChatOpen() == 1 || IsDialogOpen() == 1){
  3. return
  4. }
  5. SendInput, t/cuff{SPACE}
  6. Input, SID, V I M,{ENTER}
  7. Send {ENTER}
  8. SendInput, t/cuff %SID%{ENTER}
  9. Sleep, 150
  10. getChatLine(1, Chat2)
  11. getChatLine(2, Chat3)
  12. getChatLine(3, Chat4)
  13. getChatLine(4, Chat5)
  14. Chat := Chat2 Chat3 Chat4 Chat5
  15. if (inStr(Chat, "Du hast ") && inStr(Chat, " gefunden.")) {
  16. AddChatMessage(0xDF0101, "[ExtronBinder] ILLEGELE GEGENSTÄNDE taken? Drücke {FFFFFF}X{DF0101} zum bestätigen.")
  17. KeyWait, X, D, T5
  18. if !ErrorLevel
  19. {
  20. SendChat("t/take Drogen " SID)
  21. Sleep, 100
  22. SendChat("t/take Materialien " SID)
  23. }
  24. }
  25. if(arrest1 == -1){
  26. arrest1 := SID
  27. return
  28. }else if(arrest2 == -1){
  29. arrest2 := SID
  30. return
  31. }else if(arrest3 == -1){
  32. arrest3 := SID
  33. return
  34. }else if(arrest4 == -1){
  35. arrest4 := SID
  36. return
  37. }else if(arrest5 == -1){
  38. arrest5 := SID
  39. return
  40. }else{
  41. AddChatMessage(0xDF0101, "[ExtronBinder] {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F9 zum Resetten)")
  42. return
  43. }
  44. return
  45.  
  46. ~k::
  47. if(IsChatOpen() == 1 || IsDialogOpen() == 1){
  48. return
  49. }
  50. SID := PlayerInput("Durchsuchen: ")
  51. if (SID == "" || SID == " ")
  52. return
  53. SendChat("/waffen " SID)
  54. Sleep 750
  55. SendChat("/alktest " SID)
  56. sleep, 750
  57. SendChat("/frisk " SID)
  58. sleep, 200
  59. getChatLine(1, Chat2)
  60. getChatLine(2, Chat3)
  61. getChatLine(3, Chat4)
  62. getChatLine(4, Chat5)
  63. Chat := Chat2 Chat3 Chat4 Chat5
  64. if (inStr(Chat, "Du hast ") && inStr(Chat, " gefunden.")) {
  65. AddChatMessage(0xDF0101, "[ExtronBinder] ILLEGELE GEGENSTÄNDE taken? Drücke {FFFFFF}X{DF0101} zum bestätigen.")
  66. KeyWait, X, D, T5
  67. if !ErrorLevel
  68. {
  69. SendChat("t/take Drogen " id)
  70. Sleep, 100
  71. SendChat("t/take Materialien " id)
  72. }
  73. }
  74. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement