Guest User

Untitled

a guest
Nov 23rd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. ;Skrypt bY SabiK
  2. ;likantropia-woj_wampiryzm-woj.txt
  3. ;Wersja 1.0
  4.  
  5. ;U W A G A !!! USTAW PONIZSZE ZMIENNE PRZED WLACZENIEM SKRYPTU !!!
  6. set %runa GFUEZEF ;Tu ustaw id runy(kliknij 2x na runo i wpisz z EasyUO #lobjectid)
  7. set %woz 0 ; 1 - tak, 0 - nie
  8. set %stam 30 ;Tu ustaw ponizej jakiej ilosci staminy skrypt ma pic miksa odswiezenia
  9.  
  10. ;------------------------------------------------------------------------------------------------------------
  11.  
  12. set #sysmsgcol 63
  13. event sysmessage Skrypt [likantropia-woj_wampiryzm-woj] odpalony (bY SabiK)
  14. wait 1
  15.  
  16. start:
  17. if *STOP = 1
  18. {
  19. repeat
  20. until *STOP = 0
  21. }
  22. if #stamina < %stam
  23. gosub czerwona
  24. finditem %runa C
  25. if #findkind = -1
  26. {
  27. set #sysmsgcol 1080
  28. event sysmessage Nie masz runa! Skrypt wylaczono!
  29. wait 5s
  30. goto start
  31. }
  32. if #findkind = 1
  33. {
  34. ignoreitem #findid
  35. goto start
  36. }
  37. if #findkind = 0
  38. {
  39. set #lobjectid #findid
  40. event macro 17
  41. wait 10s
  42.  
  43. }
  44. wait 20
  45. if #stamina < %stam
  46. gosub czerwona
  47. wait 20
  48. scanjournal
  49. if musisz_byc_w in #journal
  50. {
  51. finditem ATXEYBF C
  52. set #lobjectid #findid
  53. event macro 17
  54. }
  55. scanjournal
  56. if podczas_klatwy in #journal
  57. wait 50s
  58.  
  59. if %woz = 1
  60. gosub woz
  61.  
  62. goto start
  63.  
  64. sub czerwona
  65. finditem zuf C
  66. if #findkind = 0
  67. {
  68. set #lobjectid #findid
  69. event macro 17
  70. if #sex = 0
  71. {
  72. set #sysmsgcol 88
  73. set %ile #findstack - 1
  74. event sysmessage Wypiles miksa odswiezenia, zostalo %ile
  75. }
  76. if #sex = 1
  77. {
  78. set #sysmsgcol 88
  79. set %ile #findstack - 1
  80. event sysmessage Wypilas miksa odswiezenia, zostalo %ile
  81. }
  82. }
  83. if #findkind <> 0
  84. {
  85. set #sysmsgcol 1080
  86.  
  87. event sysmessage Nie masz miksa odswiezenia!
  88. return
  89. }
  90. return
  91.  
  92.  
  93. sub woz
  94. event macro 13 2
  95. target
  96. event macro 22
  97. wait 16s
  98. goto start
  99. return
Add Comment
Please, Sign In to add comment