Re: [Re: DG script help]

From: Sorren (sorren@usa.net)
Date: 04/08/99


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 ?

Sorren

Mark Ip <mip@chat.carleton.ca> wrote:
I haven't tried that particular command... but if commands are always
surrounded
by ()
try:
if (%teach_spells.contains(%arg%)%)

Maybe that'll help.
-Mark

Sorren wrote:

> I'm trying to set a variable to a list of spells, like
> set teach_spells fireball curse blindness
snip

____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1


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