Was wondering if there was a way to do a gender variable check
IE
if (text =~/hail/i) && ($gender == 1)
etc etc
only important for making more specific lifelike dialogue, not too important but would still be nice
sub EVENT_SAY
{
$gender = $client->GetGender();
quest::say("Your gender is $gender");
if($gender == 0)
{
quest::say("You are male.");
}
else
{
quest::say("You are female.");
}
}
Technically 0 = male, 1 = female, 2 = neuter. There is also GetBaseGender which I guess you could use if you wanted to find the real gender of a player with a gender changing Illusion cast on them.
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.