Unknown2006-08-23 15:23:26
Could someone please tell me how I can set something up so that if an enemy of mine enters my demesne, they'll be able to tell a specific clan that I have this Trigger set to send to? I've got little variables for all my enemies, now I just need a way to have the code recognise JUST them when they enter/leave my demesne. If you could help, that'd be wonderful!
Unknown2006-08-23 15:50:24
Anyone? I know you're hiding!
Noola2006-08-23 17:08:49
Don't know anything about making triggers really, just wanted to say Happy Birthday! 

Unknown2006-08-23 19:41:43
Yeah, happy birthday! 

Unknown2006-08-24 00:21:46
Pfff. I made a thread for that! 

Unknown2006-08-24 00:55:08
You know what would be a great birthday present? Terentia appearing out of no where and giving me a hug! That'd be great! With EVERYONE there to witness and attest that it actualy happened!
Diamondais2006-08-24 00:56:23
QUOTE(Ysuran @ Aug 23 2006, 08:55 PM) 323528
You know what would be a great birthday present? Terentia appearing out of no where and giving me a hug! That'd be great! With EVERYONE there to witness and attest that it actualy happened!
Does sound nice.
Unknown2006-08-24 01:00:34
Heh. I got zapped by sending her a tell with the message: -hug- in it. Then she announced over the OT that I can't hug her. It was quite funny! I know you're listening, Terentia! HUG MEH!
Gelo2006-08-25 13:05:59
QUOTE(Ysuran @ Aug 24 2006, 01:23 AM) 323375
Could someone please tell me how I can set something up so that if an enemy of mine enters my demesne, they'll be able to tell a specific clan that I have this Trigger set to send to? I've got little variables for all my enemies, now I just need a way to have the code recognise JUST them when they enter/leave my demesne. If you could help, that'd be wonderful!
Trigger:
Soll enters your demesne.
Command
Clt Soll entered my demesne!
-or-
Clan Switch
Clt Soll entered my demesne!
(for cases where you switch to other clans)
I find this trick extremely useful in defense. I remembered using this against Pentu back in the Faethorn wars. I normally demesne and guard backwards avenue (the place just outside Glomdoring's archway in Ethereal). She's just so slippery that I made a custom trigger just for her. Everytime she goes in I would raise cudgel raising her up in the trees where a fellow moondancer preprared various hexes to stop her. Just cudgel cudgel and poof!

Did this twice I think then she stopped raiding for a while. Or at least when I'm there.

Esano2006-08-25 13:08:20
You can just use clt# in order to talk on a specific clan - no need to switch over.
So clt(clan number) (message), not clan switch (clan number), clt (message).
So clt(clan number) (message), not clan switch (clan number), clt (message).
Gelo2006-08-25 13:39:43
Oh.. I didnt know that! New things you learn everyday. 

Reiha2006-08-25 19:12:54
I want to have this demesne warning, too, but I don't want to have to make a trigger for every single person, and I also want the ability to switch this on and off. Been trying to figure it out myself, getting nowhere so far since when I do get the chance to work on it - Raizan's usually popping in and out of Nil or killing Earth Lords *tsk tsk*
Minerva2006-08-25 20:22:45
I dont know how to code it specificaly but I can give help on what to code I belive it should go like this
has entered your demense
          If ==
                  clt has entered my demense help help
          if <>(means not equal) end trigger
Something like that
CODE
          If
                  clt
          if
Ildaudid2006-08-25 20:27:50
You will need to make it read off of your enemies so that would mean probably making a string variable to add people to a special enemy list along with them being enemied in the game...
Then just do something simple off of... %1 has entered your demesne (or whatever it says for the line)
#if (%1=@enemy_list) {clt# Blah blah blah}
I am not sure if it would understand just one name from the list but that is the best guess I have.
Then just do something simple off of... %1 has entered your demesne (or whatever it says for the line)
#if (%1=@enemy_list) {clt# Blah blah blah}
I am not sure if it would understand just one name from the list but that is the best guess I have.
Minerva2006-08-25 20:40:11
Illy bad bad bad he is using ALC
or is it mush now. Well either one isnt the same as zmud. 


Ildaudid2006-08-25 22:19:28
Get Zmud then. 

Minerva2006-08-25 22:46:17
Is that your solution to everything?
Unknown2006-08-27 00:53:48
QUOTE(Ildaudid @ Aug 25 2006, 08:27 PM) 324051
You will need to make it read off of your enemies so that would mean probably making a string variable to add people to a special enemy list along with them being enemied in the game...
Then just do something simple off of... %1 has entered your demesne (or whatever it says for the line)
#if (%1=@enemy_list) {clt# Blah blah blah}
I am not sure if it would understand just one name from the list but that is the best guess I have.
QUOTE(Minerva @ Aug 25 2006, 08:40 PM) 324063
Illy bad bad bad he is using ALC


Actualy... his works for ALC, and yes, it's ALC. MUSH is too confusing for me!

QUOTE(Reiha @ Aug 25 2006, 07:12 PM) 324021
I want to have this demesne warning, too, but I don't want to have to make a trigger for every single person, and I also want the ability to switch this on and off. Been trying to figure it out myself, getting nowhere so far since when I do get the chance to work on it - Raizan's usually popping in and out of Nil or killing Earth Lords *tsk tsk*
Ohh. Also, make an alias to turn it off and on, then, in the trigger script, have something like:
CODE
#if (whatever the variable is that represents the demesne warning thingy) = 1 {bla}
Easy!
Terentia2006-08-27 14:39:28
QUOTE(Ysuran @ Aug 23 2006, 09:00 PM) 323533
Heh. I got zapped by sending her a tell with the message: -hug- in it. Then she announced over the OT that I can't hug her. It was quite funny! I know you're listening, Terentia! HUG MEH!
Happy Belated Birthday!
No, you do not get a hug.
You do not pass the Portal of Fate, you do not collect 2000 gold.
Minerva2006-08-27 16:11:51
Haha no hug for Ysuran