Home
About
Download
Register
News
Help
Register
Log In
Forums
Bug Reports
Checkboxes in dialogs
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Checkboxes in dialogs
#
10458
10/02/03
05:57 PM
Joined:
Feb 2003
Posts: 10
T
thereal_flipper
OP
Pikka bird
OP
thereal_flipper
Pikka bird
T
Joined:
Feb 2003
Posts: 10
If I use this line:
check "Give a point to everyone on team" 4, 8 80 185 17, %option.teams.points_for_all
the value of the % is set to "Give a point to everyone on team" rather that a 1/0 state
Copy Link to Clipboard
Re: Checkboxes in dialogs
#
10459
10/02/03
11:32 PM
Joined:
Jan 2003
Posts: 1,063
D
Doqnach
Hoopy frood
Doqnach
Hoopy frood
D
Joined:
Jan 2003
Posts: 1,063
in both states? if not there is no problem :-]
if (%var) { do something } <== would be if the checkbox was 1 and the var contains the value
elseif (!%var) { do something } <== would be if the checkbox was 0 but the var exists or the var doesn't exist at all
If it ain't broken, don't fix it!
Copy Link to Clipboard
Re: Checkboxes in dialogs
#
10460
11/02/03
06:56 AM
Joined:
Dec 2002
Posts: 1,321
Georgia, USA
H
Hammer
Hoopy frood
Hammer
Hoopy frood
H
Joined:
Dec 2002
Posts: 1,321
Georgia, USA
Putting the variable on the end is only really very useful for editboxes, not checkboxes/radiobuttons/listboxes/combos/etc.
DALnet: #HelpDesk and #
m[color:#FF0000]IR[color:#EEEE00]C
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage