|
Kalus Beginner
Joined: 01 Dec 2000 Posts: 27
|
Posted: Thu Nov 21, 2002 12:51 pm
safety triggers |
I'm pretty good at simple triggers and alias usage, but i was thinking of making a more complicated script and have no real idea how to go about it. I'd like to have triggers check "where" every few seconds to tell me if anyone new has appeared in the area, warning me both if someone arrives or if someone leaves. The mud output looks like this when I type where
Players in your vicinity:
-------------------------
[Nerocellen ] - On a Winding Trail
[Zagor ] - Lurking about
It says lurking about for anyone who is currently sneaking or the room name for those who are not. I'd really appreciate any advice...or if someone has a really good idea how to do this actually code for it. Thanks for your time
Kalus |
|
|
|
Kalus Beginner
Joined: 01 Dec 2000 Posts: 27
|
Posted: Thu Nov 21, 2002 12:53 pm |
i also wanted to mention that i'd like to make it so the results of where weren't displayed unless something had changed....possibly using some type of #GAG, but not leaving blank lines on the screen
Kalus |
|
|
|
Daniel Beginner
Joined: 13 Oct 2000 Posts: 20 Location: Germany
|
Posted: Thu Nov 21, 2002 1:16 pm |
Hello Kalus,
try this:
#alarm +10 {where}
#trigger {^~[*~] - (*)} {#if %1="Lurking about" {#col red} {#gag}}
this is not tested but should work :)
Hope this helps
Daniel |
|
|
|
|
|