EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Help!?!?!

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Unread 06-23-2008, 08:16 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Just because I like to, I use "s" for Strings, and "b" for Booleans, and "i" for integers.


Code with comments:

This sets the variable (obviously):
Code:
sTemp_a=2
sTemp_a is now 2


Compare two strings:
Code:
bShowTemp_a=(2==sTemp_a)
bShowTemp_a is now set to TRUE, because 2 does infact equal sTemp_a (2)


Set the window to what it should be:
Code:
Parent.WindowName.visible=(bShowTemp_a ? true : false)
since our Boolean variable came out to be TRUE, the window visible will be set to true.

So just replace "2" with your input variable, and the WindowName with the correct variable.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 06-23-2008 at 08:21 PM.
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:03 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI