Re: Practise dg script help

From: Minturn.Del.PRC.Oceana (Del@PRCOceana.Corona.Navy.Mil)
Date: 03/29/00


To set a players stuff with dg scripts myself and another
spent an hour trying to figure out how to do it.
Even though most of the players stats can be changed, practices
is not one of them. You have to add it in dg_scripts.c
along with all the other ones.

Then do something like:

%actor.gold(100)%
mecho %actor% is now 100 coins richer.

%actor.gold(-100)%
mecho %actor% is now 100 coins poorer.

Another method is:
eval %actor.gold% (%actor.gold% + 100)


again: PRACTICES are not in dg scripts.. Add them in the code.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT