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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
cuprohastes
Wanderer


Joined: 22 Oct 2006
Posts: 92

PostPosted: Wed May 20, 2009 1:05 pm   

[3.07] Workround for multistate in multiple sessions via global bug
 
A multi-state button that's in a global accessed by multiple sessions won't work in the second session that's opened.
However... There is a work around.

Create a menu item locally for each session.
Set the caption of your menu to a variable e.g. @lastused
Create the variable locally

Put the Class folder for your menu with menu sub items into your global. Each Menu sub item is one of the multi state button entries.
Add a line of script to each menu sub item to write the name of the item to the variable.

This should allow you to use the same set of commands across multiple sessions without needing local instances. Also the menu button can just be copied across to every session package.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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