View Single Post
  #4  
Old 09-18-2008, 07:13 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

$client->GetDeity() is the object you need. Here is an example of its usage:

Code:
sub EVENT_SAY { 
$deity = $client->GetDeity();
if($text=~/Hail/i && $deity == 207){
 quest::summonitem(66172);
}
 }
Here is a list of the Deity values: http://www.eqemulator.net/wiki/wikka...akka=DeityList
Reply With Quote