@touchfar is a synonym of @fartouch. It maps to the same internal behavior (RLV_BHVR_FARTOUCH) with the same option type (RLV_OPTION_NONE_OR_MODIFIER), so @touchfar=n, @touchfar:3=n and so on act exactly like the @fartouch forms. See @fartouch for the full description.
@touchfar[:<distance>]=<n|y>
RlvCommand::operator== compares getBehaviour(), the original text). So @fartouch=y does not remove @touchfar=n; each must be removed under the name it was set with (or by @clear). Both add to the same reference count, so the restriction stays active until both are gone.@getstatus reports the command under the name it was issued with (touchfar), because RlvCommand::asString() uses the original behavior string.llOwnerSay("@touchfar:2=n"); // same as @fartouch:2=n
rlvhelper.cpp 177 – RlvBehaviourGenericProcessor<RLV_OPTION_NONE_OR_MODIFIER>("touchfar", RLV_BHVR_FARTOUCH, BHVR_SYNONYM); the primary entry is at 115-116.m_Bhvr2InfoMap is built (344-356).RlvCommand::asString and operator==, rlvhelper.h 728-741.This command works differently from RLV's @touchfar; see the comparison.