Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. ;macro na cast czarow by molt 2,0v
  2. set #lpc 150
  3. gosub oczyscimie
  4. start:
  5. set %_jindex #jindex
  6. scanloop:
  7. if #jindex >= %_jindex
  8. {
  9. scanjournal %_jindex
  10. ;corp
  11. if %imie in #journal && Corp_Por in #journal
  12. {
  13. set %czekaj 55
  14. gosub czekaj
  15. }
  16. if %imie in #journal && Artan_Braile in #journal
  17. {
  18. set %czekaj 55
  19. gosub czekaj
  20. }
  21. ;blysk
  22. if %imie in #journal && Por_Ort_Grav in #journal
  23. {
  24. set %czekaj 27
  25. gosub czekaj
  26. }
  27. ;mind
  28. if %imie in #journal && Por_Corp_Wis in #journal
  29. {
  30. set %czekaj 51
  31. gosub czekaj
  32. }
  33. ;paraliz
  34. if %imie in #journal && An_Ex_Por in #journal
  35. {
  36. set %czekaj 20
  37. gosub czekaj
  38. }
  39. ;an mani
  40. if %imie in #journal && An_Mani in #journal
  41. {
  42. set %czekaj 12
  43. gosub czekaj
  44. }
  45. ;-------
  46. set %_jindex %_jindex + 1
  47. }
  48. wait 0
  49. goto scanloop
  50. goto start
  51.  
  52. sub czekaj
  53. {
  54. wait %czekaj
  55. set #sysmsgcol 3880
  56. event ExMsg #charID 3 1152 !! BIEGNIJ !!
  57. return
  58. }
  59. ;ponizej tego nie ruszamy nic
  60. sub oczyscimie
  61. {
  62. set %imie #charname
  63. str Len %imie
  64. set %liczdl #strres
  65. str Pos %imie #spc
  66. set %liczma #strres
  67. str Del %imie %liczma %liczdl
  68. set %imie #strres
  69. return
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement