Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2014, 09:45 PM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default 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.
Reply With Quote
  #2  
Old 12-02-2014, 10:54 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:55 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3