Re: DG help files..

From: The Fungi (fungi@yuggoth.org)
Date: 09/10/02


On Wed, Sep 11, 2002 at 12:00:20AM +0200, Peter d wrote:
> hi, me again, hope you haven't gotten tired of me, yet :)
>
> i was wondering, if there is a helpfile for creating scripts with trigedit..
>
> because it's clearly not c programming knowledge that is needed here, at
> least not entirely.. how do i for example set up an if statement, and then
> an else..?

Examples abound. I would suggest you look through the test triggers
that come in the 0.trg file. What you seek is easily demonstrated in
#7, for example:

   %echo% Beginning object transform.
   if %self.vnum% == 3020
     otransform 3021
   else
     otransform 3020
   end
   %echo% Transform complete.

The script that you enter in trigedit is the same syntax as what is
written to the trgfiles...
--
{ IRL(Jeremy_Stanley); PGP(9E8DFF2E4F5995F8FEADDC5829ABF7441FB84657);
SMTP(fungi@yuggoth.org); IRC(fungi@irc.yuggoth.org#ccl); ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(fungi@yuggoth.org);
MUD(Nergel@mud.yuggoth.org:2325); WWW(http://fungi.yuggoth.org/); }

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT