A ladder script could be used as a rope/vine script as well. While I'm sure there are some new commands that may be helpful or better, this old script should work and can be adjusted to suit.
Quote: ";Artificial Intelligence Script
;by xplosys
;Header
desc = Ladder (Automatic in range)
;Triggers
:state=0:state=6,coloff,setalphafade=0
:state=1,raycastup=60 80:state=5,unassociateplayer
:state=1:associateplayer,moveup=2
:state=5,raycastup=0 -20:state=6
:state=5:moveup=-2
:state=6,plrdistwithin=40:state=1,associateplayer
;End of Script"
The thing about this script is that it uses a distances.
From the rope or vine:
plrdistwithin=40
(The player will climb when he gets within 40 units)
and...
from the upper segment:
raycastup=0 -20
(The player will climb until he gets to the next segment above)
This means that the rope or vine can be as tall as you like, but there must be a segment place one level above the top of it, or the player will continue to climb past the top of the rope. That segment can of course be invisible if it won't fit well in the scene.
Once the player moves away from the rope (40 units) he will no longer climb.
As with everything else, you'll need to play around and adjust until it's usable, if at all, for your needs.
Brian.
!retupmoc eht ni deppart m'I !pleH