Re: DG help files..

From: The Fungi (
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
     otransform 3020
   %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(; IRC(; ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(;
MUD(; WWW(; }

   | FAQ: |
   | Archives: |
   | Newbie List:   |

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