Advertisement
Guest User

Untitled

a guest
Dec 30th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 4.16 KB | None | 0 0
  1. sub EVENT_SAY{
  2. my $link1 = quest::saylink("Work",1);
  3. my $link2 = quest::saylink("Collection",1);
  4. my $link3 = quest::saylink("Rescue",1);
  5. my $link4 = quest::saylink("Kill Count",1);
  6. my $link5 = quest::saylink("Assassinate",1);
  7. if($text=~/hail/i){
  8. plugin::Whisper("Ahhhh the wonderful realm of Raid Addicts as a new player of course vexthal has many wonderful drops but if you really want to step on the gas you can help me with some daily missions.  Are you willing to do a little [$link1] there little $race?  These all offer some guk crates which you can use to gear up from the guk merchants.");
  9. }
  10. if($text=~/work/i){
  11. plugin::Whisper("That's the spirit, i have four missions to choose from which you can do once a day [$link2], [$link3], [$link4], and [$link5]..");
  12. }
  13. if($text=~/Collection/i || ($text=~/hail/i && plugin::GetExpeditionVariable( "instance_name" ) eq "Crushbone Missions (Collection)")){
  14. $expedition_description = "Crushbone Missions (Collection)";
  15. plugin::HandleExpeditionOffer(
  16. $expedition_description, #Instance Identifier
  17. "Solo/Group", #Description of Adventure (Ex: Group)
  18. 6, #Number of Players
  19. 63, #Task ID Association
  20. $expedition_description, #Description of Adventure
  21. 3600, #Duration Timer (Seconds)
  22. 4, #Version
  23. "crushbone", #ZoneSN
  24. 147.16, #Instance Destination X
  25. -624.90, #Instance Destination Y
  26. 4.69, #Instance Destination Z
  27. 43, #Instance Destination H
  28. 1, #Required Average Level
  29. 1, #Minimum # of Players
  30. 1, #Is Shared Task (0/1)
  31. 7200, #Lockout Duration
  32. 0, ### Boot on completion
  33. 0, # X Compass Loc
  34. 0, # Y Compass Loc
  35. 0, # Z Compass Loc
  36. 1, # Force Initial Entry
  37. 1, # Minimum Level
  38. );
  39. }
  40. if($text=~/Rescue/i || ($text=~/hail/i && plugin::GetExpeditionVariable( "instance_name" ) eq "Crushbone Missions (Rescue)")){
  41. $expedition_description = "Crushbone Missions (Rescue)";
  42. plugin::HandleExpeditionOffer(
  43. $expedition_description, #Instance Identifier
  44. "Solo/Group", #Description of Adventure (Ex: Group)
  45. 6, #Number of Players
  46. 62, #Task ID Association
  47. $expedition_description, #Description of Adventure
  48. 3600, #Duration Timer (Seconds)
  49. 3, #Version
  50. "crushbone", #ZoneSN
  51. 147.16, #Instance Destination X
  52. -624.90, #Instance Destination Y
  53. 4.69, #Instance Destination Z
  54. 43, #Instance Destination H
  55. 1, #Required Average Level
  56. 1, #Minimum # of Players
  57. 1, #Is Shared Task (0/1)
  58. 7200, #Lockout Duration
  59. 0, ### Boot on completion
  60. 0, # X Compass Loc
  61. 0, # Y Compass Loc
  62. 0, # Z Compass Loc
  63. 1, # Force Initial Entry
  64. 1, # Minimum Level
  65. );
  66. }
  67. if($text=~/Kill Count/i || ($text=~/hail/i && plugin::GetExpeditionVariable( "instance_name" ) eq "Crushbone Missions (Kill Count)")){
  68. $expedition_description = "Crushbone Missions (Kill Count)";
  69. plugin::HandleExpeditionOffer(
  70. $expedition_description, #Instance Identifier
  71. "Solo/Group", #Description of Adventure (Ex: Group)
  72. 6, #Number of Players
  73. 61, #Task ID Association
  74. $expedition_description, #Description of Adventure
  75. 3600, #Duration Timer (Seconds)
  76. 2, #Version
  77. "crushbone", #ZoneSN
  78. 147.16, #Instance Destination X
  79. -624.90, #Instance Destination Y
  80. 4.69, #Instance Destination Z
  81. 43, #Instance Destination H
  82. 1, #Required Average Level
  83. 1, #Minimum # of Players
  84. 1, #Is Shared Task (0/1)
  85. 7200, #Lockout Duration
  86. 0, ### Boot on completion
  87. 0, # X Compass Loc
  88. 0, # Y Compass Loc
  89. 0, # Z Compass Loc
  90. 1, # Force Initial Entry
  91. 1, # Minimum Level
  92. );
  93. }
  94. if($text=~/Assassinate/i || ($text=~/hail/i && plugin::GetExpeditionVariable( "instance_name" ) eq "Crushbone Missions (Assassinate)")){
  95. $expedition_description = "Crushbone Missions (Assassinate)";
  96. plugin::HandleExpeditionOffer(
  97. $expedition_description, #Instance Identifier
  98. "Solo/Group", #Description of Adventure (Ex: Group)
  99. 6, #Number of Players
  100. 60, #Task ID Association
  101. $expedition_description, #Description of Adventure
  102. 3600, #Duration Timer (Seconds)
  103. 1, #Version
  104. "crushbone", #ZoneSN
  105. 147.16, #Instance Destination X
  106. -624.90, #Instance Destination Y
  107. 4.69, #Instance Destination Z
  108. 43, #Instance Destination H
  109. 1, #Required Average Level
  110. 1, #Minimum # of Players
  111. 1, #Is Shared Task (0/1)
  112. 7200, #Lockout Duration
  113. 0, ### Boot on completion
  114. 0, # X Compass Loc
  115. 0, # Y Compass Loc
  116. 0, # Z Compass Loc
  117. 1, # Force Initial Entry
  118. 1, # Minimum Level
  119. );
  120. }
  121. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement