Advertisement
Guest User

Untitled

a guest
Jul 6th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 3.09 KB | None | 0 0
  1. sub EVENT_ITEM_CLICK {
  2.    
  3.     if (($itemcount{100137} == 1) && $ulevel <= 104 && (!defined quest::get_data($client->CharacterID()."_IOG25DONE"))) {
  4.     #if($itemid == 100137 && $ulevel <= 104 && !quest::get_data($client->CharacterID()."_IOG25DONE")) {#CHANGEME
  5.         $client->Message(327, "You have skipped to level 104 and have received an IOG 2.5, spells and discs to level 99, Tier 4.5 Armor and 50,000 Guks!");
  6.         quest::level(104);
  7.         quest::summonitem(34991, 0);
  8.         quest::set_data($client->CharacterID()."_IOG25DONE", 1);#CHANGEME
  9.         quest::set_data($client->CharacterID()."_Phantom45ArmsFinished", 1);#CHANGEME
  10.         quest::set_data($client->CharacterID()."_Phantom45HelmFinished", 1);#CHANGEME
  11.         quest::set_data($client->CharacterID()."_Phantom45GlovesFinished", 1);#CHANGEME
  12.         quest::set_data($client->CharacterID()."_Phantom45LegsFinished", 1);#CHANGEME
  13.         quest::set_data($client->CharacterID()."_Phantom45WristFinished", 1);#CHANGEME
  14.         quest::set_data($client->CharacterID()."_Phantom45BootsFinished", 1);#CHANGEME
  15.         quest::set_data($client->CharacterID()."_Phantom45BPFinished", 1);#CHANGEME
  16.         quest::faction($_, 3000) for (1200, 1201, 1202);
  17.         quest::scribespells(99, 1);
  18.         quest::traindiscs(99, 1);
  19.         quest::summonitem($_) for (9523..9529, 9527, 700, 10242, 965, 34467, 23620, 567, 652, 143, 3538, 783);
  20.         quest::summonitem(9560, 0);
  21.     }
  22.     if (($itemcount{100137} == 1) && $ulevel > 103 && (!defined quest::get_data($client->CharacterID()."_IOG25DONE"))) {
  23.     #if($itemid == 100137 && $ulevel > 103 && !quest::get_data($client->CharacterID()."_IOG25DONE")){#CHANGEME
  24.         $client->Message(327, "I dont think you want to go down to level 104, but here is an IOG 2.5, Tier 4 Armor and 50,000 Guks!");
  25.         quest::set_data($client->CharacterID()."_IOG25DONE", 1);#CHANGEME
  26.         quest::set_data($client->CharacterID()."_Phantom45ArmsFinished", 1);#CHANGEME
  27.         quest::set_data($client->CharacterID()."_Phantom45HelmFinished", 1);#CHANGEME
  28.         quest::set_data($client->CharacterID()."_Phantom45GlovesFinished", 1);#CHANGEME
  29.         quest::set_data($client->CharacterID()."_Phantom45LegsFinished", 1);#CHANGEME
  30.         quest::set_data($client->CharacterID()."_Phantom45WristFinished", 1);#CHANGEME
  31.         quest::set_data($client->CharacterID()."_Phantom45BootsFinished", 1);#CHANGEME
  32.         quest::set_data($client->CharacterID()."_Phantom45BPFinished", 1);#CHANGEME
  33.         quest::faction($_, 3000) for (1200, 1201, 1202);
  34.         quest::summonitem(34991, 0);
  35.         quest::summonitem($_) for (9523..9529, 9527, 700, 10242, 965, 34467, 23620, 567, 652, 143, 3538, 783);
  36.         quest::summonitem(9560, 0);
  37.         }
  38.     if (($itemcount{100137} == 1) && (defined quest::get_data($client->CharacterID()."_IOG25DONE"))) {
  39.     #if($itemid == 100137 && quest::get_data($client->CharacterID()."_IOG25DONE")){#CHANGEME
  40.         $client->Message(327, "You have already used this item once or you already have the IOG 2.5, give it to someone that needs it!!");
  41.         quest::summonitem(100137, 0);
  42.         }
  43.      
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement