Ok, So. I looked at your comment blackdragonsdg. Thanks for pointing that out. Its allways nice to have another set of eyes looking at something.
So here is where im at with it.
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! *Please give me the satchel first and the box second, in the same transaction*"); }
}
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");
}
}
}
I have a feeling im useing this line wrong, but im not sure in what way.
if(plugin::check_handin(\%itemcount, 1391 => 1, 12021 => 1))
|