|
jmmq Newbie
Joined: 22 Nov 2007 Posts: 6
|
Posted: Wed Dec 26, 2007 3:22 am
Trigger when line is not displayed on a room |
When i enter my "guardian" room, if she see me i get a string in the next line after the long of the mob.
the PK's sometines blind my guardian so they can kill me, if the guardian is blinded she doesn't say anything..
so...i want a trigger or something to automatic cure blindness her when i dont get the greeting line...
p.d: i use the mapper too, so maybe a room script may work
Las Puertas del Templo --> Roomname
[Salidas: norte (sur)] -->exits line
La musica te ha atraido hacia un portal enrejado, a traves de la verja puedes
observar un pequeño sendero que se dirije sinuosamente hacia donde los mas
diestros maestros LuTHieRS forjaron sus habilidades con gran entrega dedicación
y paciencia.Pero LuTHieR solo hay uno! Y para encargarse de que nadie lo ponga
en duda, por aqui suele avitar la digamos "pequeña" mascota del LuThi... Si
pensabas que era un charco lo que pisabas tenias razon, pero de las babas que
le caen a Gala cuando huele carne fresca....
(Mag) Aqui hay un tallo magico. --> object (water fountain)
(Bla) Gala esta por aqui buscando a sus cachorros. --> mob, the guardian.
Gala la guardiana te confunde con uno de sus cachorrillos.. mejor no la contradigas. --> Greeting line to me when she see me entering. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Dec 26, 2007 3:30 am |
A multistate trigger perhaps?
#trig {~(Bla~) Gala esta por aqui buscando a sus cachorros.} {}
#cond {*} {#if (!%match(%line,"Gala la guardiana te confunde con uno de sus cachorrillos.. mejor no la contradigas.")) {cure poison}} |
|
|
|
jmmq Newbie
Joined: 22 Nov 2007 Posts: 6
|
Posted: Wed Dec 26, 2007 3:36 am |
what does the %line ? i cant find it in the help file
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Dec 26, 2007 4:15 am |
%line is a predefined system variable that represents the last received line of text. I think the functionality was changed so that this variable is much more dependable, but in ZMud the variable could change before the initial trigger finished processing and thus the code in that trigger might be trying to operate on a line other than what was intended.
It's basically a version of %0 now. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Arzoc Beginner
Joined: 07 Jan 2008 Posts: 18
|
Posted: Tue Jan 08, 2008 8:27 pm |
Could anyone give me a link or a summary of where to find those %* thingies? Because it seems they are really important and I need to know more about 'em.
Thanks! |
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Tue Jan 08, 2008 8:32 pm |
Predef
|
|
_________________ Taz :) |
|
|
|
|
|