quest::faction
quest::faction
Explaination: Adjusts the players faction with a chosen faction.
Full Command: quest::faction(factionid,value)
Factionid = The id of the faction you would like to adjust for the player, taken from your database.
Value = The amount you wish to adjust the players faction with the chosen faction.
Example:
# After hailing the NPC the players faction with faction ID 25 is increased by 5.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::faction(25,5);
}
}
|