Oooh heheheheh.
OnActivate > Self >setzone > up 20
OnPlayerEnterZone > self > vce_callfunction > heh
onactivate > self > vce_statefunction> heh 3 5
onvariablefunction > vce_ifvalue > <var:cl:bl_id> == [victimid]
onvariabletrue > player > changedatablock > no move player player
[15000] onvariablefunction > self > vce_callfunction > heh
Not sure if that exact method would work, but I've got 3 other method's of looping the player in to try. And one that I know works.
Anyway the point is to event a brick, activate it, then clickpush the person over the brick. So that it changes them to the no move playertype. Then sit back relax and enjoy their suffering.
Almost completely undetectable in a large build. Though, if the person you're pranking happens to be the host, or, smart, they may end up just saving the bricks and taking a look at the save file. It's an easy enough event to spot.
Variations.
relay-based
OnActivate > Self >setzone > up 20
OnPlayerEnterZone > self > firerelay
[15000] onrelay > self > firerelay
onrelay > vce_ifvalue > <var:cl:bl_id> == [victimid]
onvariabletrue > player > changedatablock > no move player player
jvs based
OnActivate > Self >setzone > up 20
OnPlayerEnterZone > self > contentstart > Allow [victimid]
onrespawn > self > contentstart > Allow [victimid]
oncontentstarted > self > contentstop
[15000]oncontentstopped > self > contentstart > Allow [victimid]
oncontentstarted > player > changedatablock > no move player player
Other possible options of setting up a loop are vehicle events, projectile events, or even botevents. Ze possibilities are endless! Unless you're dealing with default events. Then you're pretty much screwed. Although... maybe projectile events.. I'd have to test it out.
Other annoying variations include playing sounds at regular intervals, setting the persons velocity to 0 0 0 at regular intervals, and well, straight up killing them at regular intervals. But that last one is no fun. Ooh, also maybe tank turret explosions... Or horse ray 2.000. That would give the screen a nasty shake. I think the jeep final explosion is similar...