This demo trigger will send an annoying message to the room with the object every 13 seconds,
regardless if there's a player in the room.
Trigger Intended Assignment: Objects
Trigger Type: Global Random , Numeric Arg: 100, Arg list:
Commands:
%echo% The trigger fires now!
This demo will send a message to the room with the object every 13 seconds, whenever
there's a player in the room.
Trigger Intended Assignment: Objects
Trigger Type: Random , Numeric Arg: 100, Arg list:
Commands:
%echo% The trigger fires now!
This demo will send a message when a player 'laugh' in the room where
the object is either on the floor(4) or being worn(1), since the numeric arg is
5.
- note to implementors - this doesn't work for gods.
Trigger Intended Assignment: Objects
Trigger Type: Command , Numeric Arg: 5, Arg list: laugh
Commands:
%echo% The trigger fires now!
The trigger below fires, when the timer of the object it's attached to
runs out. It then sends a message and resets the timer. Make sure to attach
this one using the oedit script menu
Trigger Intended Assignment: Objects
Trigger Type: Timer , Numeric Arg: 100, Arg list:
Commands:
%echo% The trigger fires now!
otimer 3
The trigger below will fire, if anyone tries to get the object. If the person
is below immort it isn't possible to pick up the item.
Trigger Intended Assignment: Objects
Trigger Type: Get , Numeric Arg: 100, Arg list:
Commands:
if (%actor.level% < 51)
return 0
end
The trigger below will fire, if anyone tries to drop the object. If the
person is below immort it isn't possible to drop the item.
Trigger Intended Assignment: Objects
Trigger Type: Drop , Numeric Arg: 100, Arg list:
Commands:
if (%actor.level% < 51)
return 0
end
The script blocks every attempt a mortal may use to give the item away.
Trigger Intended Assignment: Objects
Trigger Type: Give , Numeric Arg: 100, Arg list:
Commands:
if (%actor.level% < 51)
return 0
end
The script below will make the item unwearable by weak people.
Trigger Intended Assignment: Objects
Trigger Type: Wear , Numeric Arg: 100, Arg list:
Commands:
if (%actor.str% < 17)
return 0
end
This trigger works as a curse for the person who's wearing the item - the
Narg of 99 means there's a slight chance of escape :)
Trigger Intended Assignment: Objects
Trigger Type: Drop , Numeric Arg: 99, Arg list:
Commands:
return 0
This demo trigger sends a message to the room, when the object is created.
Trigger Intended Assignment: Objects
Trigger Type: Load , Numeric Arg: 100, Arg list:
Commands:
%echo% %self.name% appears out of nothing - *SpRoInG*
Currently no example
Currently no example
Currently no example
Currently no example