Triggers, triggers |
Triggers, triggers |
Guest_Blum_* |
Nov 2 2004, 02:00 PM
Post
#1
|
Guests |
I need some help with a trigger.
What I am trying to do is to write a trigger that takes a tell and sends it to another windows. On the mud I am playing a tell looks like this: QUOTE The town crier tells you, "... if you ask me about the latest news." I've tried using ^.* tells you, ".*" as the regular expression and ##send window "Tells" %%0 as the reply. It works some times, but in some cases I get very strange results. Here is an example of me entering a room where a mob tells me stuff when I enter: QUOTE H:427 P:100.0 V:103 T:49792 E:459,151,139 N:11,120,409 > You ride south. Center Square [PEACEFUL] [NOHEAL] You are in the center of a large city. An east-west road meets with a north-south road here. The plaza is wide and commotion surrounds you. An open doorway to the southwest seems to lead to a Tavern. Dark clouds cover the sky. This area is brightly lit. You can see exits to the north, east, south, west, and southwest. An elite cityguard is here, riding a stubborn packmule. An emissary from the hobbit kingdom walks purposefully through town. [2] An obedient zombie collects corpses for his master. A member of the Golden Treasure Boys squatters gang wanders aimlessly. The Grimhaven-Brightmoon trolley is here. An old, broken down horse stands here. A Grimhaven town crier stands here spreading the latest news. A large, marble fountain sits here bubbling water. A large statue stands here. A lamppost is here. (lit) A apple tree is here. A town crier notices your arrival. A town crier says, "Welcome to SneezyMUD v5.2!" A town crier says, "Have you heard the news?" T[Triggered reply:"##send window "Tells" %%0"] he town crier tells you, "... if you ask me about the latest news." The town crier tells you, "I can tell you more..." H:427 P:100.0 V:103 T:49792 E:459,151,139 N:11,120,409 > An obedient zombie strides east. H:427 P:100.0 V:103 T:49792 E:459,151,139 N:11,120,409 > A hobbit emissary leaves north. Incorrect command. Please see help files if you need assistance! This is what gets send to the "Tells window": QUOTE A large statue stands here. The town crier tells you, "I can tell you more..." What am I doing wrong? |
|
|
Lo-Fi Version | Time is now: 27th November 2024 - 03:40 PM |