|
kyros Novice
Joined: 26 Jan 2005 Posts: 33
|
Posted: Wed Jan 26, 2005 5:00 am
HELP!! |
TRIGGER {&w@#cabal: infobot} {#if {@users=%1} {tell %1 Hello %1, what would you like info about? Type options to view your options. You can type help at any time, for help.}}
I want the %1 to be a list of users I create not just the 1. How do I go about putting a whole bunch of strings for %1 and it will match it. For example
Jason@#cabal: infobot
You tell Jason 'Hi'
Erica@#cabal: infobot
You tell Erica 'hi'
Devin#cabal: infobot
(no response cause not in the list.)
how do I go about it?
how do I make it so it will respond to names I specifiy, many names? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Jan 26, 2005 11:21 am |
This belongs in the General zMud forum. The function your looking for is %ismember. You are also going to have some problems with your trigger pattern. Please read the help on Pattern Matching
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|