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
trasc
Newbie


Joined: 16 Oct 2003
Posts: 7
Location: USA

PostPosted: Thu Jun 03, 2004 7:11 pm   

mapquery problem
 
I'm trying to make an alias that lists all the rooms that
have a certain string in their UserStr field and I'm having
a lot of trouble.

This is what I've got so far:

room_list = %mapquery( {[UserStr] LIKE '%favorite%'})

I'm getting back a list of rooms that don't even have the specified string in that field...I'm not sure why!

Any suggestions?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Jun 03, 2004 10:41 pm   
 
Try quotes instead of braces.
room_list = %mapquery( "[UserStr] LIKE '%favorite%'")
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