Name | type | argument | variabled | description |
---|---|---|---|---|
act | mob | string (see help act) | actor:char (who makes act) victim:char obj:object objvnum:int objname:string objalias:string vobjvnum:int vobjname:sring vobjalias:string | |
all enter | mob | percent chance | launch when mob enters new room | |
all greet | mob | percent chance | actor:char | launch when someone cone to room |
asked | mob | substring of argument | actor:char (speaker) string:string | launch at char when somebody asks for something |
beginturn | mob | percent chance | launch at the begin of the combat round | |
bribe | mob | actor:char (donator) amount:int | launch at char when he get some gold | |
command | mob | regexp to match command | actor:char cmd:string (command) arg:string (rest of the command line) stopcmd:int (default 1) | launches at all entities in room when somebody enters any command argument is regexp to matching command, stopcmd is used to stop further processing of the command in brutusmud code, default setting stops further processing of the command, set to 0 to change the behaviour (must be delay -1) |
container | obj | percent chance | actor:char obj:object put:integer | trigger for containers, launch when object is get from or put to container, put is 1 when object is put into container, 0 when get from container |
death | mob | percent chance | actor:char (killer) | launch at char when he dies |
destroy object | obj | percent chance | actor:char (who destroys obj) method:int | launch at object before destruction, method is how object was destroyed, 0-other, 1-repair, 2-junk, 3-scrap, 4-recharge, 5-destroy, 6-timer, 7-explode, 8-eat, 9-purge |
did damage | mob | percent chance | actor:char (who hit) victim:char (who gets damage) amount:int original_amount:int resist:int attacktype:int | launch at attacker before he do damage, with delay -1 you can change amount of damage, did damage trigger is called after get damage trigger |
drop | obj | percent chance | actor:char | launch at object when it is droppped |
emote | mob | string user in emote | actor:char (emoter) string:string | launch at char when somebody makes emote in the room |
endturn | mob | percent chance | launch at the end of the combat round | |
enter | mob | percent chance | launch when mob enters new room | |
fight | mob | percent chance | actor:char (who hit) victim:char (who gets damage) | launch at char when he hit another char in combat round |
flee | mob | percent chance | actor:char (who is fleeing) direction:string | launches when actor flees from someone with flee script |
get | obj | percent chance | actor:char container:obj | launch at object when some char gets it, container is only valid when object was got from container |
get damaged | mob | percent chance | actor:char (who hit) victim:char (who gets damage) amount:int original_amount:int resist:int attacktype:int | launch at char before he gets damage, you can change amount to change damage he receive, but must be with delay -1, get dagamed trigger is called before did damage trigger Trigger je spusten na mobovi tesne pred tim, nez dostane ranu at fyzickou nebo magickou, pri pouziti delay -1 je mozne zmenit velikost damage zmenou promenne amount, tento trigger je spusten tesne pred did damage trigerem, original_amount je velikost puvodni hodnota damage pred zavolanim vsech get damaged triggeru |
give | mob, obj | vnum of object or none | actor:char (who gives) victim:char (get) obj:object (given object) objvnum:int objname:string objalias:string | launch at char when somebody gives him something |
greet | mob | percent chance | actor:char | launch when someone visible came to room |
kill | mob | percent chance | actor:char (killed char) | launch at char when he kills another char |
leave | mob | percent chance | actor:char (who leaves) roomvnum:int (where he is leaving to) | launch at char when other char leaves room |
load | mob, obj | not used | launch at char or object when attached | |
morph | mob | percent chance | previous_vnum:int previous_name:string | launch at char morphs |
not here | mob, obj | name of command | actor:char arg:string | launch at mob when somebody makes "nothere" thing |
onremove | obj | not used | actor:char | launch at object when char undresses it |
onwear | obj | not used | actor:char | launch at object when char puts it on |
periodic | mob, obj | not used | launch periodicaly, period is delay | |
put | obj | percent chance | actor:char container:obj | launch at object when it is put to some container |
signal | mob, obj | signal name | sender:char or obj msg:any | launch when something send signal with given name |
social | mob | social name | actor:char (speaker) victim:char (target) string:string | launch at char when somebody makes social at somebody |
speech | mob | substring of argument | actor:char (speaker) string:string | launch at char when somebody says something |
spell | mob | spell name or none | actor:char (caster) spell:string spellnum:int | launch at char when someone cast spell upon him |
steal | mob | percent chance | actor:char (stealer) amount:int | launch at char who has been robbed |
tick | mob | percent chance | launch at TICK TOCK | |
trap | mob | percent chance | actor:char (who hits trap) | special script called when player hits some trap which loads mob and run trap script on him |
told | mob | substring of argument | actor:char (speaker) string:string | launch at char when somebody tolds him something |
use | obj | not used | actor:char arg:string | launch at object when char uses it arg is string typed after "use obj " |
zonespell | mob | percent chance | actor:char (caster) | launch at char when he is hit by zonespell |