The move Evil Eye was introduced in Gen 5 and is called Hex now, so it isn't available in Platinum.
http://pokemondb.net/move/Hex < is Evil Eye.
There's a move called Mean Look that prevents the opponent from fleing/switching so you are probably talking about that.
There's also Block and Spider Web wich has the same effect, along arena trap and shadow tag wich are abilities.
Here is the moves so you can check for yourself wich pokemon can learn it and wich level.
(Move)Mean Look: http://pokemondb.net/move/mean-look
(Move)Spider Web: http://pokemondb.net/move/spider-web
(Ability)Shadow Tag: http://pokemondb.net/ability/shadow-tag
(Ability) Arena Trap: http://pokemondb.net/ability/arena-trap