Code:
Name: 'Shirt reverse', VNum: [ 4421], RNum: [ 1040]
Trigger Intended Assignment: Objects
Trigger Type: Command, Numeric Arg: 2, Arg list: r
Commands:
if %cmd% == reverse && shirt /= %arg%
if %self.vnum(4421)%
%transform% 4422
%send% %actor% You turn the shirt inside out.
elseif %self.vnum(4422)%
%transform% 4421
%send% %actor% You turn the shirt back right-side out.
else
%send% %actor% This script is on an item it shouldn't be, please tell an immortal.
end
else
return 0
end
for TBA.