EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Accepting Coin Via Check_Handin Plugin (https://www.eqemulator.org/forums/showthread.php?t=28125)

chrsschb 05-06-2009 11:33 PM

Accepting Coin Via Check_Handin Plugin
 
I just recently recreated a few quests with the newer check_handin plugin. However I don't know what the correct syntax is for coin (what's below is obviously incorrect). Help?

Code:

if(plugin::check_handin(\%itemcount, 19204=>1, 19227=>1, 19211=>1, $platinum=>2000))
        {
        quest::say ("This should only take a second...");
        quest::summonitem(30447);
        }


Shendare 05-07-2009 12:04 AM

check_handin does not support checking for coin turn-ins, you need to check that separately:

Code:

if(plugin::check_handin(\%itemcount, 19204=>1, 19227=>1, 19211=>1) && ($platinum==2000))
        {
        quest::say("This should only take a second...");
        quest::summonitem(30447);
        }


chrsschb 05-07-2009 12:18 AM

I remember that now. Can't believe I forgot lol.

Appreciate it! :grin:


All times are GMT -4. The time now is 11:55 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.