|
zzyzzyzzx Beginner
Joined: 24 Oct 2006 Posts: 13
|
Posted: Fri Mar 02, 2007 12:12 am
one last question thought it was working -.- |
im using
Code: |
#if (%2==@isimmortal) {#echo dont remove imms from flist} {
Friend %2
friend @friendwanabe
%pop( friendwanabe)
#additem friendwanabe %2
}
|
in a trigger but once it gets to friend it just posts friend it dose not plug in the name is there a way to fix that? |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Fri Mar 02, 2007 1:10 am |
Urm, I bet there is, but we need to see the trigger to know what value is stored in %2 before posting an answer.
|
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Fri Mar 02, 2007 1:12 am |
Try using: %ismember(%2, @isimmortal)
#additem friendwanabe {%2} |
|
_________________ Discord: Shalimarwildcat
Last edited by shalimar on Fri Mar 02, 2007 1:15 am; edited 2 times in total |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Fri Mar 02, 2007 1:14 am |
Hah, that too. But if you still can't get it working Post the trigger pattern for us.
|
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
zzyzzyzzx Beginner
Joined: 24 Oct 2006 Posts: 13
|
Posted: Fri Mar 02, 2007 2:04 am |
i just rewrote it a diffrent way and now it works... insted of having 2 vars 1 trig i now use 3 triggers 2 vars
|
|
|
|
|
|