I have found this in the bot hole script.
function AIPlayer::hResetMoveTriggers( %obj )
{
%obj.setJumping(0);
%obj.setCrouching(0);
// confusing, but hasJetted is called when doing long jets
if( !%obj.hHasJetted )
%obj.setJetting(0);
%obj.setMoveSpeed( %obj.hMaxMoveSpeed );
// if( %obj.getDataBlock().canJet )
// %obj.hStopJetting();
}
As you see, %obj.setJumping(0); will make the bot stop jumping.
You could probably make an event for it as well. Using something like this:
function Player::stopJumping( %obj )
{
%obj.setJumping(0);
}