Jump to content
  • 0

Menu Change Colors


Question

Posted (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 by Bringer

4 answers to this question

Recommended Posts

  • 1
Posted

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:
}

 

  • Upvote 1
  • 0
Posted
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;
}

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...