EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Client deity check? (https://www.eqemulator.org/forums/showthread.php?t=39067)

Maceblade 12-02-2014 09:45 PM

Client deity check?
 
Can anyone help me with the command lines to check for a clients deity?

ie. I want to check for a clients deity and then buff them or reward them accordingly.

joligario 12-02-2014 10:54 PM

Code:

sub EVENT_SAY {
  if ($text=~/deity/i) {
    my $deity = $client->GetDeity();
    quest::say("Your deity ID is $deity.");
  }
}



All times are GMT -4. The time now is 03:18 AM.

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