View unanswered posts | View active topics It is currently Tue Apr 21, 2026 4:22 pm



Reply to topic  [ 3 posts ] 
 SetMenu 
Author Message
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1838
Location: Guam USA
Unread post SetMenu
I'de like to use a SetMenu ..
but want the display of previouse saved values to show , and not wait till after
a selection is made before it updates them.

code:

LoadVar $NoPlanet
LoadVar $Product
LoadVar $PlanGood
IF ($Procuct = "0")
SetVar $Product "EQ"
End
Gosub :MenuTime
:GoingIn
Echo "*All Done"
Halt
:MenuTime
AddMenu "" "Show" $ver. "." "" "Main" FALSE
AddMenu "Show" "GO" "GO!" "G" :GoingIn "" TRUE
AddMenu "Show" "MainProduct" "Monitor Port Product " "M" :Product "" FALSE
OpenMenu "Show"
:Product
SetVar $Product "EQ"
SaveVar $Product
Gosub :sub_SetMenu
OpenMenu "Show"
:sub_SetMenu
SetMenuValue "MainProduct" $Product
Return


I dont really want to fill in menu if I can get it to recognize the value
.. so they display right out but just in case I need to change them I see them.

Any ideas ?
or should I just make a standard echo style menu ?

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://vkworld.ddns.net:2002
Discord @ DiverDave#8374
Vid's World Discord

Founding Member -=[Team Kraaken]=- Ka Pla

Image
Winners of Gridwars 2010
MBN Fall Tournament 2011 winners Team Kraaken
Undisputed Champions of 2019 HHT Just for showing up!

The Oldist , Longist Running , Orginal Registered Owner of a TWGS server :
Vids World On Guam


Mon Mar 23, 2009 4:53 am
Profile WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1401
Location: Canada
Unread post Re: SetMenu
I can't help you with SetMenu stuff cause I try really hard to avoid using them. Having said that, I'd suggest using 'Echo' Menu's.. they're a pain in the butt to make, but you have soo much more control. And of course they're prettier :lol:

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Mon Mar 23, 2009 5:06 am
Profile ICQ YIM
Gameop
User avatar

Joined: Tue Nov 19, 2002 3:00 am
Posts: 1050
Location: USA
Unread post Re: SetMenu
Vid Kid wrote:
I'de like to use a SetMenu ..
but want the display of previouse saved values to show , and not wait till after
a selection is made before it updates them.

I dont really want to fill in menu if I can get it to recognize the value
.. so they display right out but just in case I need to change them I see them.

Any ideas ?
or should I just make a standard echo style menu ?


I'm prolly wrong/missunderstood you; but couldnt you save the variable to a file and then reload the file when the script load's to input your correct variable setting so it's not allways defaulting to your standard setvar.

_________________
Dark Dominion TWGS
Telnet://twgs.darkworlds.org:23
ICQ#31380757, -=English 101 pwns me=-
"This one claims to have been playing since 1993 and didn't know upgrading a port would raise his alignment."


Mon Mar 23, 2009 10:33 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 18 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.