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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4686
Location: Pensacola, FL, USA

PostPosted: Sun May 11, 2003 1:36 am   

If or or or or
 
ok does anyone see a problem with this?

#TRIGGER {&%wperson joins the adventure.} {
#GAG
#IF (%ismember( @person, @warrior) OR %ismember( @person, @bard) OR %ismember( @person, @rogue) OR %ismember( @person, @ranger) OR %ismember( @person, @cleric) OR %ismember( @person, @empath) OR %ismember( @person, @wizard) OR %ismember( @person, @sorcerer) OR %ismember( @person, @merchant)) {#WIN Arrivals {@person - %time( t)}}
}


its supposed to catch it for my friends whose names are sorted into the corresponding variable list so i only see them arrive, the rest get gagged.

Shalimar

AIM: shalimarwildcat
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4686
Location: Pensacola, FL, USA

PostPosted: Sun May 11, 2003 1:48 am   
 
Ok i see my own error now, the arrival message can be to varried, it can, but is is not obligated, to show up to 2 titles and a surname... is there a way to include more than one variable list into the trigger patten... maybe something like #TR {{@{bard|ranger|wizard|ect}}* joins the adventure}

Shalimar

AIM: shalimarwildcat
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun May 11, 2003 4:52 am   
 
quote:

Ok i see my own error now, the arrival message can be to varried, it can, but is is not obligated, to show up to 2 titles and a surname... is there a way to include more than one variable list into the trigger patten... maybe something like #TR {{@{bard|ranger|wizard|ect}}* joins the adventure}

Shalimar

AIM: shalimarwildcat



Nope, stringlists can't be meshed in a pattern like that. However, instead of relying on n number of lists why not maintain a master list of friends alongside specific listings? This would give you one large list to work with while any triggers that might be using the specific lists wouldn't be affected.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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