User Tools

Site Tools


main_chproperties

This is an old revision of the document!


!Function !Argument !Result !Note !Valid args
mdo string none interpret argument as if mob typed it mdo("string")
say string none accepts variables say(""[,values])
emote string none accepts variables emote(""[,values])
asound string none accepts variables asound [string] : echo to all the rooms around the mobile
gecho string none gecho [string] : echo to all active players in the game
zecho string none zecho [string] : echo to all players in the same area
kill string none kill [victim] : start combat with a player
assist string none assist [victim] : assist another mob or player
junk string none junk [itemallall.xxx] : destroy item(s) in inventory
echo string none echo [string] : echo to room
echoaround string none echoaround [victim] [string] : echo to all in room save victim
echoat string none echoat [victim] (string) : echo to victim (in same room)
mload string CH mload [vnum/rvnum] : load a mobile
oload number OBJ oload(vnum): load an object to inventory, function returns the OBJ
purge string none purge (target) : purge all objs and mobs in room or target
goto string none goto [location] : go to location, wrandom for random room in world, random for random room in area
at string none at [location] [command] : execute command at location
transfer string none transfer [victim'all'] [location] : move target or all in room
gtransfer string none gtransfer [victim] [location] : move group of victim to location
otransfer string none otransfer [object] [location] : move object from room
force string none force [victim] [command] : victim executes command
gforce string none gforce [victim] [command] : victim's group executes command
vforce string none vforce [vnum] [command] : all mobs of vnum execute command
cast string none cast [spell] (target) : cast spell without failure and cost
damage string none damage [victim'all'] [min] [max] (kill) : deal (lethal) damage
remove string none remove [victim] [vnumall] (invgetroom) : extract object or send to target inventory(inv), CH inventory(get), or room
remort string none remort [victim] : remort a player
qset string none qset [victim] [id] [value] [time limit] : set quest-state for player
qadvance string none qadvance [victim] [id] (increment) : increase quest-state
reward string none reward [victim] [expqpgold] [ammount] : give exp or qp reward
peace string none peace (victim) : stop combat and make mobs non-aggro
restore string none restore [victim] : restore victim
setact string none set or remove an act-flag setact("safe")/setact("safe",false)
hit string none hit (victim) : do one attack hit(ch.name) – must be in battle with victim
tell string none send a tell tell("somebody something")
describe string none do something
addaffect string none do something
removeaffect string none do something
main_chproperties.1403225304.txt.gz · Last modified: 2014/06/20 00:48 by astark