Re: Practise dg script help

From: Brandon Brown (BBrown@uasoft.com)
Date: 03/28/00


> set %actor% practice+1
Would this work outside of the script?  Nope. :)

Try:

eval newpractices (%actor.practices% + 1)
set %actor.name% practice %newpractices%

 -or-

eval newpractices (%actor.practices% + 1)
mset %actor.name% practice %newpractices%

This is very quick mail list code, but it should do the trick, I think.
Depending on what version of DG scripts you're using should determine which
one you choose.  (not overly familar with the newer DG versions, myself)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  B. Brown                                                     TimeTraveller
  Senior Programmer                                      'Lost in Time,
  U&A Software InterActive                            'and Loving it!'
  http://www.uasoft.com/staff/bbrown/         http://www.uasoft.com/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

     +------------------------------------------------------------+
     | 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