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
Solaras
Wanderer


Joined: 11 Mar 2002
Posts: 93

PostPosted: Mon Jul 05, 2004 10:17 pm   

%roomname and highlighting
 
I am trying to find a way to gag and highlight certain rooms.

I want to take a trigger that is basically like this

you see goerge at The Bar.

and find a way to use something like

You see (%w) at (*)

and use a way to check that %2 is a roomname in a particular zone

let say the room is in a place called City1

I want to verify that "The Bar." Is a roomname in the zone "City1"
and if so highlight it, if not gag it.

Is there a way to do this without a huge stringlist of every zone's roomnames?

I was thinking something like
#IF (%ismember(%2, %zonename(City1)) {highlight} {gag}

but this doesnt seem right
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Jul 06, 2004 2:17 am   
 
Search the forums for %mapquery. You should find something close to what you want.
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