I don't understand spanish. but just from the title of this question : if You want to bind some behavior to change in one particular variable You can use setget keyword.
var _myvar : int setget onvarset
var anothervar : int
code below subtracts one from anothervariable whenever _myvar increases :
func onvarset(value) :
if value > _myvar :
anothervar -= 1
_myvar = value
Setters require some setup to use properly, read about in documentation before You paste this code