EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   tutorialb scripts (https://www.eqemulator.org/forums/showthread.php?t=22300)

ArChron 01-15-2007 02:26 AM

tutorialb scripts
 
The tutorial scripts are a tad... overgenerous I think.
Since perl doesn't have a case/switch construct I can use to rewrite the code, it's an elsif rewrite...

The simple if ($itemcount{}) in the EVENT_ITEM sub allows major player shortcuts if you attempt the turn in for the biggest item first... With the series of independent

if this
if that
if otherthing

you also get any of the other items that require some sub-combination of components.

This is probably old news to anyone who has run their server for more than a week, but I'm just working mine up from the beginning...


All times are GMT -4. The time now is 07:12 PM.

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