Log in

View Full Version : Client deity check?


Maceblade
12-02-2014, 09:45 PM
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
sub EVENT_SAY {
if ($text=~/deity/i) {
my $deity = $client->GetDeity();
quest::say("Your deity ID is $deity.");
}
}