Manual:DIL Manual

From DikuMUD Wiki
(Redirected from Manual:DIL)
Jump to navigation Jump to search


You can view a full listing of the DIL manual at Manual:DIL_Manual_(Full_Listing) or browse by topic using the links below.

Index

Making a Program

Data Types

 string
 stringlist
 integer
 integerlist
 extraptr
 cmdptr
 unitptr
 zoneptr

Messages

 SFB_CMD
 SFB_DONE
 SFB_TICK
 SFB_COM
 SFB_DEAD
 SFB_MSG
 SFB_PRE

Built-In Variables

 cmdstr
 excmdstr
 excmdstr_case
 self
 activator
 target
 medium
 power
 argument
 heartbeat
 null
 weather
 realtime
 mud(day,month,..)

DIL Constructs

 if()
 goto
 while()
 break
 continue
 on ... goto ...
 foreach()

Assignment

Expressions

Operators

 in
 string in string
 string in stringlist
 string in extraptr

Functions

 quit
 return
 return()

Fields

 extraptr
 unitptr
 UNIT_ST_OBJ
 UNIT_ST_ROOM
 UNIT_ST_PC and UNIT_ST_NPC
 UNIT_ST_NPC
 UNIT_ST_PC

Built-In Functions

 asctime()
 strcmp()
 strncmp()
 textformat()
 spellindex()
 spellinfo()
 beginedit()
 cancarry()
 fits()
 replace()
 restore()
 meleeattack()
 meleedamage()
 mid()
 moneystring()
 equipment()
 tolower()
 toupper()
 visible()
 opponent()
 purse()
 atoi()
 check_password()
 command()
 delstr()
 delunit()
 dildestroy()
 dilfind()
 itoa()
 isaff()
 islight()
 isplayer()
 isset()
 paycheck()
 filesize()
 findunit()
 findrndunit()
 findroom()
 findsymbolic()
 getword()
 getwords()
 ghead()
 split()
 left()
 length()
 load()
 loadstr()
 openroll()
 pathto()
 pagestring()
 right()
 rnd()
 Built-In Procedures
 follow()
 flog()
 logcrime()
 acc_modify()
 strdir()
 set_password()
 store()
 position_update()
 send_done()
 send_pre()
 set()
 unset()
 addcolor()
 delcolor()
 getcolor()
 changecolor()
 gamestate()
 addextra()
 addstring()
 subextra()
 substring()
 stop_fighting()
 subaff()
 addaff()
 destroy()
 walkto()
 link()
 weapon_name()
 weapon_info()
 skill_name()
 reboot
 killedit
 experience()
 act()
 exec()
 wait()
 savestr()
 remove()
 reset_level()
 reset_vlevel()
 reset_race()
 secure()
 unitdir()
 unsecure()
 block
 priority
 nopriority
 addequip()
 unequip()
 delete_player()
 dilcopy()
 sendtext()
 change_speed()
 transfermoney()
 set_fighting()
 set_weight_base()
 set_weight()
 setbright()
 log()
 send()
 sendto()
 sendtoall()
 sendtoalldil()
 cast_spell()
 attack_spell()
 insert()
 interrupt()
 clear()
 on_activation()
 shell()
 getaffects()

Ending Notes