switch(team)//it doen't allow the variable team here
if(0)//gives me one here even with ""
colort = "unselected"//it hates this
if(1)//even with ""
colort = "blue"//hates this
if(3)//even with ""
colort = "yellow"//hates this
Tell me if you need more code.
Yes, that code doesn't show me much of how you're placing switch() and defining the vars, and next time use <DM>, and </DM> around your code block to make it look better.
Would I include that in my main code under my mobr procs?
Also How do I make it so that the compiler runs the code all the time or once every few seconds.