Thread: Couple Bugs
View Single Post
  #2  
Old 12-28-2014, 08:47 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

on your second one issue, you have two instances of the EVENT_SAY subroutine. you can only have one.

example:

Code:
#Quest file for Mesa - Deevan

sub EVENT_SAY {
    if ($text=~/hail/i) {
        if ($ulevel > 34) {
            plugin::DiaWind("blah");
            quest::summonitem(); # Note to Vahl
        } else {
            plugin::DiaWind("yack");
            quest::summonitem(105611); # Charm
        }
    }
}
NOTE: now that the original post has been edited, my response no longer really applies...
__________________
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