I think this would be the easiest way:
Code:
if($mlevel >= (.34 * $ulevel)) {
quest::say("Success!");
} else {
quest::say("Not quite...");
}
However, if you're just trying to make it an even third (33.3%), you could also do it like this:
Code:
if($mlevel >= ($ulevel / 3)) {
quest::say("Success!");
} else {
quest::say("Not quite...");
}
Hope this helps.