View Single Post
  #6  
Old 12-22-2003, 02:24 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Quote:
Originally Posted by Scorpious2k
There is. The command is faction(<id>,<amount>) or in perl quest::faction(<id>,<amount>).
That is what I expected, but couldn't find a referance to quest::faction in the code. but granted I couldn't find a referance for the old qst faction command even though I used it when I coverted the ethernalquest quests months ago.

Quote:
Originally Posted by eglin
Yes, eqemu supports the notion of faction. You can use the $faction in quests to get faction standing. You can use the undocumented faction function in the native parser, or you can add a line like Code:
"sub faction{push(@cmd_queue,{func=>'faction',args=>joi n(',',@_)});}"
to the bottom of embparser.cpp and recompile to use it in your Perl quests. If I'm interpreting Wes's code correctly, then the appropriate syntax for the function is "faction(faction id, amount)"
hah! knew I didn't find it in the perl parser That and you didn't support it in your qst-to-pl perl script. Quick note on that perl conversion script, it seems to add an I at the ends of "if($text=~/name/i);" type statments and had ;; instead of ; at the end of everything was that intentional?

Ok, I request that someone get that line merged in to the CVS source.
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote