View Single Post
  #24  
Old 03-14-2005, 08:21 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default 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);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com