 |
pin53 Beginner
Joined: 27 Nov 2001 Posts: 11 Location: USA
|
Posted: Wed Nov 28, 2001 11:08 pm
window trigger help |
[auction] Happy poos <----first case
> Happy [auction] wah <----secnod case
Happy [auction] bleh <----third case
how could i make a trigger to catch all 3 and throw them into one window
(%w)* {[}auction{]} <--- what i have so far... only works on first case though
Pin - we can all be immortal! |
|
|
 |
Acaila Apprentice
Joined: 30 Aug 2001 Posts: 187 Location: Netherlands
|
Posted: Wed Nov 28, 2001 11:21 pm |
Just keep it simple I guess, so did you try the following?
#TRIGGER {~[auction~]} {#CAP Auction}
Acaila |
|
|
 |
pin53 Beginner
Joined: 27 Nov 2001 Posts: 11 Location: USA
|
Posted: Thu Nov 29, 2001 10:42 am |
Didnt work... dont know hwy.. using 6.22 beta btw
|
|
|
 |
pin53 Beginner
Joined: 27 Nov 2001 Posts: 11 Location: USA
|
Posted: Thu Nov 29, 2001 12:08 pm |
Also how can you check if a class is on a off.. .like put it in an if statement?
|
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Nov 29, 2001 1:01 pm |
You can use %trigger to check if a class is enabled or not. Example:
#IF (%trigger(ClassName)) {#SH Class is enabled.} {#SH Class is not enabled.}
Kjata |
|
|
 |
pin53 Beginner
Joined: 27 Nov 2001 Posts: 11 Location: USA
|
Posted: Thu Nov 29, 2001 1:44 pm |
Thank you...
Ok a maybe more than newbie question
Room Name
Obvious exits are ....
(blank line)
----------------------------------------
Another Room
Obvious exits are ....
(blank line)
Monster ---
I want to build a trigger that can detect if there is or is there not a monster in the room, dependant on the roomname also
So first roomname enables the trigger.. then it searches to see if there's a monster, if not... (do command) (Thanks in advance) |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Nov 29, 2001 7:07 pm |
Probably the best way to do room-dependent actions is to use a room script. You can find instructions in the helpfile, it's the last entry under Introduction to Mapping in v6.15.
If Acaila's script doesn't work you've probably changed your special character assignments, either change them back to the default or alter the script to match. It's also possible, since you're using the beta version (and really ought to be asking your questions on the beta forum), that it's a verson-specific problem, in which case we won't be able to help you on the General forum.
LightBulb |
|
|
 |
|
|