Okay so I tried to figure out another way around.. As you said, it doesn't return a value, but you can get message, just like i did for choseClassSet + no operators inside an if statement
So it was the operator "!", for some reason it doesn't want to compile "!" inside a switch statement's case
changelevel() {
while (true) {
level waittill( "say", message, player, isHidden);
switch(message) {
case mp_village:
SetDvar( "sv_mapRotationCurrent", "mp_village");
break;
}
}
}
I'll reply later about the fact that I use level waittill() in a self thread, my compiling issue is solved and now i have to try it