Well, i finally made it, here is the script for those who want it:
;Artificial Intelligence Script
;Header
desc = Use Door (Push Open and Push Closed)
;Triggers
:always,pickobject=1,plrdistwithin=60:hudshow=usedoorprompt
:always,pickobject=0:hudunshow=usedoorprompt
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\examine.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60,mousestate=1:activate=2
:state=10,activated=2:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,plrdistwithin=60,mousestate=1:activate=0
:state=2,activated=0:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=10,setframe=0
;End of Script
Is a really simple modification of the dooruse.fpi, works perfectly to me
The bad way, the good way, the YNG-way.