|
Kronas Wanderer
Joined: 28 Dec 2003 Posts: 62 Location: Australia
|
Posted: Tue Jan 13, 2004 5:24 am
@variablessssssss!!! |
O.K Hi, out there...I have made a
trigger {(%w)says,*} {#addi friend {%1)..ok so I have a variable @friend with 40 names in it.Now I try to give only them a different colour so I can distinguish them from the rest.Ummmm no idea!I tried a trigger {@friend says,*} {#cw high,red} Nothing. then I make a Macro key to say heal a friend {perform hands @friend} and then all the names pop up and prompts I see no such person...What am I doing wrong? Please help...... |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Tue Jan 13, 2004 7:19 am |
#trigger {(@friends) says,*} {#cw %1 high,red }
But didn't I say this stuff was cofered in the help files already?
You nee () around @friends to make it a % the #CW works fine IF you give it something to color wich you didn't
macro Preforem hands @friend
Do you even understand this? which friend do you want to heal?
your not giving it enough Information.
Maybe you missing something?
Macro are for doing something like cast spell dog , but cast spell @friend would bring back a list with all the people's name in it.
you could make a macro so when you hit it , it puts the 'cast hands' into the command line so all you have to do is input the name and hit enter. you could make it so it casts hands on all your friends, you could make it to look into the room see who is there and if any of those are friends let you pick which one you whant to cast hands on, but not figure out who to do it to by reading your brain(not yet). |
|
|
|
patryn Apprentice
Joined: 26 Sep 2001 Posts: 124
|
Posted: Fri Jan 16, 2004 12:53 am |
I think the following line is missing a couple of {} around the @friends variable.
#trigger {(@friends) says,*} {#cw %1 high,red }
I belive that the line should read as follows:
#trigger {({@friends}) says,*} {#cw %1 high,red }
Say for example @friends = Jon|Fred|Bob
In the first scenario, the value parsed to %1 would be "Jon|Fred|Bob" so it would only colour that particular line.
In the second scenario, the value parsed to %1 would be either "Jon" or "Fred" or "Bob" and would colour each name accordingly.
Incidently if you wished to have your friends names a diffent colour all the time, and not just when they are 'saying' things just use the following trigger:
#trigger {({@friends})} {#cw %1 high,red } |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|