Oh, I guess GetLevel() doesn't work properly, you are out of luck.
ismonster is kinda useless, since some mobs aren't considered mobs by the game, that's why I didn't put any filter in there.
And yeah, it always be returning 0, so you're going to have to stop being such a noob and kinda get to know the actual game.
Too bad, I tried.