|
Kendrick Beginner
Joined: 28 Aug 2003 Posts: 25 Location: USA
|
Posted: Sat Aug 30, 2003 10:18 am
How to trigger class on/off? |
All I want to do is trigger my Ratting class folder for Achaea to turn on with:
You will now notice the movement of rats. Happy hunting!
And turn off with:
You will no longer take notice of the movement of rats.
Basically, it's a Rat counter, and it also colors in the rat-text so I can notice them easier. I got it from www.Achaea.cjb.net so all of people should be familiar with it. Here's my Ratting Class Script I exported:
#CLASS {Ratting}
#ALIAS rreset {rat=0;money=0}
#VAR rat {9}
#VAR money {161}
#TRIGGER {You pick up the corpse of a black rat.} {#add money 35;#add rat 1}
#TRIGGER {You pick up the corpse of a baby rat.} {#add money 7;#add rat 1}
#TRIGGER {You pick up the corpse of a rat} {#add rat 1;#add money 21}
#TRIGGER {The ratman thanks you as you hand over } {pp;rreset}
#TRIGGER {Ratman stands here quietly.} {sell rats to ratman}
#TRIGGER {Liirup squeals with delight} {pp;rreset}
#TRIGGER {old rat} {#cw white,darkgray}
#TRIGGER {black rat} {#cw black,darkgoldenrod}
#TRIGGER {a rat} {#cw green,burlywood}
#TRIGGER {baby rat} {#cw rosybrown}
#TRIGGER {young rat} {#cw cyan,bold}
#TRIGGER {full-grown rat} {#cw green,burlywood}
#TRIGGER {Junction of Moon street and Old road} {sell rats to Liirup}
#TRIGGER {You pick up the corpse of an old rat.} {#add money 28;#add rat 1}
#TRIGGER {You pick up the corpse of a young rat.} {#add money 14;#add rat 1}
#STAT {Rats: @rat Rat$$: @money}
#CLASS 0
#ALIAS rreset {rat=0;money=0} "Ratting"
#VAR rat {9} {_nodef} "Ratting"
#VAR money {161} {_nodef} "Ratting"
#TRIGGER {You pick up the corpse of a black rat.} {#add money 35;#add rat 1} "Ratting"
#TRIGGER {You pick up the corpse of a baby rat.} {#add money 7;#add rat 1} "Ratting"
#TRIGGER {You pick up the corpse of a rat} {#add rat 1;#add money 21} "Ratting"
#TRIGGER {The ratman thanks you as you hand over } {pp;rreset} "Ratting"
#TRIGGER {Ratman stands here quietly.} {sell rats to ratman} "Ratting"
#TRIGGER {Liirup squeals with delight} {pp;rreset} "Ratting"
#TRIGGER {old rat} {#cw white,darkgray} "Ratting"
#TRIGGER {black rat} {#cw black,darkgoldenrod} "Ratting"
#TRIGGER {a rat} {#cw green,burlywood} "Ratting"
#TRIGGER {baby rat} {#cw rosybrown} "Ratting"
#TRIGGER {young rat} {#cw cyan,bold} "Ratting"
#TRIGGER {full-grown rat} {#cw green,burlywood} "Ratting"
#TRIGGER {Junction of Moon street and Old road} {sell rats to Liirup} "Ratting"
#TRIGGER {You pick up the corpse of an old rat.} {#add money 28;#add rat 1} "Ratting"
#TRIGGER {You pick up the corpse of a young rat.} {#add money 14;#add rat 1} "Ratting"
#STAT {Rats: @rat Rat$$: @money} "Ratting"
***
end |
|
|
|
Kendrick Beginner
Joined: 28 Aug 2003 Posts: 25 Location: USA
|
Posted: Sat Aug 30, 2003 10:28 am |
If turning off the triggers of that class is the only thing I can do, that'd be suitable too.
|
|
|
|
user0101 Apprentice
Joined: 01 Aug 2003 Posts: 100 Location: USA
|
Posted: Sat Aug 30, 2003 11:53 am |
#TRIGGER {You will now notice the movement of rats. Happy hunting!} {#T+ Ratting}
#TRIGGER {You will no longer take notice of the movement of rats.} {#T- Ratting} |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|