|
Blaha Newbie
Joined: 25 Jun 2003 Posts: 2 Location: Sweden
|
Posted: Wed Jun 25, 2003 1:40 pm
Achaea Ratting Script/Triggers. |
It looks like this.. My problem is that I havent figured a way out to turn the trigger off, (Oh I have several that needs turning off too) I can turn RAT hunting off by typing RATS and I get a msg that says.
You will no longer take notice of the movement of rats.
and when I turn it on it says..
You will now notice the movement of rats. Happy hunting!
#CLASS {Triggers|Rats}
#TRIGGER {darts into the room, looking about wildly.} {Decay rat}
#TRIGGER {wanders into view, nosing about for food.} {Decay rat}
#TRIGGER {noses its way cautiously out of the shadows.} {Decay rat}
#TRIGGER {With a squeak} {Decay rat}
#TRIGGER {darts suddenly into view.} {Decay rat}
#TRIGGER {You have recovered equilibrium.} {Decay rat}
#CLASS 0
Simple as it seems it keeps annoy me due to the last trigger saying You have recovered equilibrium since I do that each time I regain it heh, doesnt matter if Im ratting or not it keeps effecting me....
One more issue is most of my triggers wont work.. I just choose "Create Trigger" and then choose "Open TXT file" which looks just as the one below.. there is several options I can choose for the trigger such as ALARM, COMMAND INPUT, Expression, and Pattern.. I have NO idea what they do or how I should set them up.. Im a bit sucky in English and all and the tutorials doesnt help much.. [V] |
|
|
|
Lalaynya Wanderer
Joined: 23 Aug 2002 Posts: 96
|
Posted: Wed Jun 25, 2003 4:41 pm |
What it looks like you're really wanting to do is turn off the whole class at once...
#class {triggers|rats} 0
You can also specify a name for a trigger(the ID field), and use #t-
#tr "rat1" {You see a rat!!!} {Do this!}
#t- rat1 |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Wed Jun 25, 2003 11:17 pm |
There are a few good rat counting scripts out there, but I felt that I should mention that auto-ratting in Achaea is against the rules and punishable by deletion.
For some good Achaea zMUD scripts (and a whole lot more), check out the unofficial site at http://www.achaea.cjb.net. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jun 26, 2003 4:41 am |
When creating a trigger in the editor, the usual choice for Style is zMUD Script and the usual choice for Type is Pattern. The other choices are intended for special types of triggers which are mostly used by people who have a good idea of what they're doing.
If you're finding it difficult to make triggers in the editor, you might want to try doing them from the command line. The helps were mostly written when command-line entry was the primary method of making new settings, so they may make more sense that way.
#T+/#T- can also be used to control classes.
#TR {^You will no longer take notice of the movement of rats.} {#T- {Triggers|Rats}}
#TR {^You will now notice the movement of rats. Happy hunting!} {#T+ {Triggers|Rats}}
As Larkin points out, Achaea does have rules about this. You also run the risks of annoying people by killing rats they've already attacked and of being unable to flee/shield/heal/etc because your triggers start the next attack first. Clicking on the "gun" next to the command line provides a quick way to shut off triggers manually. |
|
|
|
|
|