Code:
Name: 'Object Affects Example', VNum: [ 1205], RNum: [ 329]
Trigger Intended Assignment: Objects
Trigger Type: Load , Numeric Arg: 100, Arg list: None
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
if %self.affects(BLIND)%
%echo% This object is affected with blind.
end
if %self.affects(INVIS)%
%echo% This object is affected with invisibility.
end
if %self.affects(DET-ALIGN)%
%echo% This object is affected with detect alignment.
end
if %self.affects(DET-INVIS)%
%echo% This object is affected with detect invisibility.
end
if %self.affects(DET-MAGIC)%
%echo% This object is affected with detect magic.
end
if %self.affects(SENSE-LIFE)%
%echo% This object is affected with sense life.
end
if %self.affects(WATWALK)%
%echo% This object is affected with water walk.
end
if %self.affects(SANCT)%
%echo% This object is affected with sanctuary.
end
if %self.affects(GROUP)%
%echo% This object is affected with group.
end
if %self.affects(CURSE)%
%echo% This object is affected with curse.
end
if %self.affects(INFRA)%
%echo% This object is affected with infravision.
end
if %self.affects(POISON)%
%echo% This object is affected with poison.
end
if %self.affects(PROT-EVIL)%
%echo% This object is affected with protection from evil.
end
if %self.affects(PROT-GOOD)%
%echo% This object is affected with protection from good.
end
if %self.affects(SLEEP)%
%echo% This object is affected with sleep.
end
if %self.affects(NO_TRACK)%
%echo% This object is affected with no track.
end
if %self.affects(FLYING)%
%echo% This object is affected with flying.
end
if %self.affects(SCUBA)%
%echo% This object is affected with scuba.
end
if %self.affects(SNEAK)%
%echo% This object is affected with sneak.
end
if %self.affects(HIDE)%
%echo% This object is affected with hide.
end
if %self.affects(UNUSED)%
%echo% This object is affected with unused.
end
if %self.affects(INFRA)%
%echo% This object is affected with charm.
end
for TBA.