Ok, I had to do a little searching to refresh my memory on this one. the problem here comes from per the lexicon.
lexicon...
Knockdown, when removed, shouldl normally stand up, not instantly go to standing. However, the effect type when GetEffectType() is used is 0 - which is the same for a few other effects.
So you can not really remove the effect by Identifying its type.
The Krits responce to this was.
The_krit...
The jail is an area? (So the area is the object running the OnEnter script you posted above?) As long as the area is not creating other effects, all you have to do is test the effect creator with GetEffectCreator() -- if it's the area the PC is in, then the effect is the knockdown effect you want to remove.
By the way, getting the PC with GetEnteringObject() in the second script looks a bit suspicious. How are you calling this script?
So as long as what ever you have creating the effect is not creating other effects also you can use the creator to ID your knockdown effects to remove.
A post from Funky in the same thread leads me to believe that just using SetCommandable will also work to remove KD.
FunkySwerve...[/b]
...since setcommandable will in fact remove kd, as Moderon said.