|
1) Global 2) Random 3) Command 4) Put 5) Greet 6) Timer 7) Get 8) Drop 9) Give 10) Wear 11) Fight 12) Remove 13) Cast 14) Load 15) UNUSED 16) UNUSED 17) UNUSED 18) UNUSED |
- not a trigger type by itself; used in conjunction with Random. While Random triggers only trigger if players are in the zone, Global+Random triggers can trigger regardless. Argument: not used NArg: not used Return Value: none Variables: none - no specific event needs to occur for this trigger to be activated. Every 13 seconds , this trigger has a chance to run. If global is not specified, it will only run if a player is in the room. Argument: not used NArg: % chance the script will activate Return Value: none Variables: none - activates when commands are performed in the same room as the object Argument: text which must be part of the command typed to filter out uninteresting commands NArg: a number used to determine where the object must be in order for the script to activate 1: the object must be worn 2: the object must be in a characters inventory 4: the object must be in the same room as the character Note: you may add the values together to use multiple locations for the same script example: 7: the script can be activated worn, in inventory, or in the room Return Value: if 0 is returned by the trigger the command will go through as if the trigger did not exist, and any further command triggers will be checked Variables: %actor% the character issuing the command %cmd% the exact command without arguments issued %arg% the arguments if any following the command - activated when the object is placed inside of another object Argument: not used NArg: % chance that the script will activate Return Value: none Variables: %actor% the character moving the object %target% the location the object is to be moved to %object% the object being moved - activated when a character enters the room Argument: not used NArg: % chance that the script will activate Return Value: none Variables: %actor% the character entering the room - activated when the timer for the object the script is attached to expires. The otimer command may be used in a script to set an objects timer Argument: not used NArg: not used Return Value: none Variables: none - activated when the object is picked up, or taken out of a container Argument: not used NArg: % chance that the script will activate Return Value: 0: the character will not pick up the object Variables: %actor% the character attempting the action - activated when the object is dropped Argument: not used NArg: % chance that the script will activate Return Value: none Variables: %actor% the character dropping the object - activated when a character attempts to give the object away to another character Argument: not used NArg: % chance that the script will activate Return Value: 0: the object will not be handed over Variables: %actor% the character giving the object away %victim% the character receiving the object - activated when a character tries to wear, hold, wield, or light an object Argument: not used NArg: % chance that the script will activate Return Value: 0: the object will not be worn Variables: %actor% the character attempting to wear the object - activated when a character wearing the object is at the end of a round of combat Argument: not used NArg: % chance that the script will activate Return Value: none Variables: none - activated when a character attempts to remove the object from one of the wear positions Argument: not used NArg: % chance that the script will activate Return Value: 0: the object will not be removed Variables: %actor% the character trying to remove the object - activated when a spell is cast on the object Argument: not used NArg: % chance the script will activate Return Value: 0: the spell will not be cast 1: the spell will be cast as normal Variables: %actor% the caster of the spell %spell% the number of the spell %spellname% the spells name - this trigger type is currently unused and is listed only as a placeholder for possible future expansion
- activated when the object is created Argument: not used NArg: % chance that the script will activate Return Value: none Variables: none |


