script_ref.txt 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424
  1. AthenaNPCScript
  2. - Table of contents
  3. 0. Introduction
  4. 1. Definition of NPC
  5. 2. Explanation of Script, and Fundamental Rule
  6. 3. Imperative Sentence, Function, and Constant Label
  7. 4. Error Message
  8. 5. Postscript
  9. 0. Introduction
  10. The function and form which are contained in this text refer to npc_sample.txt contained in the newest snapshot, and are described.
  11. The convenience of the editor which shows this text is considered, <tab> is written and <n> etc. is written. [ a tab character ] [ arbitrary values ].
  12. Although it is a coordinate system, please make a lower figure reference.
  13. The increase in ?Y
  14. ( 0,200)--(200,200)
  15. | |
  16. | |
  17. | |
  18. | |
  19. | |
  20. ( 0, 0)--(200, 0)-> the increase in X
  21. 1. Definition of NPC
  22. if it is below an athena directory -- anywhere -- being good (if it being able to do below athena/npc) -- please create txt for the time being
  23. The NPC describes first what is shown (a way of speaking called NPC depending on the case is unsuitable).
  24. * Warp point : perform movement between MAP.
  25. <gatname>,<x>,<y><tab>warp<tab><displayname><tab><dx>,<dy>,<destination_gatname>,<destination_x>,<destination_y>
  26. gatname The MAP file name on which a warp point is put is specified. Please do not forget gat.
  27. x The horizontal coordinates on which a warp point is put are specified.
  28. y The vertical coordinates on which a warp point is put are specified.
  29. displayname It is a warp point discernment child. You may overlap. It uses by debugging.
  30. dx It is the horizontal effect range of a warp point.
  31. dy It is the vertical effect range of a warp point. Probably I do not write a circle but think that it is a region.
  32. Example of dx and dy (- is x and y) :
  33. 0,0 1,0 2,2
  34. *@*– *–*–*–*–*– *–*–*–*–*–*–*–
  35. *–*œ*– *–*–*œ*–*– *–*–*–*–*–*–*–
  36. *@*– *–*–*–*–*– *–*–*–*–*–*–*–
  37. *@ *–*–*–*œ*–*–*–
  38. *@ *–*–*–*–*–*–*–
  39. *@ *–*–*–*–*–*–*–
  40. *@ *–*–*–*–*–*–*–
  41. *@
  42. * I hear that and it will leap if the cell of - is stepped on.
  43. *@
  44. destination_gatname It is a warp place. . Even if there is gat and there is not, don't care about it.
  45. destination_x They are warp place horizontal coordinates.
  46. destination_y They are warp place vertical coordinates.
  47. Notes :
  48. A warp point displays only that plurality is described to be at the end when located on this position.
  49. When the coordinates of a warp place are move prohibition cells, it leaps to somewhere in the MAP.
  50. * Monster : manage the spawning(aka apperance in japanese.) of a monster.
  51. <gatname>,<x>,<y>,<xs>,<ys><tab>monster<tab><displayname><tab><npcid>,<number>,<spawn_delay1>,<spawn_delay2>[,<event>]
  52. gatname The appearing MAP file name is specified.
  53. x The appearing horizontal coordinates are specified. Random at 0.
  54. y The appearing vertical coordinates are specified. Random at 0.
  55. xs The appearing horizontal range is specified.
  56. ys The appearing vertical range is specified.
  57. Example of xs and ys (- is x and y) :
  58. 0,0 2,1
  59. *@*œ *–*–*–*–*–
  60. *@ *–*–*œ*–*–
  61. *@ *–*–*–*–*–
  62. *@
  63. * And a monster appears from the cell of -.
  64. displayname It is the display name of the appearing monster.
  65. npcid Please refer to mob_db.txt. id of the monster made to appear is specified.
  66. number It is the number of the maximum appearances in the MAP and the appearance range.
  67. spawn_delay1 After appearing, if specified the amount of time in milliseconds before it re-appears.
  68. spawn_delay2 After dying, if specified the amount of time in milliseconds before it re-appears.
  69. event The specified event is generated. An abbreviation is possible.
  70. Notes:
  71. spawn_delay1 and spawn_delay2 judge and give priority to whether it re-appears having been based the latest [ direction ] on which as a result.
  72. * Store : sell an item.
  73. <gatname>,<x>,<y>,<direction><tab>shop<tab><displayname><tab><npcid>,<item_id>:<price>,<item_id>:<price>,<item_id>:<price>
  74. gatname The MAP file name to arrange is specified.
  75. x The horizontal coordinates to arrange are specified.
  76. y The vertical coordinates to arrange are specified.
  77. direction Direction is specified.
  78. Details of direction :
  79. 7 0 1
  80. 6 2
  81. 5 4 3
  82. displayname The display name of the store to arrange is specified.
  83. npcid The display sprite ID of the store to arrange is specified.
  84. item_id The item ID put on the store to arrange is specified. Please refer to item_db.
  85. price The price of the item specified by item_id is set up.
  86. each <item_id>:<price> is divided by a comma (,), and more than one can be specified.
  87. example:
  88. item_id:price,item_id2,price2
  89. * Script : create NPC.
  90. <gatname>,<x>,<y>,<direction><tab>script<tab><displayname><tab><npcid>,<xs>,<ys>,{ <script> ... }
  91. gatname The MAP file name to arrange is specified.
  92. x The horizontal coordinates to arrange are specified.
  93. y The vertical coordinates to arrange are specified.
  94. direction Direction is specified.
  95. displayname The display name of NPC to arrange is specified. It becomes an event name when npcid is -1.
  96. When making said display name another operation event, it can be described as a display name::discernment child.
  97. npcid The display sprite ID of NPC to arrange is specified. If -1 is specified, it will become an event in map.
  98. xs The horizontal range which performs a script automatically is specified.
  99. ys The vertical range which performs a script automatically is specified. It is the same as a warp.
  100. Explanation about the inside of {} (inside parenthesis).
  101. Collecting by the party cannot recommend you. If it can do
  102. gatname etc,
  103. {
  104. //comment
  105. script;
  106. label:
  107. script;
  108. }
  109. Let's write by the said touch. Comment out is //and comment area is /* and */.
  110. The ? which does not leave; (semicolon) in the script ending.
  111. �u<gatname>,<x>,<y>,<direction><tab>�v‚Ì•”•ª‚ð�A�u-<tab>�v‚Æ‚·‚邱‚Æ‚Å�A
  112. ƒ}ƒbƒvƒT�[ƒo�[“à‚ɂ͑¶�Ý‚µ‚Ä‚¢‚Ä‚à�AŽÀ�ۂ̃}ƒbƒv‚ɂ͔z’u‚³‚ê‚È‚¢NPC‚ð�ì�¬‚Å‚«‚Ü‚·�B
  113. ‚±‚ê‚ÍŒã�q‚̃fƒ…ƒvƒŠƒP�[ƒgƒXƒNƒŠƒvƒg‚ŃRƒs�[Œ³‚Æ‚µ‚ÄŽg—p‚µ‚Ü‚·�B
  114. �–ƒfƒ…ƒvƒŠƒP�[ƒgƒXƒNƒŠƒvƒg�FŠù‘¶‚ÌNPC�i‚̃XƒNƒŠƒvƒg�j‚ðƒRƒs�[‚µ‚Ü‚·�B
  115. <gatname>,<x>,<y>,<direction><tab>duplicate(<source>)<tab><displayname><tab><npcid>,<xs><ys>
  116. sourceˆÈŠO‚̃pƒ‰ƒ��[ƒ^‚Í’Ê�í‚̃XƒNƒŠƒvƒg‚Æ“¯‚¶‚Å‚·�B
  117. source‚ɂ̓Rƒs�[Œ³‚ƂȂéNPC‚ÌŽ¯•Ê–¼‚ð“ü—Í‚µ‚Ü‚·�B
  118. ƒRƒs�[Œ³‚ÌNPC‚ªƒ}ƒbƒv�ã‚É”z’u‚³‚ê‚Ä‚¢‚é�ê�‡�A“¯‚¶ƒ}ƒbƒv‚Å‚ ‚é•K—v‚ª‚ ‚è‚Ü‚·�B
  119. ƒ}ƒbƒv�ã‚É”z’u‚³‚ê‚Ä‚¢‚È‚¢�ê�‡‚Í�A‚ǂ̃}ƒbƒv‚Ö‚àƒRƒs�[‰Â”\‚Å‚·�B
  120. �–ƒ†�[ƒU�[’è‹`ŠÖ�”ƒXƒNƒŠƒvƒg�FƒXƒNƒŠƒvƒg‚©‚çŒÄ‚Ñ�o‚³‚ê‚郆�[ƒU�[’è‹`ŠÖ�”‚ð�ì�¬‚µ‚Ü‚·�B
  121. function<tab>script<tab><name><tab>{ <script> ... }
  122. callfunc–½—߂ŌĂÑ�o‚·‚±‚Æ‚Ì�o—ˆ‚éŠÖ�”‚ð�ì�¬‚µ‚Ü‚·�B
  123. ŠÖ�”‚Ì�ÅŒã‚ɂ͕K‚¸return–½—ß‚ð“ü‚ê‚Ä‚­‚¾‚³‚¢�B
  124. �–ƒ}ƒbƒvƒtƒ‰ƒO�FMAP‚̃‹�[ƒ‹‚ðŠÇ—�‚µ‚Ü‚·�B
  125. <gatname><tab>mapflag<tab><const>
  126. gatname ƒ‹�[ƒ‹‚ð�Ý’è‚·‚éMAPƒtƒ@ƒCƒ‹–¼‚ðŽw’肵‚Ü‚·�B
  127. const ƒ‹�[ƒ‹‚Ì“à—e‚ðŽw’肵‚Ü‚·�B
  128. const‚̈ꗗ�B
  129. nosave<tab><gatname>,<x>,<y>
  130. ƒŠƒ�ƒOƒCƒ“‚µ‚½�Û<gatname>‚Ì�À•W<x>,<y>‚Ɉړ®‚µ‚Ü‚·�B
  131. nomemo<tab>dummy
  132. ƒ�ƒ‚‚ðŽæ‚é‚±‚Æ‚ð‹ÖŽ~‚µ‚Ü‚·�B
  133. notereport<tab>dummy
  134. SavePoint‚Ü‚½‚ÍRandom‚ðŽw’肵‚½warp•¶�Aƒ��[ƒvƒ|�[ƒ^ƒ‹�AƒeƒŒƒ|�[ƒg‚ð‹ÖŽ~‚µ‚Ü‚·�B
  135. nobranch<tab>dummy
  136. ŒÃ–؂̎}‚ÌŽg—p‚ð‹ÖŽ~‚µ‚Ü‚·�B
  137. pvp<tab>dummy
  138. PVP‰Â”\MAP‚ɂȂè‚Ü‚·�B
  139. nopenalty<tab>dummy
  140. ƒfƒXƒyƒiƒ‹ƒeƒB–³‚µ‚ɂȂè‚Ü‚·�B
  141. pvp_noparty<tab>dummy
  142. PVP‚É‚¨‚¢‚Ä�A“¯ƒp�[ƒeƒB�[�UŒ‚•s‰Â‚ɂȂè‚Ü‚·�B
  143. pvp_noguild<tab>dummy
  144. PVP‚É‚¨‚¢‚Ä�A“¯ƒMƒ‹ƒh�UŒ‚•s‰Â‚ɂȂè‚Ü‚·�B
  145. gvg<tab>dummy
  146. ƒV�[ƒYƒ‚�[ƒh‚ɂȂè‚Ü‚·�B
  147. gvg_noparty<tab>dummy
  148. ƒV�[ƒYƒ‚�[ƒh‚É‚¨‚¢‚Ä�A“¯ƒp�[ƒeƒB�[�UŒ‚•s‰Â‚ɂȂè‚Ü‚·�B
  149. ‚Q�DƒXƒNƒŠƒvƒg‚Ì�à–¾‚ÆŠî–{“I‚È‹K‘¥
  150. �–�”Žš
  151. •„�†•t‚Ì�®�”‚Æ‚P‚U�i�”•\‹L�®�”‚ðŽg—p‚·‚邱‚Æ‚ª‚Å‚«‚Ü‚·�B
  152. •„�‡•t�®�”‚Í”¼Šp�”Žš‚Å123456“™‚Æ‹L�q‚µ‚Ü‚·�B
  153. ‚P‚U�i�”•\‹L�®�”‚Í0x12“™0x‚ð•t‚¯‚Ä‹L�q‚µ‚Ü‚·�B
  154. �–•¶Žš—ñ
  155. "�iƒ_ƒuƒ‹ƒNƒH�[ƒe�[ƒVƒ‡ƒ“�j‚ň͂ñ‚¾•¶Žš‚Í•¶Žš—ñ‚Æ‚µ‚Ä•]‰¿‚³‚ê‚Ü‚·�B
  156. "�iƒ_ƒuƒ‹ƒNƒH�[ƒe�[ƒVƒ‡ƒ“�j‹L�†‚ðˆµ‚¢‚½‚¢�ê�‡‚Í\"‚Æ‹L�q‚µ‚Ü‚·�B
  157. \‹L�†‚ðˆµ‚¢‚½‚¢�ê�‡‚Í\\‚Æ‹L�q‚µ‚Ü‚·�B
  158. ‚È‚¨•\ަŠÖŒW‚Ì•¨‚ÉŠÖ‚µ‚Ä‚Í^000000“™‚Ì�F•Ï�X‚ðŽg‚¤‚±‚Æ‚ª‚Å‚«‚Ü‚·�B
  159. •Ï�” + "•¶Žš—ñ"‚Æ‚¢‚Á‚½•¶Žš—ñŒ‹�‡‚à‚Å‚«‚Ü‚·�B
  160. �–’P�€‰‰ŽZŽq
  161. ˆÈ‰º‚Ì�”’l�ê—p‚Ì’P�€‰‰ŽZŽq‚ª—pˆÓ‚³‚ê‚Ä‚¢‚Ü‚·�B
  162. - •„�†‹t“]�i‚Q‚Ì•â�”�j
  163. ~ ƒrƒbƒg˜_—�”Û’è�i‚P‚Ì•â�”�j
  164. ! ˜_—�”Û’è
  165. �–‚Q�€‰‰ŽZŽq
  166. ˆÈ‰º‚Q�€‰‰ŽZŽq‚Í�”’l‚Æ•¶Žš—ñ‚Å“®�삪ˆÙ‚È‚è‚Ü‚·�B
  167. + ‰ÁŽZ/Œ‹�‡
  168. �”’l‚Ç‚¤‚µ‚Ì�ê�‡‚͉ÁŽZ‚µ‚Ü‚·�B
  169. ‚»‚êˆÈŠO‚Ì�ê�‡‚Í•¶Žš—ñ‚Ƃ݂Ȃµ‚ÄŒ‹�‡‚µ‚Ü‚·�B
  170. ˆÈ‰º‚Ì‚Q�€‰‰ŽZŽq‚Í�”’l�ê—p‚Å‚·�B
  171. - Œ¸ŽZ
  172. * �æŽZ
  173. / �œŽZ
  174. % �è—]
  175. & ƒrƒbƒg˜_—��Ï
  176. | ƒrƒbƒg˜_—�˜a
  177. ^ ƒrƒbƒg”r‘¼“I˜_—�˜a
  178. && ˜_—��Ï
  179. || ˜_—�˜a
  180. ˆÈ‰º‚Ì‚Q�€‰‰ŽZŽq‚Í�”’l‚Ç‚¤‚µ�A‚Ü‚½‚Í•¶Žš—ñ‚Ç‚¤‚µ‚Ì”äŠr‚ð�s‚¢‚Ü‚·�B
  181. ‚±‚ê‚ç‚ÌŠÖŒW‰‰ŽZŽq‚ÍŠÖŒW‚ª�¬‚è—§‚‚Æ1�A�¬‚è—§‚½‚È‚¢‚Æ0‚ð•Ô‚µ‚Ü‚·�B
  182. == “™‚µ‚¢
  183. != “™‚µ‚­‚È‚¢
  184. > ‚æ‚è‘å‚«‚¢
  185. >= ‚æ‚è‘å‚«‚¢‚©“™‚µ‚¢�iˆÈ�ã�j
  186. < ‚æ‚è�¬‚³‚¢�i–¢–ž�j
  187. <= ‚æ‚è�¬‚³‚¢‚©“™‚µ‚¢�iˆÈ‰º�j
  188. �–•Ï�”
  189. ”¼Šp‰p�”Žš‚ðŽg—p‚·‚邱‚Æ‚ª‚Å‚«‚Ü‚·�B
  190. •Ï�”‚̃XƒR�[ƒv‚ƃ‰ƒCƒtƒ^ƒCƒ€‚̓vƒŒƒtƒBƒbƒNƒX‚É‚æ‚èŽw’肵‚Ü‚·�B
  191. �¬•¶Žš‚̃Gƒ‹‚̓vƒŒƒtƒBƒbƒNƒX‚Æ‚µ‚Ĉµ‚í‚ê‚é‚̂Œ�ˆÓ‚µ‚Ä‚­‚¾‚³‚¢�B
  192. (�¬•¶Žš‚̃Gƒ‹‚Í�¡Œã‚Ì“®�ì‚ð•Û�Ⴓ‚ê‚È‚¢‚̂Ŏg—p‚µ‚È‚¢‚ʼnº‚³‚¢)
  193. ƒvƒŒƒtƒBƒbƒNƒX ƒXƒR�[ƒv ƒ‰ƒCƒtƒ^ƒCƒ€
  194. (‚È‚µ) ƒLƒƒƒ‰ƒNƒ^�[ ‰i‘±“I
  195. @ ƒLƒƒƒ‰ƒNƒ^�[ ˆêŽž“I
  196. l “¯�ã “¯�ã�i�„�§‚³‚ê‚È‚¢�j
  197. $ ƒ}ƒbƒvƒT�[ƒo�[ ‰i‘±“I
  198. $@ ƒ}ƒbƒvƒT�[ƒo�[ ˆêŽž“I
  199. # ƒAƒJƒEƒ“ƒg ‰i‘±“I
  200. ## ƒAƒJƒEƒ“ƒg(‘Sƒ��[ƒ‹ƒh) ‰i‘±“I
  201. ‚‚܂è�A•�’ʂ̈ꎞ“I‚È•Ï�”‚Í@, •Û‘¶‚·‚é•K—v‚Ì‚ ‚é•Ï�”‚Í
  202. ƒvƒŒƒtƒBƒbƒNƒX‚È‚µ�A‘S‚ẴLƒƒƒ‰ƒNƒ^�[‚Å‹¤—L‚·‚ׂ«•Ï�”‚Í $�A
  203. “¯ˆêƒAƒJƒEƒ“ƒg‚Å‹¤—L‚·‚ׂ«•Ï�”‚Í # ‚â ## ‚ðŽg—p‚·‚邱‚ƂɂȂè‚Ü‚·�B
  204. ‚Ü‚½�A•Ï�”‚ÌŒ^‚̓|ƒXƒgƒtƒBƒbƒNƒX‚É‚æ‚èŽw’肵‚Ü‚·�B
  205. ‚½‚¾‚µ�A•¶Žš—ñŒ^‚̓Lƒƒƒ‰ƒNƒ^�[ˆêŽž•Ï�”�A‚¨‚æ‚Ñ�A
  206. ‰i‘±“I/ˆêŽž“Iƒ}ƒbƒvƒT�[ƒo�[•Ï�”‚ł̂ݎg—p‚Å‚«‚Ü‚·�B
  207. �iƒvƒŒƒtƒBƒbƒNƒX @�A$�A$@ �j
  208. ƒ|ƒXƒgƒtƒBƒbƒNƒX Œ^
  209. (‚È‚µ) �®�”
  210. $ •¶Žš—ñ
  211. <—á> @hoge$ •¶Žš—ñŒ^ˆêŽž“IƒLƒƒƒ‰ƒNƒ^�[•Ï�”
  212. hoge �”’lŒ^‰i‘±“IƒLƒƒƒ‰ƒNƒ^�[•Ï�”
  213. $hoge �”’lŒ^‰i‘±“I‘SƒLƒƒƒ‰ƒNƒ^�[‹¤—L•Ï�”
  214. ˆêŽž“I‚łȂ¢•Ï�”‚Í‘½—p‚·‚ׂ«‚ł͂ ‚è‚Ü‚¹‚ñ�B
  215. •Û‘¶‚·‚é•K—v‚̂Ȃ¢‚à‚̂͋ɗ͈ꎞ•Ï�”‚Å�ς܂¹‚é‚ׂ«‚Å‚·�B
  216. •Û‘¶‚·‚é•K—v‚ª‚ ‚é‚Ì‚©‚È‚¢‚Ì‚©‚͂悭�l—¶‚µ‚Ä‚­‚¾‚³‚¢�B
  217. “Á‚ɉi‘±“I‚ȃLƒƒƒ‰ƒNƒ^�[/ƒAƒJƒEƒ“ƒg•Ï�”‚Í�A�”‚É�§ŒÀ‚ª‚ ‚è‚Ü‚·�B
  218. Žg—p‚ª�I‚í‚Á‚Ä“ñ“x‚ÆŽg—p‚·‚邱‚Æ‚ª‚È‚¢‚Ƃ킩‚Á‚Ä‚¢‚é•Ï�”‚Í
  219. ’l‚ð0‚É�Ý’è‚·‚邱‚Æ‚Å�í�œ‚·‚邱‚Æ‚ª�o—ˆ‚Ü‚·�B
  220. �–”z—ñ•Ï�”
  221. •Ï�”–¼‚ÌŒã‚ÉŠ‡ŒÊ [ ] ‚ÅŠ‡‚Á‚½Ž®‚ðŽw’è‚·‚邱‚ƂŔz—ñ•Ï�”‚ɂȂè‚Ü‚·�B
  222. •Ï�”–¼‚Æ"["‚̊Ԃɋ󔒕¶Žš‚ð“ü‚ê‚邱‚Ƃ͂ł«‚Ü‚¹‚ñ�B
  223. <—á> hoge[10] fuga[ @temp ]
  224. ”z—ñ‚Ì—v‘f”Ô�†‚Í0�`127‚ªŽw’è‚Å‚«‚Ü‚·‚ª�A”Ô�†0‚Í“¯–¼‚Ì•Ï�”‚Æ
  225. ’l‚ð‹¤—L‚µ‚Ü‚·�B‚½‚Æ‚¦‚Î�Ahoge[0] ‚Æ hoge ‚Í“¯‚¶•Ï�”‚Å‚·�B
  226. ”z—ñ•Ï�”‚͈ꎞ“IƒLƒƒƒ‰ƒNƒ^�[•Ï�”�AˆêŽž“I/‰i‘±“Iƒ}ƒbƒvƒT�[ƒo�[•Ï�”‚ÅŽg—p‚Å‚«‚Ü‚·�B
  227. •Ï�”‚ÌŒ^‚Í�”’l�A•¶Žš—ñ—¼•û‚Æ‚à—˜—p‚Å‚«‚Ü‚·�B
  228. �–ƒ‰ƒxƒ‹
  229. ”¼Šp‰p�”‚¨‚æ‚уAƒ“ƒ_�[ƒo�[‚ªŽg—p‚Å‚«‚Ü‚·�B
  230. •Ï�”‚â–½—߂ȂǂƋæ•Ê‚·‚邽‚ß L_ ‚ð�擪‚ɂ‚¯‚邱‚Æ‚ª�„�§‚³‚ê‚Ü‚·�B
  231. L_hoge: ‚Æ‚¢‚Á‚½•—‚ÉŽg—p‚µ‚Ü‚·�B
  232. if•¶‚âmenu•¶‚̃Wƒƒƒ“ƒv�æ‚ÉŽw’肳‚ê‚Ü‚·�B
  233. �–’è�”
  234. athena‚Ídb/const.txt‚É�€‹’‚µ‚½’è�”‚ð’ñ‹Ÿ‚µ‚Ü‚·�B
  235. ƒXƒNƒŠƒvƒg“à‚ł̂ݎg—p‰Â”\‚Å‚·�B
  236. �––„‚ß�ž‚Ý•Ï�”
  237. ˜b‚©‚¯‚½ƒvƒŒƒCƒ„�[‚̃Xƒe�[ƒ^ƒX‚ȂǂðŽQ�Ƃł«‚Ü‚·�B
  238. db/const.txt‚É‹L�q‚³‚ê‚Ä‚¢‚Ü‚·�B
  239. ƒXƒNƒŠƒvƒg“à‚ł̂ݎg—p‰Â”\‚Å‚·�B
  240. ‚È‚¨�Aˆê•”‚ð�œ‚¢‚Ä’l‚Ì‘ã“ü‚͂ł«‚Ü‚¹‚ñ�B
  241. �–Ž®
  242. –½—ß•¶‚̈ø�”‚ª�”’l‚¾‚Á‚½�ê�‡�A‚»‚±‚Å—˜—p‚·‚邱‚Æ‚ª‚Å‚«‚Ü‚·�B
  243. ƒXƒy�[ƒX‚Í—v‚ç‚È‚¢‚悤‚Å‚·‚ª‚ ‚Á‚½•û‚ªŒ©ˆÕ‚¢‚Å‚·�B
  244. ”äŠr‰‰ŽZŽq‹y‚ј_—�‰‰ŽZŽq‚Í’l‚ª�^‚Å‚ ‚Á‚½‚Æ‚«�”’l‚Ì1�A‹U‚Å‚ ‚Á‚½‚Æ‚«0‚ð•Ô‚µ‚Ü‚·�B
  245. �–ƒCƒxƒ“ƒg
  246. Œ`‚ðŽ�‚½‚È‚¢ƒXƒNƒŠƒvƒg‚Å‚·�B
  247. ƒ^ƒCƒ€ƒAƒ^ƒbƒN‚ȂǂÌ�ì�¬‚ÉŽg‚¢‚Ü‚·�B
  248. ƒCƒxƒ“ƒg–¼‚ð‹L�q‚·‚é•”•ª‚Å‚Í�AƒCƒxƒ“ƒg–¼::ƒ‰ƒxƒ‹–¼‚Æ‚·‚邱‚Ƃł»‚̃Cƒxƒ“ƒg‚ÌŽw’肵‚½ƒ‰ƒxƒ‹‚©‚ç
  249. ƒXƒNƒŠƒvƒg‚ðŠJŽn‚³‚¹‚邱‚Æ‚ª‚Å‚«‚Ü‚·�B
  250. �––½—ß�\•¶
  251. ˆø�”‚Í”¼ŠpƒXƒy�[ƒX‚ð‹ó‚¯‚Ä‹L�q‚µ‚Ä‚­‚¾‚³‚¢�B
  252. ‚R�D–½—ß•¶‹y‚ÑŠÖ�”‹y‚Ñ’è�”ƒ‰ƒxƒ‹
  253. �––½—ß•¶
  254. mes–½—ß
  255. mes <string>;
  256. string •¶Žš—ñ
  257. <string>‚É‹L�q‚³‚ꂽ•¶Žš—ñ‚ðƒ�ƒbƒZ�[ƒWƒEƒBƒ“ƒhƒE‚É�o—Í‚µ‚Ü‚·�B
  258. next–½—ß
  259. next;
  260. ƒ�ƒbƒZ�[ƒWƒEƒBƒ“ƒhƒE‚Énextƒ{ƒ^ƒ“‚ð•\ަ‚µ�A‘Ò‹@‚µ‚Ü‚·�B
  261. close–½—ß
  262. close;
  263. ƒ�ƒbƒZ�[ƒWƒEƒBƒ“ƒhƒE‚Écloseƒ{ƒ^ƒ“‚ð•\ަ‚µ�AƒXƒNƒŠƒvƒg‚ð�I—¹‚µ‚Ü‚·�B
  264. menu–½—ß
  265. menu <string1>,<label1>[,<stringN>,<labelN>...];
  266. stringN •¶Žš—ñ
  267. labelN ƒ‰ƒxƒ‹
  268. ƒ�ƒjƒ…�[‚ð•\ަ‚µ‚Ü‚·�B<stringN>‚É‹L�q‚³‚ꂽ•¶Žš—ñ‚ð‘I‘ð‚·‚é‚Æ<labelN>‚©‚çƒXƒNƒŠƒvƒg‚ðŠJŽn‚µ‚Ü‚·�B
  269. ‚Ü‚½�A‘I‚΂ꂽƒ‰ƒxƒ‹‚Ì”Ô�†‚Í•Ï�”@menu‚É‘ã“ü‚³‚ê‚Ü‚·�B
  270. (l15‚É‚à‘ã“ü‚³‚ê‚Ü‚·‚ª�A‚±‚¿‚ç‚Í�¡Œã“®�삪•Û�Ⴓ‚ê‚È‚¢‚Ì‚Ål15‚ÍŽg—p‚µ‚È‚¢‚ʼnº‚³‚¢�j
  271. goto–½—ß
  272. goto <label>;
  273. label ƒ‰ƒxƒ‹
  274. <label>‚©‚çƒXƒNƒŠƒvƒg‚ðŠJŽn‚µ‚Ü‚·�B
  275. cutin–½—ß
  276. cutin <filename>,<position>;
  277. filename •¶Žš—ñ
  278. position �”’l
  279. ƒJƒvƒ‰�Eˆõ‚Ȃǂ̃JƒbƒgƒCƒ“‚ð•\ަ‚µ‚Ü‚·�B<filename>‚Í•\ަ‚µ‚½‚¢ƒtƒ@ƒCƒ‹–¼�A<position>‚Í•\ަˆÊ’u‚ðŽw’肵‚Ü‚·�B
  280. position�F0,�¶‰º�A1,’†‰›‰º�A2,‰E‰º�A255,ƒJƒbƒgƒCƒ“�Á‹Ž
  281. jobchange–½—ß
  282. jobchange <job>[, <upper>];
  283. job �”’l
  284. upper �”’l
  285. �E‹Æ‚ð•Ï�X‚µ‚Ü‚·�B<job>‚Ídb/const.txt‚ðŽQ�Æ‚µ‚Ä‚­‚¾‚³‚¢�B
  286. <upper>‚Í0=’Ê�í,1=“]�¶,2=—{Žq,-1 or –³‚µ=Œ»�Ý‚Ì<upper>‚ɂȂè‚Ü‚·�B
  287. jobLv‚ÍŽ©“®‚Å‚P‚ɂȂè‚Ü‚·�B
  288. ƒo�[ƒh‚ƃ_ƒ“ƒT�[‚ɂ͒�ˆÓ‚µ‚Ä‚­‚¾‚³‚¢�B
  289. input–½—ß
  290. input [<variable>];
  291. variable •Ï�”�A�È—ª‰Â
  292. “ü—̓EƒBƒ“ƒhƒE‚ðŠJ‚«�A“ü—̓f�[ƒ^‚ð<variable>‚É‘ã“ü‚µ‚Ü‚·�B
  293. •Ï�”‚ÌŒ^‚ª•¶Žš—ñŒ^‚̂Ƃ«‚Í•¶Žš—ñ“ü—̓EƒBƒ“ƒhƒE�A�®�”Œ^‚̂Ƃ«‚Í�”’l“ü—̓EƒBƒ“ƒhƒE‚ɂȂè‚Ü‚·�B
  294. <variable>‚ð�È—ª‚µ‚½�ê�‡‚É‚Í�”’l“ü—̓EƒBƒ“ƒhƒE‚ð�o‚µ�Aƒf�[ƒ^‚Í•Ï�”l14 (�¬•¶Žš‚̃Gƒ‹+14)‚É‘ã“ü‚³‚ê‚Ü‚·�B
  295. �il14‚Í�¡Œã‚Ì“®�삪•Û�Ⴓ‚ê‚È‚¢‚Ì‚Å�Aˆø�”‚Í�È—ª‚µ‚È‚¢‚ʼnº‚³‚¢�j
  296. warp–½—ß
  297. warp <gatname>,<x>,<y>;
  298. gatname •¶Žš—ñ
  299. x,y �”’l
  300. <gatname>‚ÉŽw’肳‚ꂽMAP‚Ì�À•W<x>,<y>‚Ƀ��[ƒv‚µ‚Ü‚·�B
  301. <gatname>‚ðSavePoint‚É‚µ‚½�ê�‡�AƒZ�[ƒuƒ|ƒCƒ“ƒg‚Ɉړ®‚µ‚Ü‚·�B
  302. Random‚É‚µ‚½�ê�‡�A‚»‚ÌMAP“à‚̂ǂ±‚©‚Ɉړ®‚µ‚Ü‚·�B‘¦‚¿<x><y>‚Í–³Ž‹�B
  303. setlook–½—ß
  304. setlook <n1>,<n2>;
  305. n1,n2 �”’l
  306. ŠOŒ©‚ð•Ï�X‚µ‚Ü‚·�B<n1>‚Í•”•i‚ð�A<n2>‚ÍŽí—Þ‚ðŽw’肵‚Ü‚·�B
  307. n1�F1,”¯Œ^�A2,•�Ší�A3,“ª�ã’i�A4,“ª’†’i�A5,“ª‰º’i�A6,”¯�F�A7,•ž�F�A8,�‚
  308. ‘•”õ•i‚Í•Ï�X‚³‚ê‚Ü‚¹‚ñ�BƒAƒTƒVƒ“’j‚ƃ��[ƒO’j‚ÉŠÖ‚µ‚Ă͕ž‚Ì�F‚ª‚ ‚è‚Ü‚¹‚ñ�B
  309. set–½—ß
  310. set <variable>,<n>;
  311. variable •Ï�”
  312. n �”’l/•¶Žš—ñ
  313. <variable>‚É<n>‚ð‘ã“ü‚µ‚Ü‚·�B
  314. •¶Žš—ñŒ^‚ðŽg—p‚·‚邯‚«‚Í•Ï�”–¼‚Ƀ|ƒXƒgƒtƒBƒbƒNƒX‚ð–Y‚ê‚È‚¢‚ʼnº‚³‚¢�B
  315. setarray–½—ß
  316. setarray <variable>[,<n0>[,<n1>�c]];
  317. variable •Ï�”
  318. nx �”’l/•¶Žš—ñ
  319. ”z—ñ<variable>‚É’l<n0>,<n1>,�c‚ÌƒŠƒXƒg‚ð‘ã“ü‚µ‚Ü‚·�B
  320. <variable>‚Í”z—ñ–¼‚ðŽw’è‚·‚邯�Å�‰‚©‚ç�A—v‘f”Ô�†‚àŽw’è‚·‚ê‚Γr’†‚©‚ç‘ã“ü‚Å‚«‚Ü‚·�B
  321. <—á> setarray @hoge[2],16,24,32; @hoge‚Ì—v‘f2‚©‚ç4‚܂łð16,24,32‚É‚·‚é�B
  322. cleararray–½—ß
  323. cleararray <variable>,<n>,<count>;
  324. variable •Ï�”
  325. n �”’l/•¶Žš—ñ
  326. count �”’l
  327. ”z—ñ<variable>‚É’l<n>‚ð<count>ŒÂ•ª‘ã“ü‚µ‚Ü‚·�B
  328. <variable>‚Í”z—ñ–¼‚ðŽw’è‚·‚邯�Å�‰‚©‚ç�A—v‘f”Ô�†‚àŽw’è‚·‚ê‚Γr’†‚©‚ç‘ã“ü‚Å‚«‚Ü‚·�B
  329. <—á> cleararray @hoge[3],0,6; @hoge‚Ì—v‘f3‚©‚ç8‚܂łð0‚ɃZƒbƒg‚·‚é
  330. copyarray–½—ß
  331. copyarray <var1>,<var2>,<n>;
  332. <var1>,<var2> •Ï�”
  333. n ŒÂ�”
  334. ”z—ñ<var1>‚É”z—ñ<var2>‚Ì—v‘f<n>ŒÂ‚ðƒRƒs�[‚µ‚Ü‚·�B
  335. <var1>,<var2>‚Í”z—ñ–¼‚ðŽw’è‚·‚邯�Å�‰‚©‚ç�A—v‘f”Ô�†‚àŽw’è‚·‚ê‚Γr’†‚©‚çƒRƒs�[‚Å‚«‚Ü‚·�B
  336. deletearray–½—ß
  337. deletearray <variable>,<n>;
  338. variable •Ï�”
  339. n �”’l
  340. ”z—ñ<variable>‚©‚ç<n>ŒÂ‚Ì—v‘f‚ð�í�œ‚µ�AŒã‚ë‚Ì—v‘f‚ð‘O‚É‹l‚ß‚é
  341. <variable>‚Í”z—ñ–¼‚ðŽw’è‚·‚邯�Å�‰‚©‚ç�A—v‘f”Ô�†‚àŽw’è‚·‚ê‚Γr’†‚©‚ç�í�œ‚Å‚«‚Ü‚·�B
  342. if–½—ß
  343. if (<cond>) goto <label>;
  344. cond �”’l
  345. label ƒ‰ƒxƒ‹
  346. <cond>‚ª0ˆÈŠO‚Ì�ê�‡�A<label>‚©‚çƒXƒNƒŠƒvƒg‚ðŠJŽn‚µ‚Ü‚·�B
  347. getitem–½—ß
  348. getitem <itemid>,<num>;
  349. itemid �”’l‚Ü‚½‚Í•¶Žš—ñ
  350. num �”’l
  351. <itemid>‚ÉŽw’肳‚ꂽƒAƒCƒeƒ€ID‚ðŽ�‚ƒAƒCƒeƒ€‚ð<num>ŒÂ•ª“üŽè‚µ‚Ü‚·�B
  352. <itemid>‚ª•¶Žš—ñ‚Ì�ê�‡�A‚»‚Ì–¼‘O(name,jname)‚ðŽ�‚ƒAƒCƒeƒ€‚ÌID‚ðŽg—p‚µ‚Ü‚·�B
  353. ‚½‚¾‚µ�AƒAƒCƒeƒ€–¼‚Íitem_db.txt‚ȂǂɈˑ¶‚·‚邽‚ß�AƒeƒXƒg–Ú“IˆÈŠO‚ł͎g—p‚·‚ׂ«‚ł͂ ‚è‚Ü‚¹‚ñ�B
  354. getitem2–½—ß
  355. getitem <itemid>,<num>,<identify>,<refine>,<attribute>,<card1>,
  356. <card2>,<card3>,<card4>
  357. itemid �”’l‚Ü‚½‚Í•¶Žš—ñ
  358. num,identify,refine,attribute,card1,card2,card3,card4 �”’l
  359. <itemid>‚ÉŽw’肳‚ꂽƒAƒCƒeƒ€ID‚ðŽ�‚ƒAƒCƒeƒ€‚ð<num>ŒÂ•ª“üŽè‚µ‚Ü‚·�B
  360. <identify> ŠÓ’è�ó‘Ô(0‚Å–¢ŠÓ’è�A1‚ÅŠÓ’è)
  361. <refine> �¸˜B’l
  362. <attribute> ƒAƒCƒeƒ€‚Ì�ó‘Ô
  363. <card1> �·‚³‚Ä‚¢‚éƒJ�[ƒh�A�»‘¢•�Ší‚È‚ç255‚Å‘•”õˆÈŠO‚̃AƒCƒeƒ€‚ŃLƒƒƒ‰‚Ì–¼‘O‚ð“ü‚ꂽ‚¢Žž‚Í254
  364. <card2> �·‚³‚Ä‚¢‚éƒJ�[ƒh�A�»‘¢•�Ší‚Ȃ瑮�«‚Æ�¯‚Ì‚©‚¯‚ç‚Ì�”‚ð�Ý’è�B�¯‚Ì‚©‚¯‚ç‚Ì�”(”͈Í:0~3)*5*256 + ‘®�«(–³:0�A‰Î:3�A�…:1�A•—:4�A“y:2)
  365. <card3> �·‚³‚Ä‚¢‚éƒJ�[ƒh�A�»‘¢•�Ší‚âƒLƒƒƒ‰‚Ì–¼‘O‚ª“ü‚éƒAƒCƒeƒ€‚̓Lƒƒƒ‰ID‚̉º‚Ì2ƒoƒCƒg
  366. <card4> �·‚³‚Ä‚¢‚éƒJ�[ƒh�A�»‘¢•�Ší‚âƒLƒƒƒ‰‚Ì–¼‘O‚ª“ü‚éƒAƒCƒeƒ€‚̓Lƒƒƒ‰ID‚Ì�ã‚Ì2ƒoƒCƒg
  367. <itemid>‚ª•¶Žš—ñ‚Ì�ê�‡�A‚»‚Ì–¼‘O(name,jname)‚ðŽ�‚ƒAƒCƒeƒ€‚ÌID‚ðŽg—p‚µ‚Ü‚·�B
  368. ‚½‚¾‚µ�AƒAƒCƒeƒ€–¼‚Íitem_db.txt‚ȂǂɈˑ¶‚·‚邽‚ß�AƒeƒXƒg–Ú“IˆÈŠO‚ł͎g—p‚·‚ׂ«‚ł͂ ‚è‚Ü‚¹‚ñ�B
  369. delitem–½—ß
  370. delitem <itemid>,<num>;
  371. itemid_num �”’l
  372. <itemid>‚ÉŽw’肳‚ꂽƒAƒCƒeƒ€ID‚ðŽ�‚ƒAƒCƒeƒ€‚ð<num>ŒÂ•ªŽ¸‚¢‚Ü‚·�B
  373. getexp–½—ß
  374. getexp <base_exp>,<job_exp>;
  375. base_exp �”’l
  376. job_exp �”’l
  377. <base_exp>‚ÉŽw’肳‚ꂽ�”‚¾‚¯Base‚ÉŒoŒ±’l‚ª“ü‚è‚Ü‚·�B
  378. <job_exp>‚ÉŽw’肳‚ꂽ�”‚¾‚¯Job‚ÉŒoŒ±’l‚ª“ü‚è‚Ü‚·�B
  379. ƒ}ƒCƒiƒX‚Ì�”Žš‚Í“K‰ž‚³‚ê‚Ü‚¹‚ñ�B
  380. makepet–½—ß
  381. makepet <petid>;
  382. petid �”’l
  383. <petid>‚ÉŽw’肳‚ꂽƒAƒCƒeƒ€ID‚ðŽ�‚ƒyƒbƒg‚Ì—‘‚ð�ì�¬‚µ‚Ü‚·�B
  384. viewpoint–½—ß
  385. viewpoint <type>,<x>,<y>,<id>,<color>;
  386. type,x,y,id �”’l
  387. color •s–¾
  388. Ž‘—¿•s‘«‚Ȃ̂Å�Ú‚µ‚¢�à–¾‚͂ł«‚Ü‚¹‚ñ‚ª�Aƒ~ƒjMAP‚É“_–Å‚·‚é“_‚ð•\ަ�A�í�œ‚µ‚Ü‚·�B
  389. type:1,•\ަ�A2,�í�œ
  390. heal–½—ß
  391. heal <hp>,<sp>;
  392. hp,sp �”’l
  393. <hp>•ªHP‚ð�A<sp>•ªSP‚ð‰ñ•œ‚µ‚Ü‚·�B
  394. itemheal–½—ß
  395. itemheal <hp>,<sp>;
  396. hp,sp �”’l
  397. <hp>•ªHP‚ð�A<sp>•ªSP‚ð‰ñ•œ‚µ‚Ü‚·�Bheal‚Ƃ͈Ⴂ‰ñ•œ‚·‚éHP‚ÆSP‚Ì—Ê‚ÉVIT(SP‚Ì�ê�‡INT)‚ƃXƒLƒ‹‚É‚æ‚é•â�³‚ª•t‚«‚Ü‚·�B
  398. end–½—ß
  399. end;
  400. ƒXƒNƒŠƒvƒg‚ÌŽÀ�s‚ð�I—¹‚µ‚Ü‚·�B
  401. setoption–½—ß
  402. setoption <string>;
  403. string •¶Žš—ñ
  404. ˆø—p�F
  405. PC‚Ɉȉº‚ÅŽ¦‚·•t‘®•i(?)‚ð•t‚¯‚Ü‚·�B
  406. 0x0000 - •t‘®•i�í�œ
  407. 0x0001 - ?
  408. 0x0002 - ƒnƒCƒh(‰e•t‚«)
  409. 0x0004 - ??
  410. 0x0008 - ƒJ�[ƒg
  411. 0x0010 - ‘é
  412. 0x0020 - ƒyƒRƒyƒR(ƒiƒCƒg,ƒNƒ‹ƒZƒCƒ_�[‚ÌŽž‚̂ݗLŒø)
  413. 0x0040 - ƒnƒCƒh(‰e–³‚µ)
  414. 0x0080 - ƒJ�[ƒg2
  415. 0x0100 - ƒJ�[ƒg3
  416. 0x0200 - ƒJ�[ƒg4
  417. 0x0400 - ƒJ�[ƒg5
  418. 0x0800 - “ª‚ªƒI�[ƒN(Sage‚̃XƒLƒ‹�AƒŠƒo�[ƒXƒI�[ƒLƒbƒVƒ…‚ª‚©‚©‚Á‚½�ó‘ԂɂȂé)
  419. ˆê’[‚·‚ׂÄ�Á‚³‚ê‚Ä‚©‚ç•t‚¯’¼‚·‚Ì‚Å�A•¡�”Žw’肵‚½‚¢�ê�‡‚É‚Í�‡Œv‚ðŽw’肵‚Ä‚­‚¾‚³‚¢�B
  420. savepoint–½—ß
  421. savepoint <gatname>,<x>,<y>;
  422. gatname •¶Žš—ñ
  423. x,y �”’l
  424. <gatname>‚Ì�À•W<x>,<y>‚ðƒZ�[ƒuƒ|ƒCƒ“ƒg‚É�ݒ肵‚Ü‚·�B
  425. openstorage–½—ß
  426. openstorage;
  427. ‘qŒÉ‚ðŠJ‚«‚Ü‚·�B
  428. setcart–½—ß
  429. setcart;
  430. ƒJ�[ƒg‚ð•t‚¯‚Ü‚·�B
  431. successrefitem–½—ß
  432. successrefitem <n>;
  433. n �”’l
  434. �¸˜B�¬Œ÷ƒGƒtƒFƒNƒg‚ð•\ަ‚µ‚Ü‚·�B
  435. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  436. failedrefitem–½—ß
  437. failedrefitem <n>;
  438. n �”’l
  439. �¸˜Bޏ”sƒGƒtƒFƒNƒg‚ð•\ަ‚µ‚Ü‚·�B
  440. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  441. setfalcon–½—ß
  442. setfalcon;
  443. ‘é‚ð•t‚¯‚Ü‚·�B
  444. setriding–½—ß
  445. setriding;
  446. ƒyƒRƒyƒR‚É�æ‚è‚Ü‚·�B
  447. monster–½—ß
  448. monster <gatname>,<x>,<y>,<mobname>,<mobid>,<num>[,<event>];
  449. gatname,mobname •¶Žš—ñ
  450. x,y,mobid,num �”’l
  451. event •¶Žš—ñ�A�È—ª‰Â
  452. <gatname>‚Ì�À•W<x>,<y>‚É<mobname>‚ðŽ�‚Â<mobid>‚ÉŽw’肳‚ꂽID‚ðŽ�‚ƒ‚ƒ“ƒXƒ^�[‚ð<num>‘Ì�oŒ»‚³‚¹‚Ü‚·�B
  453. <gatname>‚ªthis‚Ì�ê�‡ƒXƒNƒŠƒvƒg‚ðŽÀ�s‚µ‚½ƒvƒŒƒCƒ„�[‚ª‚¢‚éMAP�A
  454. <x><y>‚ª-1‚Ì�ê�‡�AƒXƒNƒŠƒvƒg‚ðŽÀ�s‚µ‚½ƒvƒŒƒCƒ„�[‚Ì�À•W�A
  455. <mobname>‚ª--en--‚Ì�ê�‡‰pŒê–¼�A--ja--‚Ì�ê�‡“ú–{Œê–¼�A<mobid>‚ª-1‚Ì�ê�‡ƒ‰ƒ“ƒ_ƒ€�B
  456. ‚»‚̃‚ƒ“ƒXƒ^�[‚ð“|‚µ‚½‚Æ‚«<event>‚ðŠJŽn‚µ‚Ü‚·�B
  457. announce–½—ß
  458. announce <string>,<flag>;
  459. string •¶Žš—ñ
  460. flag �”’l
  461. <string>‚ð‚f‚lƒAƒiƒEƒ“ƒX‚Å•\ަ‚µ‚Ü‚·�B
  462. <flag>‚͈ȉº‚ÉŽ¦‚·’Ê‚è‚Å‚·�B
  463. ƒGƒŠƒAƒtƒ‰ƒO
  464. 0x00 ‚·‚ׂĂ̂l‚`‚o‚É‘—�M
  465. 0x01 “¯‚¶‚l‚`‚o
  466. 0x02 ‰æ–Ê“à
  467. 0x03 Ž©•ª‚Ì‚Ý
  468. 0x04 “¯‚¶‚l‚`‚oŽI
  469. �Fƒtƒ‰ƒO
  470. 0x00 ‰©�F
  471. 0x10 ��F
  472. “ÁŽêƒtƒ‰ƒO
  473. 0x00 “Á‚É–³‚µ
  474. 0x08 ƒCƒxƒ“ƒg—p
  475. ƒGƒŠƒAƒtƒ‰ƒO‚Æ�Fƒtƒ‰ƒO‚Æ“ÁŽêƒtƒ‰ƒO‚Ì�‡Œv‚ðŽw’肵‚Ä‚­‚¾‚³‚¢�B
  476. killmonster–½—ß
  477. killmonster <gatname>[,<event>];
  478. gatname •¶Žš—ñ
  479. event •¶Žš—ñ�A�È—ª‰Â
  480. <gatname>‚É‘¶�Ý‚·‚郂ƒ“ƒXƒ^�[‚ð‚·‚×‚ÄŽE‚µ‚Ü‚·�B
  481. <event>‚É‚æ‚Á‚ČĂÑ�o‚³‚ꂽƒ‚ƒ“ƒXƒ^�[‚̂ݎE‚·‚±‚Æ‚à‰Â”\‚Å‚·�B<event>‚ðAll‚É‚·‚邯‚»‚̃}ƒbƒv‚É‚ ‚éˆêŽž“I‚É�¢Š«‚³‚ꂽƒ‚ƒ“ƒXƒ^�[‚ð‘S‚ÄŽE‚µ‚Ü‚·�B
  482. killmonsterall–½—ß
  483. killmonsterall <gatname>
  484. gatname •¶Žš—ñ
  485. <gatname>‚É‘¶�Ý‚·‚郂ƒ“ƒXƒ^�[‚ð‚·‚×‚ÄŽE‚µ‚Ü‚·�Bkillmonster‚Ƃ͈á‚Á‚Ä‚»‚̃}ƒbƒv‚ÉŽn‚ß‚©‚ç”z’u‚³‚ê‚Ä‚¢‚½ƒ‚ƒ“ƒXƒ^�[‚܂őS‚ÄŽE‚·‚±‚Æ‚ª‚Å‚«‚Ü‚·�B
  486. addtimer–½—ß
  487. addtimer <ms>,<event>;
  488. ms �”’l
  489. event •¶Žš—ñ
  490. Œ»�݂̃vƒŒƒCƒ„�[‚É�A<ms>ƒ~ƒŠ•bŒo‰ß‚µ‚½Œã<event>‚ðŠJŽn‚·‚éƒ^ƒCƒ}�[‚ð�ì�¬‚µ‚Ü‚·�B
  491. ‚±‚̃^ƒCƒ}�[‚É‚æ‚Á‚ÄŽÀ�s‚³‚ê‚éƒCƒxƒ“ƒg‚Í�A‚±‚̃vƒŒƒCƒ„�[‚Ì�î•ñ‚ɃAƒNƒZƒX‚Å‚«‚Ü‚·�B
  492. ƒvƒŒƒCƒ„�[‚ªƒ�ƒOƒAƒEƒg‚·‚邯ƒ^ƒCƒ}�[‚Í–³Œø‚ɂȂ邽‚ß’�ˆÓ‚µ‚Ä‚­‚¾‚³‚¢�B
  493. ƒAƒŠ�[ƒiƒ}ƒbƒv‚ȂǂŎg—p‚·‚é�ê�‡‚Í‚±‚ê‚ł͂Ȃ­NPCƒ^ƒCƒ}�[‚ðŽg—p‚µ‚Ä‚­‚¾‚³‚¢�B
  494. deltimer–½—ß
  495. deltimer <event>;
  496. event •¶Žš—ñ
  497. Œ»�݂̃vƒŒƒCƒ„�[‚Ì<event>‚ðŠJŽn‚·‚éƒ^ƒCƒ}�[‚ð�Á‹Ž‚µ‚Ü‚·�B
  498. addtimercount–½—ß
  499. addtimercount <event>,<ms>;
  500. event •¶Žš—ñ
  501. ms �”’l
  502. Œ»�݂̃vƒŒƒCƒ„�[‚Ì<event>‚ðŠJŽn‚·‚éƒ^ƒCƒ}�[‚ÌŠJŽn‚܂ł̎žŠÔ‚ð<ms>ƒ~ƒŠ•b’ljÁ‚µ‚Ü‚·�B
  503. initnpctimer–½—ß
  504. initnpctimer [<name>];
  505. <name>‚ÅŽw’肳‚ꂽNPC‚ªŽ�‚ÂNPCƒ^ƒCƒ}�[‚Ì’l‚ð‚O‚É‚µ�AƒJƒEƒ“ƒg‚ðŠJŽn‚µ‚Ü‚·�B
  506. name‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  507. ‚±‚ÌNPCƒ^ƒCƒ}�[‚̓~ƒŠ•b’PˆÊ‚ÅOnTimerXXXX‚Æ‚¢‚¤ƒ‰ƒxƒ‹ƒCƒxƒ“ƒg‚ðŽÀ�s‚µ‚Ü‚·�B
  508. <—á> OnTimer1000: <= 1•bŒã, OnTimer30000: <= 30•bŒã
  509. stopnpctimer–½—ß
  510. stopnpctimer [<name>];
  511. <name>‚ÅŽw’肳‚ꂽNPC‚ªŽ�‚ÂNPCƒ^ƒCƒ}�[‚̃JƒEƒ“ƒg‚ð’âŽ~‚µ‚Ü‚·�B
  512. name‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  513. startnpctimer–½—ß
  514. stopnpctimer [<name>];
  515. <name>‚ÅŽw’肳‚ꂽNPC‚ªŽ�‚ÂNPCƒ^ƒCƒ}�[‚̃JƒEƒ“ƒg‚ð�ÄŠJ‚µ‚Ü‚·�B
  516. name‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  517. ‚±‚¿‚ç‚Íinitnpctimer‚ƈႢ�AƒJƒEƒ“ƒg‚ð0‚ÉƒŠƒZƒbƒg‚µ‚Ü‚¹‚ñ�B
  518. stopnpctimer‚ƃZƒbƒg‚ÅŽg—p‚µ‚Ü‚·�B
  519. setnpctimer–½—ß
  520. setnpctimer <tick>[,<name>]
  521. <name>‚ÅŽw’肳‚ꂽNPC‚ªŽ�‚ÂNPCƒ^ƒCƒ}�[‚̃JƒEƒ“ƒg‚ð•Ï�X‚µ‚Ü‚·�B
  522. name‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  523. getnpctimer‚ð—˜—p‚·‚ê‚Î�AƒJƒEƒ“ƒg‚ð‘�Œ¸‚Å‚«‚Ü‚·�B
  524. disablenpc–½—ß
  525. disablenpc <npcname>;
  526. npcname •¶Žš—ñ
  527. <npcname>‚𖳌ø‚É‚µ‚Ü‚·�B
  528. enablenpc–½—ß
  529. enablenpc <npcname>;
  530. npcname •¶Žš—ñ
  531. <npcname>‚ð—LŒø‚É‚µ‚Ü‚·�B
  532. mapannounce–½—ß
  533. mapannounce <gatname>,<string>,<flag>;
  534. gatname,string •¶Žš—ñ
  535. flag �”’l
  536. <gatname>‘S‘Ì‚É<string>‚ð‚f‚lƒAƒiƒEƒ“ƒX‚Å•\ަ‚µ‚Ü‚·�B
  537. flag:0,‰©�F•¶Žš�A16,�•¶Žš
  538. areaannounce–½—ß
  539. areannounce <gatname>,<x0>,<y0>,<x1>,<y1>,<string>,<flag>;
  540. gatname,string •¶Žš—ñ
  541. x0,y0,x1,y1,flag �”’l
  542. <gatname>‚Ì<x0>,<y0>‚©‚ç<x1>,<y1>‚͈͓̔à‚ɑ΂µ<string>‚ð‚f‚lƒAƒiƒEƒ“ƒX‚Å•\ަ‚µ‚Ü‚·�B
  543. flag:0,‰©�F•¶Žš�A16,�•¶Žš
  544. areawarp–½—ß
  545. areawarp <gatname>,<x0>,<y0>,<x1>,<y1>,<gatname2>,<x>,<y>;
  546. gatname,gatname2 •¶Žš—ñ
  547. x0,y0,x1,y1,x,y �”’l
  548. <gatname>‚Ì<x0>,<y0>‚©‚ç<x1>,<y1>‚͈͓̔à‚É‚¢‚éPC‚ð<gatname2>‚Ì�À•W<x>,<y>‚Ɉړ®‚³‚¹‚Ü‚·�B
  549. areamonster–½—ß
  550. areamonster <gatname>,<x0>,<y0>,<x1>,<y1>,<mobname>,<mobid>,<num>[,<event>];
  551. gatname,mobname •¶Žš—ñ
  552. x0,y0,x1,y1,mobid,num �”’l
  553. event •¶Žš—ñ�A�È—ª‰Â
  554. <gatname>‚Ì<x0>,<y0>‚©‚ç<x1>,<y1>‚͈͓̔à‚É<mobname>‚ðŽ�‚Â<mobid>‚ÉŽw’肳‚ꂽID‚ðŽ�‚ƒ‚ƒ“ƒXƒ^�[‚ð<num>‘Ì�oŒ»‚³‚¹‚Ü‚·�B
  555. <gatname>‚ªthis‚Ì�ê�‡ƒXƒNƒŠƒvƒgŽÀ�sMAP�A<x><y>‚ª-1‚Ì�ê�‡ƒ‰ƒ“ƒ_ƒ€�À•W�A
  556. <mobname>‚ª--en--‚Ì�ê�‡‰pŒê–¼�A--ja--‚Ì�ê�‡“ú–{Œê–¼�A<mobid>‚ª-1‚Ì�ê�‡ƒ‰ƒ“ƒ_ƒ€�B
  557. ‚»‚̃‚ƒ“ƒXƒ^�[‚ð“|‚µ‚½‚Æ‚«<event>‚ðŠJŽn‚µ‚Ü‚·�B
  558. percentheal–½—ß
  559. percentheal <hp>,<sp>;
  560. hp,sp �”’l
  561. HP‚ÆSP‚ð<hp>%�A<sp>%•ª‰ñ•œ‚µ‚Ü‚·�B
  562. resetstatus–½—ß
  563. resetstatus;
  564. ƒXƒe�[ƒ^ƒXƒ|ƒCƒ“ƒg‚ðƒŠƒZƒbƒg‚µ‚Ü‚·�B
  565. resetskill–½—ß
  566. resetskill;
  567. ƒXƒLƒ‹ƒ|ƒCƒ“ƒg‚ðƒŠƒZƒbƒg‚µ‚Ü‚·�B
  568. statusup–½—ß
  569. statusup <st>;
  570. st �”’l
  571. <st>‚ÅŽw’肳‚ꂽŠî–{ƒXƒe�[ƒ^ƒX’l‚ð�AƒXƒe�[ƒ^ƒXƒ|ƒCƒ“ƒg‚ð�Á”‚Ä1�ã‚°‚é�B
  572. <st>‚Í bStr, bVit, bInt, bAgi, bDex, bLuk ‚ÅŽw’è‚·‚é�B
  573. statusup2–½—ß
  574. statusup2 <st>,<n>;
  575. st,n �”’l
  576. <st>‚ÅŽw’肳‚ꂽŠî–{ƒXƒe�[ƒ^ƒX’l‚ð�AƒXƒe�[ƒ^ƒXƒ|ƒCƒ“ƒg‚ð�Á”‚¸‚É<n>�ã‚°‚é�B
  577. <st>‚Í bStr, bVit, bInt, bAgi, bDex, bLuk ‚ÅŽw’è‚·‚é�B
  578. skill–½—ß
  579. skill <skillid>,<skilllv>,<flag>;
  580. skillid,skilllv,flag �”’l
  581. <skillid>‚ÉŽw’肳‚ꂽID‚ðŽ�‚ÂLV<skilllv>ƒXƒLƒ‹‚ð�K“¾‚µ‚Ü‚·�B
  582. flag:0,�P‹v“I‚ȃXƒLƒ‹Žæ“¾(ƒXƒLƒ‹ƒcƒŠ�[‚ɂȂ¢•¨‚Í–³Œø)�A1,ˆêŽž“I(”͈͕͂s–¾)‚Ȏ擾�A
  583. <skilllv>‚ð0‚É‚·‚邯‚±‚Å‚»‚̃XƒLƒ‹‚ð–Y‚ꂳ‚¹‚邱‚Æ‚à‰Â”\‚Å‚·�B
  584. waitingroom–½—ß
  585. waitingroom <title>,<limit>[,<event>[,<trigger>]];
  586. title •¶Žš—ñ
  587. limit �”’l
  588. event •¶Žš—ñ�A�È—ª‰Â
  589. trigger �”’l�A�È—ª‰Â
  590. <title>‚ðƒ^ƒCƒgƒ‹‚Æ‚µ‚ă`ƒƒƒbƒgƒ‹�[ƒ€‚ð•\ަ‚³‚¹‚Ü‚·�B
  591. <trigger>‚ð–ž‚½‚µ‚½‚Æ‚«�A<event>‚ð“®�삳‚¹‚邱‚Æ‚ª‰Â”\‚Å‚·�B
  592. <trigger>‚ð�È—ª‚·‚邯<limit>‚Ì�”’l‚ªŽg—p‚³‚ê‚Ü‚·�B
  593. delwaitingroom–½—ß
  594. delewaitingroom [<name>]
  595. name •¶Žš—ñ�A�È—ª‰Â
  596. Žw’肵‚½NPC‚̃`ƒƒƒbƒgƒ‹�[ƒ€‚ð•‚¶‚Ü‚·�B
  597. <name>‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  598. disablewaitingroomevent–½—ß
  599. disablewaitingroomevent [<name>]
  600. name •¶Žš—ñ�A�È—ª‰Â
  601. <name>‚ÅŽw’肵‚½NPC‚̃`ƒƒƒbƒgƒ‹�[ƒ€‚̃Cƒxƒ“ƒg‚𖳌ø‚É‚µ‚Ü‚·�B
  602. <name>‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  603. enablewaitingroomevent–½—ß
  604. enablewaitingroomevent [<name>]
  605. name •¶Žš—ñ�A�È—ª‰Â
  606. <name>‚ÅŽw’肵‚½NPC‚̃`ƒƒƒbƒgƒ‹�[ƒ€‚̃Cƒxƒ“ƒg‚ð—LŒø‚É‚µ‚Ü‚·�B
  607. <name>‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  608. ‚Ü‚½�AŠù‚ɃCƒxƒ“ƒg‚ª‹N‚±‚é�l�”‚É’B‚µ‚Ä‚¢‚é�ê�‡�A
  609. ‘¦�À‚ɃCƒxƒ“ƒg‚ðŽÀ�s‚µ‚Ü‚·�B
  610. warpwaitingnpc–½—ß
  611. warpwaitingnpc <gatname>,<x>,<y>[,<num>];
  612. gatname •¶Žš—ñ
  613. x,y,num �”’l
  614. –½—ß‚ðŽÀ�s‚µ‚½NPC‚̃`ƒƒƒbƒgƒ‹�[ƒ€‚É“ü‚Á‚Ä‚¢‚éPC‚Ì‚¤‚¿�A
  615. <num>‚ÅŽw’肵‚½�l�”‚ð�A<gatname>‚Ì�À•W<x>,<y>‚Ɉړ®‚³‚¹‚Ü‚·�B
  616. <num>‚ð�È—ª‚·‚邯 waitingroom‚Ì<trigger>‚ÅŽw’肵‚½�l�”‚ðŽg—p‚µ‚Ü‚·�B
  617. ƒ��[ƒv‚³‚¹‚½�l�”‚ð $@warpwaitingpcnum ‚É�Aƒ��[ƒv‚³‚¹‚½�l‚̃AƒJƒEƒ“ƒgID‚ð
  618. ”z—ñ $@warpwaitingpc ‚ɃZƒbƒg‚µ‚Ü‚·(�擪‚©‚ç�l�”•ª)�B
  619. emotion–½—ß
  620. emotion <n>;
  621. n �”’l
  622. <n>ƒGƒ‚�[ƒVƒ‡ƒ“‚ð�o‚µ‚Ü‚·�B
  623. setmapflag–½—ß
  624. setmapflag <gatname>,<flag>;
  625. gatname •¶Žš—ñ
  626. flag �”’l
  627. <gatname>‚Ìmapflag‚ð’ljÁ‚µ‚Ü‚·�B
  628. <flag>‚Ídb/const.txt‚ðŽQ�Æ‚µ‚Ä‚­‚¾‚³‚¢�B
  629. removemapflag–½—ß
  630. removemapflag <gatname>,<flag>;
  631. gatname •¶Žš—ñ
  632. flag �”’l
  633. <gatname>‚Ìmapflag‚ð�Á‹Ž‚µ‚Ü‚·�B
  634. <flag>‚Ídb/const.txt‚ðŽQ�Æ‚µ‚Ä‚­‚¾‚³‚¢�B
  635. pvpon–½—ß
  636. pvpon <gatname>;
  637. gatname •¶Žš—ñ
  638. <gatname>‚ðPVP‰Â”\MAP‚É‚µ‚Ü‚·�B
  639. pvpoff–½—ß
  640. pvpoff <gatname>;
  641. gatname •¶Žš—ñ
  642. <gatname>‚ðPVP•s‰ÂMAP‚É‚µ‚Ü‚·�B
  643. gvgon–½—ß
  644. gvgon <gatname>;
  645. gatname •¶Žš—ñ
  646. <gatname>‚ðƒV�[ƒYƒ‚�[ƒh‚É‚µ‚Ü‚·�B
  647. gvgoff–½—ß
  648. gvgoff <gatname>;
  649. gatname •¶Žš—ñ
  650. <gatname>‚ð”ñƒV�[ƒYƒ‚�[ƒh‚É‚µ‚Ü‚·�B
  651. setmapflagnosave–½—ß
  652. setmapflagnosave <gatname>,<savegatname>,<x>,<y>;
  653. gatname,nosavegat •¶Žš—ñ
  654. x,y �”’l
  655. <gatname>‚Ìmapflag‚Énosave�Aˆø�”‚Æ‚µ‚Ä<savegatname>,<x>,<y>‚ð�ݒ肵‚Ü‚·�B
  656. detachrid–½—ß
  657. detachrid;
  658. NPC‚ɃAƒ^ƒbƒ`‚³‚ê‚Ä‚¢‚éID‚ðƒNƒŠƒA‚µ‚Ü‚·�B
  659. ˆÈŒã�AƒLƒƒƒ‰ƒNƒ^�[�î•ñ‚ð•K—v‚Æ‚·‚é–½—ß‚ªŽÀ�s‚Å‚«‚È‚­‚È‚è‚Ü‚·�B
  660. doevent–½—ß
  661. doevent <name>;
  662. name •¶Žš—ñ
  663. ƒvƒŒƒCƒ„�[Žå‘̂̃Cƒxƒ“ƒg‚ð‹N‚±‚µ‚Ü‚·�B<name>‚ɂ̓Cƒxƒ“ƒg–¼‚ðŽw’肵‚Ü‚·�B
  664. ƒvƒŒƒCƒ„�[‚ª‘¼‚ÌNPC‚Ɖï˜b’†‚ȂǂŎÀ�s‚Å‚«‚È‚¢�ê�‡�AƒLƒ…�[‚É“ü‚è�AŽÀ�s‰Â”\‚ɂȂé‚܂ő҂Á‚ÄŽÀ�s‚³‚ê‚Ü‚·�B
  665. ƒLƒ…�[‚̃TƒCƒY‚͂ƂĂà�¬‚³‚¢‚Ì‚Å�A˜A‘±‚Å‹N‚±‚邯ƒCƒxƒ“ƒg‚ª–³Ž‹‚³‚ê‚é‚©‚à‚µ‚ê‚Ü‚¹‚ñ�B
  666. ƒ‰ƒxƒ‹•t‚«ƒCƒxƒ“ƒg‚àŽw’è‚Å‚«‚Ü‚·‚ª�ANPC–¼‚ð�È—ª‚Å‚«‚È‚¢‚̂Œ�ˆÓ‚µ‚Ä‚­‚¾‚³‚¢�B
  667. donpcevent–½—ß
  668. donpcevent <name>;
  669. name •¶Žš—ñ
  670. ƒvƒŒƒCƒ„�[‚ªƒAƒ^ƒbƒ`‚³‚ê‚Ä‚¢‚È‚¢(NPCŽå‘Ì‚Ì)ƒCƒxƒ“ƒg‚ð‹N‚±‚µ‚Ü‚·�B
  671. <name>‚ɂ̓Cƒxƒ“ƒg–¼‚ðŽw’肵‚Ü‚·�BƒCƒxƒ“ƒg‚Í‘¦�À‚ÉŽÀ�s‚³‚ê‚Ü‚·�B
  672. ƒ‰ƒxƒ‹•t‚«ƒCƒxƒ“ƒg‚àŽw’è‚Å‚«�ANPC–¼‚ð�È—ª‚·‚邱‚Æ‚Å�AƒCƒxƒ“ƒg‚ðƒuƒ��[ƒhƒLƒƒƒXƒg‚Å‚«‚Ü‚·�B
  673. �i•¡�”‚ÌNPC‚Ì“¯‚¶–¼‘O‚̃‰ƒxƒ‹‚ðŽÀ�s‚Å‚«‚é�B —á�„"::OnEvent"�j
  674. callsub–½—ß
  675. callsub <label>
  676. label ƒ‰ƒxƒ‹
  677. “¯ˆêƒXƒNƒŠƒvƒg“à‚̃‰ƒxƒ‹<label>‚ðƒTƒuƒ‹�[ƒeƒBƒ“‚Æ‚µ‚ÄŽÀ�s‚µ‚Ü‚·�B
  678. ƒTƒuƒ‹�[ƒeƒBƒ“‚©‚畜‹A‚·‚邯‚«‚Íreturn–½—ß‚ðŽg—p‚µ‚Ä‚­‚¾‚³‚¢�B
  679. ‚±‚Ì–½—ß‚Íreturn–½—߂̎À�s�󋵂ɂæ‚Á‚Ă͊Ö�”‚Æ‚µ‚ÄŽg—p‚·‚邱‚Æ‚à�o—ˆ‚Ü‚·�B
  680. callfunc–½—ß
  681. callfunc <func>
  682. func •¶Žš—ñ
  683. <func>‚Å’è‹`‚³‚ꂽƒ†�[ƒU�[’è‹`ŠÖ�”‚ðŽÀ�s‚µ‚Ü‚·�B
  684. ƒ†�[ƒU�[’è‹`ŠÖ�”‚©‚畜‹A‚·‚邯‚«‚Íreturn–½—ß‚ðŽg—p‚µ‚Ä‚­‚¾‚³‚¢�B
  685. ‚±‚Ì–½—ß‚Íreturn–½—߂̎À�s�󋵂ɂæ‚Á‚Ă͊Ö�”‚Æ‚µ‚ÄŽg—p‚·‚邱‚Æ‚à�o—ˆ‚Ü‚·�B
  686. return–½—ß
  687. return <retval>
  688. retval �”’l‚Ü‚½‚Í•¶Žš—ñ�A�È—ª‰Â
  689. ’¼‚¿‚ɃTƒuƒ‹�[ƒeƒBƒ“‚à‚µ‚­‚̓†�[ƒU�[’è‹`ŠÖ�”‚𔲂¯�AŒÄ‚Ñ�o‚µŒ³‚É–ß‚è‚Ü‚·�B
  690. <retval>‚Í–ß‚è’l‚Å�Acallsub‚Ü‚½‚Ícallfunc‚ªŠÖ�”‚Æ‚µ‚ČĂÑ�o‚³‚ê‚Ä‚¢‚邯‚«�A‚±‚Ì–ß‚è’l‚ªŽg—p‚³‚ê‚Ü‚·�B
  691. callsub‚Ü‚½‚Ífunc‚ª–½—߂Ƃµ‚ČĂ΂ê‚Ä‚¢‚邯‚«‚Í�A<retval>‚Í�È—ª‚µ‚Ä‚­‚¾‚³‚¢�B
  692. �–ŠÖ�”
  693. randŠÖ�”
  694. rand(<n1>[,<n2>])
  695. n1 �”’l
  696. n2 �”’l�A�È—ª‰Â
  697. <n1>‚̂ݎw’肳‚ê‚Ä‚¢‚½�ê�‡�A0‚©‚ç<n1>-1‚܂łÌ�”’l‚ðƒ‰ƒ“ƒ_ƒ€‚É‘I‚ñ‚ŕԂµ‚Ü‚·�B
  698. <n2>‚ðŽw’肵‚½�ê�‡�A<n1>‚©‚ç<n2>‚܂łÌ�”ƒ`‚ðƒ‰ƒ“ƒ_ƒ€‚É‘I‚ñ‚ŕԂµ‚Ü‚·�B
  699. getitemnameŠÖ�”
  700. getitemname(<itemid>)
  701. itemid �”’l
  702. <itemid>‚ÉŽw’肳‚ꂽID‚ðŽ�‚ƒAƒCƒeƒ€‚Ìjname‚ð•¶Žš—ñ‚ŕԂµ‚Ü‚·�B
  703. ‚È‚¨�AƒAƒCƒeƒ€–¼‚Íitem_db.txt‚ðŽQ�Æ‚µ‚Ü‚·
  704. countitemŠÖ�”
  705. countitem(<itemid>)
  706. itemid �”’l‚Ü‚½‚Í•¶Žš—ñ
  707. <itemid>‚ÉŽw’肳‚ꂽID‚ðŽ�‚ƒAƒCƒeƒ€‚Ì�ŠŽ��”‚ð•Ô‚µ‚Ü‚·�B
  708. <itemid>‚ª•¶Žš—ñ‚Ì�ê�‡�A‚»‚Ì–¼‘O(name,jname)‚ðŽ�‚ƒAƒCƒeƒ€‚ÌID‚ðŽg—p‚µ‚Ü‚·�B
  709. ‚½‚¾‚µ�AƒAƒCƒeƒ€–¼‚Íitem_db.txt‚ȂǂɈˑ¶‚·‚邽‚ß�AƒeƒXƒg–Ú“IˆÈŠO‚ł͎g—p‚·‚ׂ«‚ł͂ ‚è‚Ü‚¹‚ñ�B
  710. checkweightŠÖ�”
  711. checkweight(<itemid>,<num>)
  712. itemid �”’l‚Ü‚½‚Í•¶Žš—ñ
  713. num �”’l
  714. <itemid>‚ÉŽw’肳‚ꂽID‚ðŽ�‚ƒAƒCƒeƒ€‚ð<num>ŒÂŽ�‚‚±‚Æ‚ª‚Å‚«‚é‚̂Ȃç‚Î1‚ð�A
  715. ‚Å‚«‚È‚¯‚ê‚Î0‚ð•Ô‚µ‚Ü‚·�B
  716. <itemid>‚ª•¶Žš—ñ‚Ì�ê�‡�A‚»‚Ì–¼‘O(name,jname)‚ðŽ�‚ƒAƒCƒeƒ€‚ÌID‚ðŽg—p‚µ‚Ü‚·�B
  717. ‚½‚¾‚µ�AƒAƒCƒeƒ€–¼‚Íitem_db.txt‚ȂǂɈˑ¶‚·‚邽‚ß�AƒeƒXƒg–Ú“IˆÈŠO‚ł͎g—p‚·‚ׂ«‚ł͂ ‚è‚Ü‚¹‚ñ�B
  718. strcharinfoŠÖ�”
  719. strcharinfo(<n>)
  720. n �”’l
  721. ƒLƒƒƒ‰�î•ñ‚ð•Ô‚µ‚Ü‚·�B
  722. n:0,ƒLƒƒƒ‰–¼�A1,ƒp�[ƒeƒB�[–¼�A2,ƒMƒ‹ƒh–¼
  723. getequipnameŠÖ�”
  724. strcharinfo(<n>)
  725. n �”’l
  726. ‘•”õ•i–¼‚ð•Ô‚µ‚Ü‚·�B
  727. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  728. getequipisequipedŠÖ�”
  729. getequipisequiped(<n>)
  730. n �”’l
  731. ‘•”õ‚µ‚Ä‚¢‚½‚ç1�A‚µ‚Ä‚¢‚È‚©‚Á‚½‚ç0‚ð•Ô‚µ‚Ü‚·�B
  732. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  733. getequipisenablerefŠÖ�”
  734. getequipisenableref(<n>)
  735. n �”’l
  736. �¸˜B‚Å‚«‚é�ê�‡‚Í1�A‚Å‚«‚È‚¢�ê�‡‚Í0‚ð•Ô‚µ‚Ü‚·�B
  737. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  738. getequipisidentifyŠÖ�”
  739. getequipisidentify(<n>)
  740. n �”’l
  741. ŠÓ’è�ς݂Ì�ê�‡1�A–¢ŠÓ’è‚Ì�ê�‡0‚ð•Ô‚µ‚Ü‚·�B
  742. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  743. getequiprefinerycntŠÖ�”
  744. getequiprefinerycnt(<n>)
  745. n �”’l
  746. �¸˜B‚Ì“x�‡‚¢‚ð•Ô‚µ‚Ü‚·�B
  747. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  748. getequipweaponlvŠÖ�”
  749. getequipweaponlv(<n>)
  750. n �”’l
  751. •�ŠíLV‚ð•Ô‚µ‚Ü‚·�B–h‹ï‚Ì�ê�‡‚É‚Í0�A‚ ‚Ƃ͕�ŠíLV‚ɑΉž‚µ‚Ü‚·�B
  752. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  753. getequippercentrefineryŠÖ�”
  754. getequippercentrefinery(<n>)
  755. n �”’l
  756. �¸˜B�¬Œ÷—¦‚ð•Ô‚µ‚Ü‚·�B
  757. n:1,“ª‘•”õ�A2,ŠZ�A3,�¶Žè�A4,‰EŽè�A5,‚©‚¯‚é‚à‚Ì�A6,ŒC�A7,ƒAƒNƒZ‚P�A8,ƒAƒNƒZ‚Q�A9,“ª’†’i�A10,“ª‰º’i
  758. getusersŠÖ�”
  759. getusers(<n>)
  760. n �”’l
  761. �l�”‚ð•Ô‚µ‚Ü‚·�B
  762. n:0,PC‚Ì‚¢‚éMAP‚Ì‘��l�”�A1,‘SMAP‚Ì‘��l�”�i‘¦‚¿ƒ�ƒOƒCƒ“�l�”�j�A8,NPC‚Ì‘¶�Ý‚·‚éMAP‚Ì‘��l�”
  763. getmapusersŠÖ�”
  764. getmapusers(<gatname>)
  765. gatname •¶Žš—ñ
  766. <gatname>‚É‘¶�Ý‚·‚é‘��l�”‚ð•Ô‚µ‚Ü‚·�B
  767. getareausersŠÖ�”
  768. getareausers(<gatname>,<x0>,<y0>,<x1>,<y1>)
  769. gatname •¶Žš—ñ
  770. x0,y0,x1,y1 �”’l
  771. <gatname>‚Ì<x0>,<y0>‚©‚ç<x1>,<y1>‚͈͓̔à‚É‚¢‚é�l�”‚ð•Ô‚µ‚Ü‚·�B
  772. getskilllvŠÖ�”
  773. getskilllv(<skillid>)
  774. skillid �”’l
  775. <skillid>‚ÅŽw’肵‚½ID‚ðŽ�‚ƒXƒLƒ‹‚ÌLV‚ð•Ô‚µ‚Ü‚·�B�K“¾‚µ‚Ä‚¢‚È‚¢�ê�‡‚Í0‚ð•Ô‚µ‚Ü‚·�B
  776. getcharidŠÖ�”
  777. getcharid(<n>)
  778. n �”’l
  779. ƒLƒƒƒ‰�î•ñ‚ðID‚ŕԂµ‚Ü‚·�B
  780. n=0 ƒLƒƒƒ‰ID
  781. n=1 ƒp�[ƒeƒB�[
  782. n=2 ƒMƒ‹ƒh
  783. n=3 ƒAƒJƒEƒ“ƒgID
  784. getpartynameŠÖ�”
  785. getpartyname(<n>)
  786. n �”’l
  787. <n>‚ÅŽw’肵‚½ID‚ðŽ�‚ƒp�[ƒeƒB�[–¼‚ð•Ô‚µ‚Ü‚·�B
  788. getguildnameŠÖ�”
  789. getguildname(<n>)
  790. n �”’l
  791. <n>‚ÅŽw’肵‚½ID‚ðŽ�‚ƒMƒ‹ƒh–¼‚ð•Ô‚µ‚Ü‚·�B
  792. getguildmasterŠÖ�”
  793. getguildname(<n>)
  794. n �”’l
  795. <n>‚ÅŽw’肵‚½ID‚ðŽ�‚ƒMƒ‹ƒh‚̃}ƒXƒ^�[‚Ì–¼‘O‚ð•Ô‚µ‚Ü‚·�B
  796. getguildmasteridŠÖ�”
  797. getguildmasterid(<n>)
  798. n �”’l
  799. <n>‚ÅŽw’肵‚½ID‚ðŽ�‚ƒMƒ‹ƒh‚̃}ƒXƒ^�[‚̃Lƒƒƒ‰ƒNƒ^�[ID‚ð•Ô‚µ‚Ü‚·�B
  800. basicskillcheckŠÖ�”
  801. basicskillcheck(0);
  802. battle_athena.conf‚Ìbasic_skill_check‚Ì�Ý’è’l‚ð•Ô‚µ‚Ü‚·�B0‚͈Ӗ¡‚Í‚ ‚è‚Ü‚¹‚ñ‚ª‰½‚à“ü‚ê‚È‚©‚Á‚½�ê�‡ƒGƒ‰�[‚ɂȂè‚Ü‚·�B
  803. basic_skill_check‚ƃJƒvƒ‰‚Ì‘qŒÉ—˜—p‚ð�‡‚킹‚éˆ×‚É�ì‚Á‚½•¨‚Å‚»‚êˆÈŠO‚Ì‹@”\‚Í‚ ‚è‚Ü‚¹‚ñ�B–ß‚Á‚½�”’l‚ª0‚È‚çbasic_skill_check‚ªno�A1‚È‚çyes‚Å‚·�B
  804. getgmlevelŠÖ�”
  805. getgmlevel(0);
  806. ƒvƒŒƒCƒ„�[‚ÌGMƒŒƒxƒ‹‚ð•Ô‚µ‚Ü‚·�B
  807. guildopenstorageŠÖ�”
  808. guildopenstorage(0);
  809. ƒMƒ‹ƒh‘qŒÉ‚ðŠJ‚«‚Ü‚·�B
  810. •Ô‚½�”’l‚ª2‚È‚çƒMƒ‹ƒh‚É�Š‘®‚µ‚ĂȂ¢ƒLƒƒƒ‰‚ÆŒ¾‚¤ˆÓ–¡‚Å
  811. 1‚Ȃ瑼‚̃Mƒ‹ƒhƒ�ƒ“ƒo�[‚ª‘qŒÉ‚ðŽg—p’†‚̈Ӗ¡‚Å‚·�B
  812. 0‚È‚ç�¬Œ÷“I‚ɃMƒ‹ƒh‘qŒÉ‚ªŠJ‚¢‚½‚Ƃ̂±‚Ƃł·�B
  813. getwaitingroomstateŠÖ�”
  814. getwaitingroomstate(<num>,[<name>])
  815. num �”’l
  816. name •¶Žš—ñ�A�È—ª‰Â
  817. <name>‚ÅŽw’肵‚½NPC‚̃`ƒƒƒbƒgƒ‹�[ƒ€‚Ì�ó‘Ô‚ð•Ô‚µ‚Ü‚·�B
  818. <name>‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  819. <num>‚Å“¾‚½‚¢�î•ñ‚ðŽw’肵‚Ü‚·�B
  820. num=0 Œ»�݃`ƒƒƒbƒgƒ‹�[ƒ€‚É“ü‚Á‚Ä‚¢‚é�l�”�i�”’l�j
  821. num=1 ƒ`ƒƒƒbƒgƒ‹�[ƒ€‚ÌŒÀŠE�l�”�i�”’l�j
  822. num=2 ƒ`ƒƒƒbƒgƒ‹�[ƒ€‚̃Cƒxƒ“ƒg‚ð‹N‚±‚·�l�”�i�”’l�j
  823. num=3 ƒ`ƒƒƒbƒgƒ‹�[ƒ€‚̃Cƒxƒ“ƒg‚ª—LŒø‚©‚Ç‚¤‚©�i�”’l�j
  824. num=4 ƒ`ƒƒƒbƒgƒ‹�[ƒ€‚̃^ƒCƒgƒ‹�i•¶Žš—ñ�j
  825. num=5 ƒ`ƒƒƒbƒgƒ‹�[ƒ€‚̃pƒXƒ��[ƒh�i•¶Žš—ñ�j
  826. num=16 ƒ`ƒƒƒbƒgƒ‹�[ƒ€‚̃Cƒxƒ“ƒg–¼�i•¶Žš—ñ�j
  827. num=32 ƒ`ƒƒƒbƒgƒ‹�[ƒ€‚ª–žˆõ‚©‚Ç‚¤‚©�i�”’l�j
  828. num=33 ƒ`ƒƒƒbƒgƒ‹�[ƒ€‚ŃCƒxƒ“ƒg‚ª‹N‚±‚é�l�”‚©‚Ç‚¤‚©�i�”’l�j
  829. getnpctimerŠÖ�”
  830. getnpctimer(<num>[,<name>])
  831. num �”’l
  832. <name>‚ÅŽw’肳‚ꂽNPC‚ªŽ�‚ÂNPCƒ^ƒCƒ}�[‚Ì�î•ñ‚𓾂܂·�B
  833. name‚ð�È—ª‚·‚邯�A–½—ß‚ðŽÀ�s‚µ‚½NPC‚ª‘Î�ۂɂȂè‚Ü‚·�B
  834. <num>‚Å“¾‚½‚¢�î•ñ‚ðŽw’肵‚Ü‚·�B
  835. num=0 Œ»�Ý‚ÌNPCƒ^ƒCƒ}�[‚̃JƒEƒ“ƒg’l
  836. num=1 Œ»�ÝNPCƒ^ƒCƒ}�[‚ª“®�삵‚Ä‚¢‚é‚©‚Ç‚¤‚©
  837. num=2 Žw’èNPC‚̃^ƒCƒ}�[ƒCƒxƒ“ƒgƒ‰ƒxƒ‹‚Ì‘��”
  838. attachridŠÖ�”
  839. attachrid(<num>)
  840. num �”’l
  841. <num>‚ÅŽw’肳‚ꂽID‚̃Lƒƒƒ‰ƒNƒ^�[‚ðŽÀ�s‚µ‚½ƒXƒNƒŠƒvƒg‚ɃAƒ^ƒbƒ`‚µ‚Ü‚·�B
  842. ˆÈŒã�AƒLƒƒƒ‰ƒNƒ^�[‚ÉŠÖ‚·‚é–½—ß‚âŠÖ�”/•Ï�”‚Ȃǂ͑S‚Ä�V‚µ‚¢ƒLƒƒƒ‰ƒNƒ^�[‚ª‘Î�ۂɂȂè‚Ü‚·�B
  843. ‚±‚ê‚̓XƒNƒŠƒvƒg‚ª�I—¹/’†’f‚·‚é(close,end,menu,next,input‚Ȃǂ̎À�s)‚܂ŗLŒø‚Å‚·�B
  844. Žå‚ɃCƒxƒ“ƒg‚Å‹N“®‚³‚ꂽƒXƒNƒŠƒvƒg“à‚Ń}ƒbƒv•Ï�”‚ðŽg‚Á‚ĕʃLƒƒƒ‰ƒNƒ^�[‚ð
  845. ƒAƒ^ƒbƒ`‚·‚é‚̂Ɏg—p‚µ‚Ü‚·�Bgetcharid(3)‚Å�Š“¾‚µ‚½ƒAƒJƒEƒ“ƒgID‚ðŽg‚Á‚Ä‚­‚¾‚³‚¢�B
  846. ‚È‚¨�Aƒfƒ^ƒbƒ`‚É‚Ídetachrid–½—ß‚ðŽg‚¢‚Ü‚·�B
  847. ’�ˆÓ‚·‚ׂ«“_‚Æ‚µ‚Ä‚Í�A‚±‚Ì–½—ß‚ÅPC‚ðƒAƒ^ƒbƒ`‚µ‚½�ê�‡�Ames,menu,next‚ȂǂÌ
  848. ƒEƒBƒ“ƒhƒE(‚âƒ{ƒ^ƒ“)‚ª�o‚é–½—ß‚ðŽÀ�s‚µ‚Ă͂¢‚¯‚Ü‚¹‚ñ�B
  849. ‘ŠŽè‚ª‘¼‚ÌNPC‚Ɖï˜b’†‚Ì�ê�‡�A‚±‚ê‚ç‚Ì–½—ß‚Í�³‚µ‚­“®�삵‚Ü‚¹‚ñ�B
  850. �î•ñ�Š“¾–½—߂Ȃǂ¾‚¯‚Å�ς܂¹‚é‚ׂ«‚Å‚·�B
  851. ‚±‚ÌŠÖ�”‚̓Aƒ^ƒbƒ`‚É�¬Œ÷‚µ‚½‚©‚Ç‚¤‚©‚ð•Ô‚µ‚Ü‚·�B
  852. ‹U(0)‚ª•Ô‚Á‚Ä—ˆ‚½�ê�‡‚Í�AŠY“–ƒLƒƒƒ‰ƒNƒ^�[‚ª‘¶�Ý‚µ‚Ä‚¢‚Ü‚¹‚ñ�B
  853. isloggedinŠÖ�”
  854. isloggedin(<num>)
  855. num �”’l
  856. <num>‚ÅŽw’肳‚ꂽID‚̃Lƒƒƒ‰ƒNƒ^�[‚ª‚±‚̃}ƒbƒvƒT�[ƒo�[‚É
  857. ƒ�ƒOƒCƒ“‚µ‚Ä‚¢‚é‚©‚Ç‚¤‚©’²‚ׂ܂·�B
  858. getarraysizeŠÖ�”
  859. getarraysize(<variable>)
  860. variable •Ï�”
  861. ”z—ñ<variable>‚Ì—LŒø‚ȃTƒCƒY‚𒲂ׂ܂·�B
  862. ‚±‚±‚ł̃TƒCƒY‚Í—v‘f‚ª0�i•¶Žš—ñ•Ï�”‚Å‚Í"")‚łȂ¢�A
  863. �Å‘å‚Ì—v‘f”Ô�†+1 ‚ɂȂè‚Ü‚·�B
  864. ”z—ñ–¼‚ł͂Ȃ­—v‘f”Ô�†•t‚«‚ÅŽw’è‚·‚邯�A
  865. �­‚È‚­‚Æ‚à‚»‚Ì—v‘f‚܂ł͑S‚Ä—LŒø‚Å‚ ‚邯‰¼’肵‚Ü‚·�B
  866. <—á> ”z—ñ@hoge‚ª 1,2,3,4,5 ‚¾‚Æ‚·‚邯�A
  867. getarraysize(@hoge)=5, getarraysize(@hoge[10])=10;
  868. callsubŠÖ�”
  869. callsub <label>
  870. callsub–½—ß‚ðŠÖ�”‚Æ‚µ‚ÄŽÀ�s‚µ‚Ü‚·�B�Ú‚µ‚­‚Ícallsub–½—ß‚ðŒ©‚Ä‚­‚¾‚³‚¢�B
  871. callfuncŠÖ�”
  872. callfunc <func>
  873. callfunc–½—ß‚ðŠÖ�”‚Æ‚µ‚ÄŽÀ�s‚µ‚Ü‚·�B�Ú‚µ‚­‚Ícallfunc–½—ß‚ðŒ©‚Ä‚­‚¾‚³‚¢�B
  874. �–’è�”ƒ‰ƒxƒ‹
  875. -ƒ‰ƒxƒ‹
  876. if•¶‚âmenu•¶‚ÅŽg—p‚µ‚Ü‚·�BŽŸ‚Ì�s‚©‚çƒXƒNƒŠƒvƒg‚ðŠJŽn‚µ‚Ü‚·�B
  877. OnInitƒ‰ƒxƒ‹
  878. MAP‚ªƒ��[ƒh‚³‚ꂽ‚Æ‚«ƒXƒNƒŠƒvƒg‚ðŠJŽn‚µ‚Ü‚·�B
  879. OnInterIfInitƒ‰ƒxƒ‹
  880. MAPƒT�[ƒo�[‚ªInterƒT�[ƒo�[‚É�Ú‘±‚µ‚½‚Æ‚«‚ÉŽÀ�s‚µ‚Ü‚·�B
  881. OnCharIfInitƒ‰ƒxƒ‹
  882. MAPƒT�[ƒo�[‚ªCharƒT�[ƒo�[‚É�Ú‘±‚µ‚½‚Æ‚«‚ÉŽÀ�s‚µ‚Ü‚·�B
  883. OnMinuteXXƒ‰ƒxƒ‹
  884. –ˆŽžXX•ª‚ÉŽÀ�s‚µ‚Ü‚·�B�”’l‚Í�\�i�”‚QŒ…‚Å‚·�B
  885. OnClockXXXXƒ‰ƒxƒ‹
  886. –ˆ“úXXŽžXX•ª‚ÉŽÀ�s‚µ‚Ü‚·�B�”’l‚Í�\�i�”‚SŒ…‚Å‚·�B
  887. OnHourXXƒ‰ƒxƒ‹
  888. –ˆ“úXXŽž00•ª‚ÉŽÀ�s‚µ‚Ü‚·�B�”’l‚Í�\�i�”‚QŒ…‚Å‚·�B
  889. OnDayXXƒ‰ƒxƒ‹
  890. –ˆŒŽXX“ú00Žž00•ª‚ÉŽÀ�s‚µ‚Ü‚·�B�”’l‚Í�\�i�”‚QŒ…‚Å‚·�B
  891. OnTimerXƒ‰ƒxƒ‹
  892. NPCƒ^ƒCƒ}�[‚̃JƒEƒ“ƒg‚ªX‚ɂȂÁ‚½‚Æ‚«‚ÉŽÀ�s‚³‚ê‚Ü‚·�B
  893. ‚±‚ÌX‚̓~ƒŠ•b’PˆÊ‚Å‚·�BŒ…�”‚ÍŠÖŒW‚ ‚è‚Ü‚¹‚ñ�B
  894. OnAgitInitƒ‰ƒxƒ‹
  895. ƒMƒ‹ƒh�éƒf�[ƒ^‚Æ�è‹’ƒMƒ‹ƒh�î•ñ‚ªƒ}ƒbƒvƒT�[ƒo�[“à‚É
  896. �Š“¾‚³‚ꂽ‚Æ‚«‚ÉŽÀ�s‚³‚ê‚Ü‚·�B
  897. ƒMƒ‹ƒh�éŠÖŒW‚ÌNPC‚Ì�‰Šú‰»‚ÉŽg—p‚µ‚Ü‚·�B
  898. OnAgitStartƒ‰ƒxƒ‹
  899. ƒMƒ‹ƒh�U�é�킪Žn‚Ü‚Á‚½‚Æ‚«‚ÉŽÀ�s‚³‚ê‚Ü‚·�B
  900. OnAgitEndƒ‰ƒxƒ‹
  901. ƒMƒ‹ƒh�U�é�킪�I‚í‚Á‚½‚Æ‚«‚ÉŽÀ�s‚³‚ê‚Ü‚·�B
  902. OnAgitBreakƒ‰ƒxƒ‹
  903. ƒGƒ“ƒyƒŠƒEƒ€‚ð”j‰ó‚µ‚½‚Æ‚«‚ÉŽÀ�s‚³‚ê‚Ü‚·�B
  904. ‚±‚̃‰ƒxƒ‹‚Í”j‰ó‚µ‚½ƒvƒŒƒCƒ„�[‚ðŽå‘̂ɂµ‚ÄŽÀ�s‚³‚ê‚Ü‚·�B
  905. OnAgitEliminateƒ‰ƒxƒ‹
  906. ƒGƒ“ƒyƒŠƒEƒ€”j‰óŒã�AƒMƒ‹ƒh‚Ì�Š—LŽÒ‚ª�‘‚«Š·‚í‚邯‚«‚É
  907. ŒÄ‚΂ê‚Ü‚·�B
  908. �–’�ˆÓŽ–�€
  909. •¶Žš—ñ‚Æ�à–¾‚³‚ê‚Ä‚¢‚éˆø�”‚Í""‚ň͂Á‚Ä‚­‚¾‚³‚¢�B
  910. 4. Error Message
  911. * Make an error at the time of compile (it is a thing at the time of map server starting).
  912. A place is displayed for the line number of an error.
  913. unexpected expr end
  914. It is the end of an unexpected formula.
  915. ', ', and';' are in the beginning of a formula.
  916. unmatch ')'
  917. ')' does not match.
  918. Correspondence of parenthesis'('')' is amusing.
  919. unexpected newline @ string
  920. It is the new-line which is not expected in a character sequence.
  921. There is a new-line in the middle of a character sequence (surrounded by '"').
  922. Probably it is a failure of '"' to close.
  923. unexpected eof @ string
  924. It is the file terminus which is not expected in a character sequence.
  925. The file finished in the middle of the character sequence.
  926. Probably it is a failure of '"' to close.
  927. unexpected character
  928. unexpected char
  929. It is an unexpected character.
  930. It is thought that the variable etc. is not following a naming rule.
  931. l14 and l15 is DEPRECATED. use @menu instead of l15.
  932. l14 and l15 are not recommended. Please use @menu instead of l15.
  933. prefix 'l' is DEPRECATED. use prefix '@' instead.
  934. Prefix'l' is not recommended. Please use '@' instead.
  935. unmatch ']'
  936. ']' does not carry out an interval.
  937. Correspondence of parenthesis']' is missing.
  938. expect function
  939. ŠÖ�”‚ðŠú‘Ò‚µ‚Ä‚¢‚Ü‚µ‚½
  940. ŠÖ�”ŒÄ‚Ñ�o‚µ‰‰ŽZŽq'('‚Ì‘O‚ÉŠÖ�”ˆÈŠO‚̃Vƒ“ƒ{ƒ‹‚ª‚ ‚è‚Ü‚·�B
  941. ‚¨‚»‚ç‚­ŠÖ�”–¼‚ðŠÔˆá‚¦‚Ä‚¢‚Ü‚·�B
  942. expect ',' or ')' at func params
  943. ŠÖ�”‚̈ø�”‚É‚¨‚¢‚Ä','‚©')'‚ðŠú‘Ò‚µ‚Ä‚¢‚Ü‚µ‚½
  944. ‚¨‚»‚ç‚­ˆø�”‹æ�Ø‚è‚Ì','‚©')'‚ð–Y‚ê‚Ä‚¢‚Ü‚·�B
  945. func request '(' ')'
  946. ŠÖ�”ŒÄ‚Ñ�o‚µ‚ÌŠ‡ŒÊ‘Ήž–â‘è
  947. ‚¨‚»‚ç‚­ˆø�”‚Ì�”‚ª128‚ð’´‚¦‚Ü‚µ‚½�B
  948. illeagal number of parameters
  949. ƒpƒ‰ƒ��[ƒ^‚Ì�”‚ª•s�³‚Å‚·
  950. ŠÖ�”/–½—߃pƒ‰ƒ��[ƒ^‚ÌŒÂ�”‚ªˆÙ‚È‚è‚Ü‚·�B
  951. ˆø�”‚ÌŒÂ�”‚ðŠm”F‚µ‚Ä‚­‚¾‚³‚¢�B
  952. ƒGƒ‰�[ˆÊ’u‚Í‘S‚Ă̈ø�”‚ÌŒã‚ɂȂè‚Ü‚·�B
  953. expect command
  954. –½—ß‚ðŠú‘Ò‚µ‚Ä‚¢‚Ü‚µ‚½
  955. –½—߈ȊO‚̃Vƒ“ƒ{ƒ‹‚ª“Ë‘R�oŒ»‚µ‚Ä‚¢‚Ü‚·�B
  956. ‚¨‚»‚ç‚­–½—ß–¼‚ðŠÔˆá‚¦‚Ä‚¢‚Ü‚·�B
  957. expect ',' or ';' at cmd params
  958. –½—߂̈ø�”‚É‚¨‚¢‚Ä','‚©';'‚ðŠú‘Ò‚µ‚Ä‚¢‚Ü‚µ‚½
  959. ‚¨‚»‚ç‚­ˆø�”‹æ�Ø‚è‚Ì','‚©';'‚ð–Y‚ê‚Ä‚¢‚Ü‚·�B
  960. need ';'
  961. ';'‚ª•K—v‚Å‚·
  962. ‚¨‚»‚ç‚­ˆø�”‚Ì�”‚ª128‚ð’´‚¦‚Ü‚µ‚½�B
  963. ŽÀ�sŽž‚̃Gƒ‰�[
  964. fatal error ! player not attached!
  965. ’v–½“IƒGƒ‰�[�IƒvƒŒƒCƒ„�[‚ªƒAƒ^ƒbƒ`‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�I
  966. ƒLƒƒƒ‰ƒNƒ^�[‚ð“Á’è‚Å‚«‚È‚¢ƒCƒxƒ“ƒg‚ÅŽÀ�s‚³‚ê‚Ä‚¢‚é
  967. ƒXƒNƒŠƒvƒg‚Ì’†‚ŃLƒƒƒ‰ƒNƒ^�[�î•ñ‚ª•K—v‚È–½—ß‚âŠÖ�”�A
  968. •Ï�”‚ÖƒAƒNƒZƒX‚µ‚Ü‚µ‚½�BattachridŠÖ�”‚ðŽg‚¤‚©�A
  969. ƒLƒƒƒ‰ƒNƒ^�[�î•ñ‚ª•s—v‚È–½—ß‚ðŽg—p‚µ‚Ä‚­‚¾‚³‚¢�B
  970. ‚à‚µ‚­‚Í�AattachridŠÖ�”‚Å�ݒ肳‚ꂽ�î•ñ‚ª•s�³‚Å‚·�B
  971. ‚È‚¨�A‚±‚̃Gƒ‰�[‚ª‹N‚±‚邯’¼Œã‚ɃRƒA‚ð“f‚­‚ÆŽv‚í‚ê‚Ü‚·�B
  972. NPCŽå‘̃Cƒxƒ“ƒg‚Åannounce‚µ‚½‚Æ‚«‚Ƀtƒ‰ƒO0x08‚ðŽw’肵‚Ä‚¢‚È‚¢
  973. �ê�‡‚à‚±‚̃Gƒ‰�[‚ª‚ł܂·�B
  974. illeagal scope string variable.
  975. •¶Žš—ñ•Ï�”‚̃XƒR�[ƒv‚ª•s�³‚Å‚·�B
  976. –¢‘Ήž‚̃vƒŒƒtƒBƒbƒNƒX‚Å•¶Žš—ñ•Ï�”‚ªŽg—p‚³‚ê‚Ü‚µ‚½�B
  977. ƒvƒŒƒtƒBƒbƒNƒX‚ðŠm”F‚µ‚Ä‚­‚¾‚³‚¢�B
  978. illeagal scope
  979. ƒXƒR�[ƒv‚ª•s�³‚Å‚·�B”z—ñ•Ï�”–¢‘Ήž‚̃vƒŒƒtƒBƒbƒNƒX‚ð
  980. Ž�‚•Ï�”‚É”z—ñ•Ï�”Œn‚Ì–½—ß‚ðŽÀ�s‚µ‚½�ê�‡‚È‚Ç�B
  981. not label !
  982. goto/menu–½—߂щƒxƒ‹‚ªŽw’肳‚ê‚é‚ׂ«‚Æ‚±‚ë‚É
  983. ƒ‰ƒxƒ‹ˆÈŠO‚̃Vƒ“ƒ{ƒ‹‚ªŽw’肳‚ê‚Ä‚¢‚Ü‚·�B
  984. ‚à‚µ‚­‚Í�Aƒ‰ƒxƒ‹–¼‚Æ•Ï�”–¼‚ªƒoƒbƒeƒBƒ“ƒO‚µ‚Ä‚¢‚Ü‚·�B
  985. buildin_set: not name
  986. set–½—߂őæˆêˆø�”‚ª•Ï�”–¼‚ł͂ ‚è‚Ü‚¹‚ñ�B
  987. getelementofarray (operator[]): param2 illeagal number
  988. ”z—ñ•Ï�”‚Å[]“à‚Ì’l‚ª•s�³‚Å‚·
  989. []“à‚Ì’l‚ª0–¢–ž‚©128ˆÈ�ã‚ɂȂè‚Ü‚µ‚½
  990. getelementofarray (operator[]): param1 not name
  991. ”z—ñ•Ï�”‚Å[]‚Ì‘O‚̃Vƒ“ƒ{ƒ‹‚ª•Ï�”–¼‚ł͂ ‚è‚Ü‚¹‚ñ�B
  992. op_2: int&str, str&int not allow.
  993. ŠÖŒW‰‰ŽZŽq�i”äŠr‰‰ŽZŽq�j‚Å�A�”’l‚Æ•¶Žš—ñ�A‚à‚µ‚­‚Í
  994. •¶Žš—ñ‚Æ�”’l‚ªŽw’肳‚ê‚Ü‚µ‚½�B
  995. infinity loop !
  996. ƒXƒNƒŠƒvƒg‚ÌŽÀ�s–½—ß�”‚©�Agoto/menu–½—ߎÀ�s‰ñ�”‚ª
  997. ‘½‚·‚¬‚é‚Ì‚Å�A–³ŒÀƒ‹�[ƒv‚Æ”»’f‚µ‚Ü‚µ‚½�B
  998. ƒXƒNƒŠƒvƒg‚ÌŽÀ�s‚Í‹­�§“I‚É’†’f‚³‚ê‚Ü‚µ‚½�B
  999. not function and command !
  1000. ŠÖ�”ŽÀ�s/–½—ߎÀ�s•”•ª‚Å�AŠÖ�”‚Å‚à–½—߂łà‚È‚¢
  1001. ƒVƒ“ƒ{ƒ‹‚ª‚ ‚è‚Ü‚µ‚½�B
  1002. if•¶‚̂Ȃ©‚Å‚ ‚é‰Â”\�«‚ª�‚‚¢‚Å‚·�B
  1003. return without callfunc or callsub !
  1004. callfunc‚âcallsub‚³‚ê‚Ä‚¢‚È‚¢‚Ì‚Éreturn–½—ß‚ðŽÀ�s‚µ‚Ü‚µ‚½�B
  1005. stack.sp(?) != default(?)
  1006. ƒXƒ^ƒbƒNƒ|ƒCƒ“ƒ^‚ªŠî�€ƒXƒ^ƒbƒNƒ|ƒCƒ“ƒ^‚ƈقȂÁ‚Ä‚¢‚Ü‚·�B
  1007. –½—ß‚ðŽÀ�s‚µ‚½Œ‹‰Ê�AƒXƒ^ƒbƒNƒ|ƒCƒ“ƒ^‚ª‹¶‚¢‚Ü‚µ‚½�B
  1008. ŠÖ�”‚𖽗߂Ƃµ‚ÄŽÀ�s‚µ‚½‰Â”\�«‚ª‚ ‚è‚Ü‚·�B
  1009. 5. Postscript
  1010. NPC contained in snapshot was made reference in creating this text.
  1011. I appreciate people which created NPC.
  1012. It corrects based on text by asong (2004/3/1).