Bringer Posted October 19, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: 11 hours ago Share Posted October 19, 2019 (edited) $EVT_Dice == 1 $EVT_Poring == 1 $EVT_LMS == 1 switch(select("Dice Event:Poring Event:LMS Event")) { case 1: mes "blablbala"; case 2: mes "blablbala"; case 3: mes "blablbala"; } ^FF0000Not Available^000000" "^00FF00Active^000000" how to do it when events active and menu option change colors Edited October 19, 2019 by Bringer Quote Link to comment Share on other sites More sharing options...
1 WhiteEagle Posted October 19, 2019 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 2 hours ago Share Posted October 19, 2019 Then: switch(select( (!$EVT_Dice)?"^FF0000Dice^000000":"^00FF00Dice^000000", (!$EVT_Poring)?"^FF0000Poring Event^000000":"^00FF00Poring Event^000000",(!$EVT_LMS)?"^FF0000LMS Event^000000":"^00FF00LMS Event^000000")) { case 1: case 2: case 3: } 1 Quote Link to comment Share on other sites More sharing options...
0 WhiteEagle Posted October 19, 2019 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 2 hours ago Share Posted October 19, 2019 Like this case 1: if (!$EVT_Dice) { mes "^FF0000Not Available^000000"; }mes "^00FF00Active^000000"; Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted October 19, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: 11 hours ago Author Share Posted October 19, 2019 24 minutes ago, WhiteEagle said: Like this case 1: if (!$EVT_Dice) { mes "^FF0000Not Available^000000"; }mes "^00FF00Active^000000"; the menu option Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted October 26, 2019 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted October 26, 2019 prontera,155,181,5 script sample 757,{ switch(select( "Dice Event - " + ($EVT_Dice ? "^FF0000Not Available":"^00FF00Active") + "^000000", "Poring Event - " + (!$EVT_Poring ? "^FF0000Not Available":"^00FF00Active") + "^000000", "LMS Event - " + ($EVT_LMS ? "^FF0000Not Available":"^00FF00Active") + "^000000" )) { case 1: mes "blablbala"; case 2: mes "blablbala"; case 3: mes "blablbala"; } close; } Quote Link to comment Share on other sites More sharing options...
Question
Bringer
$EVT_Dice == 1 $EVT_Poring == 1 $EVT_LMS == 1
switch(select("Dice Event:Poring Event:LMS Event")) { case 1: mes "blablbala"; case 2: mes "blablbala"; case 3: mes "blablbala"; }
^FF0000Not Available^000000" "^00FF00Active^000000"
how to do it when events active and menu option change colors
Edited by BringerLink to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.