|
IceSoft Newbie
Joined: 30 Jan 2002 Posts: 7
|
Posted: Mon Feb 04, 2002 12:31 am
List and if |
Can I make list of string and check later
if (%W) is in that list. If yes then how?
Goggi |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Mon Feb 04, 2002 12:41 am |
Well, you can just check the list in the trigger itself:
#var people {Bob|Joe|Amy}
#trigger {({@people}) tells you, "hi"} {reply hi there %1}
Or you can do this:
#trigger {(%w) tells you, "hi"} {#if (%ismember(%1, @poeple)) {reply hi there %1} {reply go away %1}}
Iljhar |
|
|
|
IceSoft Newbie
Joined: 30 Jan 2002 Posts: 7
|
Posted: Mon Feb 04, 2002 12:42 am |
Thanx.
|
|
|
|
|
|