|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Thu Apr 07, 2011 3:53 am
Trigger #if's |
i made a trigger to auto bless from people sending me tells. when iam afk
some people been abusing it.....
can i add an #if like in the value to where ill only bless allies.
Xedric Baylor Prophet Matthias Etc.
much thanks
Dot Dot Dot
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Thu Apr 07, 2011 5:08 am |
make a string list
blessable="Josh|Justin|Alexia|etc"
#ADDITEM blessable Frank
#TR {(%w) tells you, "yo, bless me dude"} {#IF (%ismember(%1, @blessable)) {bless %1}}
or
#TR {({@blessable}) tells you, "yo, bless me dude"} {bless %1} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Thu Apr 07, 2011 5:47 am hmmmm a little trouble |
Pattern:
%w tells you 'desanc %2'
VAlue:
#IF (%ismember(%1, @valids)) {krecall;turn tome 10;chant %2;n}
doesnt seem to fire, prolly cause i put something wrong in pattern...
Thanks for SAving My Day:)
Dot Dot Dot |
|
|
|
Moo Apprentice
Joined: 10 Apr 2009 Posts: 145
|
Posted: Thu Apr 07, 2011 11:17 am Re: hmmmm a little trouble |
daemoan.vermillious wrote: |
Pattern:
%w tells you 'desanc %2' |
^(%w) tells you 'desanc (*)'
or if the second is just one word..
^(%w) tells you 'desanc (%w)' |
|
|
|
mandy Novice
Joined: 10 Jul 2007 Posts: 47
|
Posted: Wed Apr 20, 2011 12:32 am |
{Friend1|Friend2|Friend3|friend4} tells you: bless me dude
bless %lower(%1)
(I use this method for kill triggers when partying with allies and im allowed to steal the corpses :) |
|
|
|
mandy Novice
Joined: 10 Jul 2007 Posts: 47
|
Posted: Wed Apr 20, 2011 12:32 am |
{Friend1|Friend2|Friend3|friend4} tells you: bless me dude
bless %lower(%1)
(I use this method for kill triggers when partying with allies and im allowed to steal the corpses :) |
|
|
|
|
|