Thread: Quest Help
View Single Post
  #11  
Old 09-17-2011, 12:57 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

No, that is fine. You should use a program like Notepad++. The colorful GUI will show you that you still missed a quote at item 1374/12021 and an extra close bracket at the end of the file.

EDIT: Here's a cleaned up version. Didn't test it, just going off what you have.

Code:
sub EVENT_SAY {
  if ($text =~/hail/i) {
    plugin::Whisper("Greetings, $name! If you have found a satchel of your class and perhaps a box... I could convert them into something of use for you!");
  }
}

sub EVENT_ITEM {
  if (plugin::check_handin(\%itemcount, 1079 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1442);
  }
  if (plugin::check_handin(\%itemcount, 1096 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1441);
  }
  if (plugin::check_handin(\%itemcount, 1119 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1445);
  }
  if (plugin::check_handin(\%itemcount, 1261 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1447);
  }
  if (plugin::check_handin(\%itemcount, 1264 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1448);
  }
  if (plugin::check_handin(\%itemcount, 1266 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(11563);
  }
  if (plugin::check_handin(\%itemcount, 1267 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1533);
  }
  if (plugin::check_handin(\%itemcount, 1270 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1502);
  }
  if (plugin::check_handin(\%itemcount, 1319 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1458);
  }
  if (plugin::check_handin(\%itemcount, 1323 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1450);
  }
  if (plugin::check_handin(\%itemcount, 1352 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1449);
  }
  if (plugin::check_handin(\%itemcount, 1353 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1399);
  }
  if (plugin::check_handin(\%itemcount, 1372 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1432);
  }
  if (plugin::check_handin(\%itemcount, 1373 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1434);
  }
  if (plugin::check_handin(\%itemcount, 1374 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1435);
  }
  if (plugin::check_handin(\%itemcount, 1375 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1439);
  }
  if (plugin::check_handin(\%itemcount, 1377 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1440);
  }
  if (plugin::check_handin(\%itemcount, 1378 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1396);
  }
  if (plugin::check_handin(\%itemcount, 1379 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1395);
  }
  if (plugin::check_handin(\%itemcount, 1380 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1388);
  }
  if (plugin::check_handin(\%itemcount, 1381 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1387);
  }
  if (plugin::check_handin(\%itemcount, 1382 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1386);
  }
  if (plugin::check_handin(\%itemcount, 1383 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1385);
  }
  if (plugin::check_handin(\%itemcount, 1118 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1443);
  }
  if (plugin::check_handin(\%itemcount, 1394 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1389);
  }
  if (plugin::check_handin(\%itemcount, 1393 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1436);
  }
  if (plugin::check_handin(\%itemcount, 1392 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1503);
  }
  if (plugin::check_handin(\%itemcount, 1391 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1446);
  }
}
Reply With Quote