View Single Post
  #2  
Old 01-22-2013, 11:01 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

small tweak

change this
Code:
    # don't check items if client is over level 95
    if ( $ulevel > 95 ) {
        quest::say($no_help);
    }
to this
Code:
   # don't check items if client is over level 95 and has turned in a soulstone
    if ( $ulevel > 95 && grep { $soulstone->{$_} } keys %itemcount ) {
        quest::say($no_help);
    }
that way, the client will only get the $no_help message if he/she is over level 95 and has turned in a soulstone.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote