Re: [Re: DG script help]

From: Daniel Burke (addictmud@home.com)
Date: 04/09/99


On Thu, 8 Apr 1999, Sorren wrote:

> I tried putting () around it just for fun, it didn't work either, but it was a
> good try.  Anyone else have any ideas on how to get the .contains to work ?
>
> if (%teach_spells.contains(%arg%)%)
>

I seem to recall that the way it is setup, you can't use variables within
the ()'s.  Take a look at the function that translates those to real
variables. var_subst() I believe.

Brazil - AddictMUD
game.addictmud.org 4000
http://www.addictmud.org


     +------------------------------------------------------------+
     | 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 : 12/15/00 PST