Kinda loose and broken psuedocode, just make it so while the right click loop is in effect, the player has a variable that makes it immune to damage, that the ondamage package checks for. If the time exceeds that of the required techtime, then the player is no longer immune to fall damage.
on return of right click trigger of a player armor:
if(!%obj.fallImmunity)
%obj.techSchedule($pref::techtime);
techSchedule(%val)
{
run schedule loop every 10 ms
%obj.techTime = %time++;
%obj.fallImmunity = 1;
if(%time > $pref::techTime)
{
cancel(techschedule);
%obj.fallimmunity = 0;
}
}
damage package()
{
if %obj.killer = falling && %obj.fallImmunity
%damage = 0;
}