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
Hawkstarr
Beginner


Joined: 16 Aug 2005
Posts: 10

PostPosted: Fri Oct 07, 2005 3:06 pm   

Updating various selected rooms
 
Anyone know of a way to update the NAME and DESC fields of rooms based upon which rooms are selected in the mapper? I don't know of any scriptable "Rooms selected" command and if you attempt to select a group of rooms and update the name or description, zMud will only change the LAST room you selected with your mouse.

Looking to update these field much like how you update the room colors and would rather not have to update them using macros in Access.

Thanks in advance.
Reply with quote
Hawkstarr
Beginner


Joined: 16 Aug 2005
Posts: 10

PostPosted: Tue Oct 11, 2005 10:48 am   
 
Well I guess that this isn't possible. Thanks to everyone who took a look. Is there a Feature Request Topic somewhere where I would be able to request this functionality? Thanks!
Reply with quote
Slaem
Apprentice


Joined: 20 Sep 2005
Posts: 135

PostPosted: Tue Oct 11, 2005 12:19 pm   
 
Here's a simple idea. Not sure how feasible it is for you. I'm guessing you have a group of rooms with the same Names and Descriptions. Well, create a stringlist of your room #s you want changed, have a variable for your room name, and a variable for your descriptions. Then just use an alias and loop through the stringlist to apply your new name and desc.

#VAR rooms {1|2|3}
#VAR roomnames {test names}
#VAR roomdescs {test descs}
#AL rmchanges {#FORALL @rooms { %roomname( %i, @roomnames); %roomdesc( %i, @roomdescs) }}


Syntax Colourizer
_________________
Show your love.
Support Zugg Software!
Donate to zugg@zuggsoft.com with PayPal Send Money.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Oct 11, 2005 8:51 pm   
 
If you have zMapper installed you can use its functions as a plugin to get a list of the selected rooms. From there it is a very short script to preform the updates. The only documentation is in the help for zMapper. What you want to do would operate as a variant array because of the COM interface, but the script is still relatively simple.

I am sorry I missied this post earlier.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Hawkstarr
Beginner


Joined: 16 Aug 2005
Posts: 10

PostPosted: Tue Oct 11, 2005 10:51 pm   
 
hey not a problem. I don't have zMapper installed anymore, and have used my trial already. But I might be able to do something off of the colors using a simular script. I didn't think about it like that.

Thanks all!
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