Difference between revisions of "Manual:DIL Manual"

From DikuMUD Wiki
Jump to navigation Jump to search
m (Adding getaffects)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<H2>DIL DOCUMENTATION</H2>
+
 
+
 
 +
'''You can view a full listing of the DIL manual at [[Manual:DIL_Manual_(Full_Listing)]] or browse by topic using the links below.'''
 +
 
 
<h3>Index</h3>
 
<h3>Index</h3>
  
Line 14: Line 16:
 
   [[Manual:DIL_Manual/unitptr|unitptr]]
 
   [[Manual:DIL_Manual/unitptr|unitptr]]
 
   [[Manual:DIL_Manual/zoneptr|zoneptr]]
 
   [[Manual:DIL_Manual/zoneptr|zoneptr]]
 +
 
[[Manual:DIL_Manual/Messages|Messages]]
 
[[Manual:DIL_Manual/Messages|Messages]]
 
   [[Manual:DIL_Manual/SFB_CMD|SFB_CMD]]
 
   [[Manual:DIL_Manual/SFB_CMD|SFB_CMD]]
Line 22: Line 25:
 
   [[Manual:DIL_Manual/SFB_MSG|SFB_MSG]]
 
   [[Manual:DIL_Manual/SFB_MSG|SFB_MSG]]
 
   [[Manual:DIL_Manual/SFB_PRE|SFB_PRE]]
 
   [[Manual:DIL_Manual/SFB_PRE|SFB_PRE]]
 +
 
[[Manual:DIL_Manual/Built-In Variables|Built-In Variables]]
 
[[Manual:DIL_Manual/Built-In Variables|Built-In Variables]]
 
   [[Manual:DIL_Manual/cmdstr|cmdstr]]
 
   [[Manual:DIL_Manual/cmdstr|cmdstr]]
Line 37: Line 41:
 
   [[Manual:DIL_Manual/realtime|realtime]]
 
   [[Manual:DIL_Manual/realtime|realtime]]
 
   [[Manual:DIL_Manual/mud(day,month,..)|mud(day,month,..)]]
 
   [[Manual:DIL_Manual/mud(day,month,..)|mud(day,month,..)]]
 +
 
[[Manual:DIL_Manual/DIL Constructs|DIL Constructs]]
 
[[Manual:DIL_Manual/DIL Constructs|DIL Constructs]]
 
   [[Manual:DIL_Manual/if()|if()]]
 
   [[Manual:DIL_Manual/if()|if()]]
Line 45: Line 50:
 
   [[Manual:DIL_Manual/on ... goto ...|on ... goto ...]]
 
   [[Manual:DIL_Manual/on ... goto ...|on ... goto ...]]
 
   [[Manual:DIL_Manual/foreach()|foreach()]]
 
   [[Manual:DIL_Manual/foreach()|foreach()]]
 +
 
[[Manual:DIL_Manual/Assignment|Assignment]]
 
[[Manual:DIL_Manual/Assignment|Assignment]]
 +
 
[[Manual:DIL_Manual/Expressions|Expressions]]
 
[[Manual:DIL_Manual/Expressions|Expressions]]
 +
 
[[Manual:DIL_Manual/Operators|Operators]]
 
[[Manual:DIL_Manual/Operators|Operators]]
 
   [[Manual:DIL_Manual/in|in]]
 
   [[Manual:DIL_Manual/in|in]]
Line 52: Line 60:
 
   [[Manual:DIL_Manual/string in stringlist|string in stringlist]]
 
   [[Manual:DIL_Manual/string in stringlist|string in stringlist]]
 
   [[Manual:DIL_Manual/string in extraptr|string in extraptr]]
 
   [[Manual:DIL_Manual/string in extraptr|string in extraptr]]
 +
 
[[Manual:DIL_Manual/Functions|Functions]]
 
[[Manual:DIL_Manual/Functions|Functions]]
 
   [[Manual:DIL_Manual/quit|quit]]
 
   [[Manual:DIL_Manual/quit|quit]]
 
   [[Manual:DIL_Manual/return|return]]
 
   [[Manual:DIL_Manual/return|return]]
 
   [[Manual:DIL_Manual/return()|return()]]
 
   [[Manual:DIL_Manual/return()|return()]]
 +
 
[[Manual:DIL_Manual/Fields|Fields]]
 
[[Manual:DIL_Manual/Fields|Fields]]
 
   [[Manual:DIL_Manual/extraptr|extraptr]]
 
   [[Manual:DIL_Manual/extraptr|extraptr]]
Line 64: Line 74:
 
   [[Manual:DIL_Manual/UNIT_ST_NPC|UNIT_ST_NPC]]
 
   [[Manual:DIL_Manual/UNIT_ST_NPC|UNIT_ST_NPC]]
 
   [[Manual:DIL_Manual/UNIT_ST_PC|UNIT_ST_PC]]
 
   [[Manual:DIL_Manual/UNIT_ST_PC|UNIT_ST_PC]]
 +
 
[[Manual:DIL_Manual/Built-In Functions|Built-In Functions]]
 
[[Manual:DIL_Manual/Built-In Functions|Built-In Functions]]
 
   [[Manual:DIL_Manual/asctime()|asctime()]]
 
   [[Manual:DIL_Manual/asctime()|asctime()]]
Line 99: Line 110:
 
   [[Manual:DIL_Manual/isset()|isset()]]
 
   [[Manual:DIL_Manual/isset()|isset()]]
 
   [[Manual:DIL_Manual/paycheck()|paycheck()]]
 
   [[Manual:DIL_Manual/paycheck()|paycheck()]]
 +
  [[Manual:DIL_Manual/filesize()|filesize()]]
 
   [[Manual:DIL_Manual/findunit()|findunit()]]
 
   [[Manual:DIL_Manual/findunit()|findunit()]]
 
   [[Manual:DIL_Manual/findrndunit()|findrndunit()]]
 
   [[Manual:DIL_Manual/findrndunit()|findrndunit()]]
  [[Manual:DIL_Manual/filesize()|filesize()]]
 
 
   [[Manual:DIL_Manual/findroom()|findroom()]]
 
   [[Manual:DIL_Manual/findroom()|findroom()]]
 
   [[Manual:DIL_Manual/findsymbolic()|findsymbolic()]]
 
   [[Manual:DIL_Manual/findsymbolic()|findsymbolic()]]
Line 173: Line 184:
 
   [[Manual:DIL_Manual/transfermoney()|transfermoney()]]
 
   [[Manual:DIL_Manual/transfermoney()|transfermoney()]]
 
   [[Manual:DIL_Manual/set_fighting()|set_fighting()]]
 
   [[Manual:DIL_Manual/set_fighting()|set_fighting()]]
   [[Manual:DIL_Manual/setweight()|setweight()]]
+
   [[Manual:DIL_Manual/set_weight_base|set_weight_base()]]
 +
  [[Manual:DIL_Manual/set_weight|set_weight()]]
 
   [[Manual:DIL_Manual/setbright()|setbright()]]
 
   [[Manual:DIL_Manual/setbright()|setbright()]]
 
   [[Manual:DIL_Manual/log()|log()]]
 
   [[Manual:DIL_Manual/log()|log()]]
Line 186: Line 198:
 
   [[Manual:DIL_Manual/clear()|clear()]]
 
   [[Manual:DIL_Manual/clear()|clear()]]
 
   [[Manual:DIL_Manual/on_activation()|on_activation()]]
 
   [[Manual:DIL_Manual/on_activation()|on_activation()]]
 +
  [[Manual:DIL_Manual/shell()|shell()]]
 +
  [[Manual:DIL_Manual/getaffects()|getaffects()]]
 +
 
[[Manual:DIL_Manual/Ending Notes|Ending Notes]]
 
[[Manual:DIL_Manual/Ending Notes|Ending Notes]]
 +
 +
[[Category:Manual Title Pages]]

Latest revision as of 22:07, 6 March 2022


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