Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
kyros
Novice


Joined: 26 Jan 2005
Posts: 33

PostPosted: 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?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net