Advertisement
sorvani

test_assign_raid.pl

Jun 3rd, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.50 KB | None | 0 0
  1. sub ASSIGN_RAID_TO_INSTANCE {
  2.   $NewInstance = quest::CreateInstance("mirb", 50, 10800);
  3.   for ($count = 1; $count <= $raid->RaidCount(); $count++) {
  4.     $temp_client = $raid->GetClientByIndex($count);
  5.     if ($temp_client->KeyRingCheck(41000)) {
  6.       $temp_client->AssignToInstance($NewInstance);
  7.       $temp_client->MarkCompassLoc(-5460, -630, 190);
  8.     } else {
  9.       $ClientNotAdded++;
  10.       $temp_client->Message(13,"Mysterious forces prevent you from being added to the expedition.");
  11.     }
  12.   }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement