Special Triggers List






Trigger

Attributes Passed In

Description

pre_say

this: The object with the special attached
primary: the player speaking
secondary: --
Before the player does a say

post_say

this: The object with the special attached
primary: the player speaking
secondary: --
After the player does a say

pre_get

this: The object gotten
primary: --
secondary: --
Before the object is picked up

post_get

this: The object gotten
primary: --
secondary: --
After the object is picked up

pre_north
pre_south
pre_east
pre_west
pre_up
pre_down
pre_northeast
pre_northwest
pre_southeast
pre_southwest

this: Current Location
primary: The player
secondary: Next location
Before the player moves in a specific direction. This is only good for specials attached to mobiles

pre_move

this: Current Location
primary: The player
secondary: Next location
Before a player moves from a room

onentry

this: The player
primary: The New location
secondary: --
When a player enters the room

pre_look

this: The location
primary: --
secondary: --
Before the location is displayed to the user

post_look

this: The location
primary: --
secondary: --
After the location is displayed to the user

pre_examine

this: The object examined
primary: --
secondary: --
Before an object's description or contents are displayed to the player

post_examine

this: The object examined
primary: --
secondary: --
After an object's description or contents are displayed to the player

pre_open

this: The object opened
primary: --
secondary: --
Before the player opens an object

post_open

this: The object opened
primary: --
secondary: --
After the player opens an object

pre_close

this: The object closed
primary: --
secondary: --
Before the player closes an object

post_close

this: The object closed
primary: --
secondary: --
After the player closes an object

pre_tie

this: The door tied to
primary: The rope tied
secondary: --
Before the player ties a rope to a rope door

post_tie

this: The door tied to
primary: The rope tied
secondary: --
After the player ties a rope to a rope door

pre_untie

this: The door tied to
primary: The rope tied
secondary: --
Before the player unties a rope from a rope door

post_untie

this: The door tied to
primary: The rope tied
secondary: --
After the player unties a rope from a rope door

pre_read

this: The book being read
primary: --
secondary: --
Before the player reads a book

post_read

this: The book being read
primary: --
secondary: --
After the player reads a book

pre_inventory

this: The player doing the inventory
primary: --
secondary: --
Before the inventory is displayed to the player

post_inventory

this: The player doing the inventory
primary: --
secondary: --
After the inventory is displayed to the player

pre_drop

this: The object dropped
primary: --
secondary: --
Before a specific object is dropped

post_drop

this: The object dropped
primary: --
secondary: --
After a specific object is dropped

pre_lock

this: The object being locked
primary: The key
secondary: --
Before an object is locked

post_lock

this: The object being locked
primary: The key
secondary: --
After an object is locked

pre_unlock

this: The object being unlocked
primary: The key
secondary: --
Before an object is unlocked

post_unlock

this: The object being unlocked
primary: The key
secondary: --
After an object is unlocked

pre_tell

this: The individual being told
primary: --
secondary: --
Before an individual is told something

post_tell

this: The individual being told
primary: --
secondary: --
After an individual is told something

premove

this: The object being moved
primary: --
secondary: --
When a player tries to move an object. The move command only works with specials and unless there is a special attached, always gives the "it wont budge" message.

pre_give

this: The object being given
primary: The target individual
secondary: --
Before an object is given to a target individual

post_give

this: The object being given
primary: The target individual
secondary: --
After an object is given to a target individual

pre_wield

this: The object being wielded
primary: --
secondary: --
Before an object is wielded by an individual

post_wield

this: The object wielded
primary: --
secondary: --
After an object is wielded by an individual

pre_unwield

this: The object being unwielded
primary: --
secondary: --
Before an object is unwielded by an individual

post_unwield

this: The object unwielded
primary: --
secondary: --
After an object is unwielded by an individual

preput_target

this: The object being put
primary: The receptacle for the object being put
secondary: --
Before an object is put into another object

preput_receptacle

this: The receptacle for the object being put
primary: The object being put
secondary: --
Before an object is put into another object

postput_target

this: The object being put
primary: The receptacle for the object being put
secondary: --
After an object is put into another object

postput_receptacle

this: The receptacle for the object being put
primary: The object being put
secondary: --
After an object is put into another object

pre_wear

this: The object being worn
primary: --
secondary: --
Before an object is worn by a player

post_wear

this: The object being worn
primary: --
secondary: --
After an object is worn by a player

pre_remove

this: The object being removed
primary: --
secondary: --
Before a wearable is removed by a player

post_remove

this: The object being removed
primary: --
secondary: --
After a wearable is removed by a player

pre_eat

this: The object being consumed
primary: --
secondary: --
Before food is consumed by a player

post_eat

this: The object consumed
primary: --
secondary: --
After food is consumed by a player

pre_light

this: The object being lit
primary: The object doing the lighting
secondary: --
Before an object is lit by another object

pre_light

this: The object lit
primary: The object that did the lighting
secondary: --
After an object is lit by another object

pre_extinguish

this: The object being extinguished
primary: --
secondary: --
Before a lit object is extinguished

post_extinguish

this: The object extinguished
primary: --
secondary: --
After a lit object is extinguished

pre_kill

this: The target we are attacking
primary: The player doing the attacking
secondary: --
Before the attack occurs

post_kill

this: The target we are attacking
primary: The player doing the attacking
secondary: --
After the attack occurs

on_hit

this: The weapon used
primary: The target being attacked
secondary: The attacker
When a blow is landed in battle

on_death

this: The dying one
primary: The one dealing the death blow
secondary: --
When an individual dies in battle

pre_cast

this: The player doing the casting
primary: --
secondary: --
Before the cast occurs but after the magic drain

pre_perform

this: The player doing the performing
primary: --
secondary: --
Before the cast occurs but after the endurance drain

pre_sit

this: The player sitting
primary: --
secondary: --
Before the player sits

post_sit

this: After the player sits
primary: --
secondary: --
After the player sits

pre_sleep

this: The player sleeping
primary: --
secondary: --
Before the player sleeps

post_sleep

this: After the player sleeps
primary: --
secondary: --
After the player sleeps

pre_stand

this: The player standing
primary: --
secondary: --
Before the player stands

post_stand

this: After the player stands
primary: --
secondary: --
After the player stands

pre_play

this: The object being played
primary: --
secondary: --
When a player tries to play an object. The play command only works with specials and unless there is a special attached, always gives the "it produces no sound" message.

pre_enter

this: The item being entered
primary: --
secondary: --
Before the player enters an object

post_enter

this: The item entered
primary: --
secondary: --
After the player enters an object

pre_leave

this: The item being exited
primary: --
secondary: --
Before the player exits an object

post_leave

this: The item exited
primary: --
secondary: --
After the player exits an object

ondig

this: The player doing the digging
primary: --
secondary: --
When a player tries to dig. The dig command only works with specials and unless there is a special attached, always gives the "You find nothing of interest" message.

pre_listen

this: The location listened to
primary: --
secondary: --
Before the player listens to the location

post_listen

this: The location listened to
primary: --
secondary: --
After the player listens to the location

pre_smell

this: The location smelled
primary: --
secondary: --
Before the player smells the air

post_smell

this: The location smelled
primary: --
secondary: --
After the player smells the air