diff options
Diffstat (limited to 'doc/script_ref.txt')
-rw-r--r-- | doc/script_ref.txt | 1424 |
1 files changed, 0 insertions, 1424 deletions
diff --git a/doc/script_ref.txt b/doc/script_ref.txt deleted file mode 100644 index 06df8f425..000000000 --- a/doc/script_ref.txt +++ /dev/null @@ -1,1424 +0,0 @@ -AthenaNPCScript - -- Table of contents - 0. Introduction - 1. Definition of NPC - 2. Explanation of Script, and Fundamental Rule - 3. Imperative Sentence, Function, and Constant Label - 4. Error Message - 5. Postscript - -0. Introduction - The function and form which are contained in this text refer to npc_sample.txt contained in the newest snapshot, and are described. - The convenience of the editor which shows this text is considered, <tab> is written and <n> etc. is written. [ a tab character ] [ arbitrary values ]. - Although it is a coordinate system, please make a lower figure reference. - The increase in ?Y - ( 0,200)--(200,200) - | | - | | - | | - | | - | | - ( 0, 0)--(200, 0)-> the increase in X - -1. Definition of NPC - 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 - The NPC describes first what is shown (a way of speaking called NPC depending on the case is unsuitable). - - * Warp point : perform movement between MAP. - <gatname>,<x>,<y><tab>warp<tab><displayname><tab><dx>,<dy>,<destination_gatname>,<destination_x>,<destination_y> - - gatname The MAP file name on which a warp point is put is specified. Please do not forget gat. - x The horizontal coordinates on which a warp point is put are specified. - y The vertical coordinates on which a warp point is put are specified. - displayname It is a warp point discernment child. You may overlap. It uses by debugging. - dx It is the horizontal effect range of a warp point. - 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. - Example of dx and dy (- is x and y) : - 0,0 1,0 2,2 - *@*� *�*�*�*�*� *�*�*�*�*�*�*� - *�*�*� *�*�*�*�*� *�*�*�*�*�*�*� - *@*� *�*�*�*�*� *�*�*�*�*�*�*� - *@ *�*�*�*�*�*�*� - *@ *�*�*�*�*�*�*� - *@ *�*�*�*�*�*�*� - *@ *�*�*�*�*�*�*� - *@ - * I hear that and it will leap if the cell of - is stepped on. - *@ - destination_gatname It is a warp place. . Even if there is gat and there is not, don't care about it. - destination_x They are warp place horizontal coordinates. - destination_y They are warp place vertical coordinates. - - Notes : - A warp point displays only that plurality is described to be at the end when located on this position. - When the coordinates of a warp place are move prohibition cells, it leaps to somewhere in the MAP. - - * Monster : manage the spawning(aka apperance in japanese.) of a monster. - <gatname>,<x>,<y>,<xs>,<ys><tab>monster<tab><displayname><tab><npcid>,<number>,<spawn_delay1>,<spawn_delay2>[,<event>] - - gatname The appearing MAP file name is specified. - x The appearing horizontal coordinates are specified. Random at 0. - y The appearing vertical coordinates are specified. Random at 0. - xs The appearing horizontal range is specified. - ys The appearing vertical range is specified. - Example of xs and ys (- is x and y) : - 0,0 2,1 - *@*� *�*�*�*�*� - *@ *�*�*�*�*� - *@ *�*�*�*�*� - *@ - * And a monster appears from the cell of -. - - displayname It is the display name of the appearing monster. - npcid Please refer to mob_db.txt. id of the monster made to appear is specified. - number It is the number of the maximum appearances in the MAP and the appearance range. - spawn_delay1 After appearing, if specified the amount of time in milliseconds before it re-appears. - spawn_delay2 After dying, if specified the amount of time in milliseconds before it re-appears. - event The specified event is generated. An abbreviation is possible. - - Notes: - 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. - - * Store : sell an item. - <gatname>,<x>,<y>,<direction><tab>shop<tab><displayname><tab><npcid>,<item_id>:<price>,<item_id>:<price>,<item_id>:<price> - - gatname The MAP file name to arrange is specified. - x The horizontal coordinates to arrange are specified. - y The vertical coordinates to arrange are specified. - direction Direction is specified. - Details of direction : - 7 0 1 - 6 2 - 5 4 3 - - displayname The display name of the store to arrange is specified. - npcid The display sprite ID of the store to arrange is specified. - item_id The item ID put on the store to arrange is specified. Please refer to item_db. - price The price of the item specified by item_id is set up. - each <item_id>:<price> is divided by a comma (,), and more than one can be specified. - example: - item_id:price,item_id2,price2 - - * Script : create NPC. - <gatname>,<x>,<y>,<direction><tab>script<tab><displayname><tab><npcid>,<xs>,<ys>,{ <script> ... } - - gatname The MAP file name to arrange is specified. - x The horizontal coordinates to arrange are specified. - y The vertical coordinates to arrange are specified. - direction Direction is specified. - displayname The display name of NPC to arrange is specified. It becomes an event name when npcid is -1. - When making said display name another operation event, it can be described as a display name::discernment child. - npcid The display sprite ID of NPC to arrange is specified. If -1 is specified, it will become an event in map. - xs The horizontal range which performs a script automatically is specified. - ys The vertical range which performs a script automatically is specified. It is the same as a warp. - - Explanation about the inside of {} (inside parenthesis). - Collecting by the party cannot recommend you. If it can do - gatname etc, - { - //comment - script; - label: - script; - } - Let's write by the said touch. Comment out is //and comment area is /* and */. - The ? which does not leave; (semicolon) in the script ending. - - �u<gatname>,<x>,<y>,<direction><tab>�v�̕������A�u-<tab>�v�Ƃ��邱�ƂŁA - �}�b�v�T�[�o�[���ɂ͑��݂��Ă��Ă��A���ۂ̃}�b�v�ɂ͔z�u����Ȃ�NPC���쐬�ł��܂��B - ����͌�q�̃f���v���P�[�g�X�N���v�g�ŃR�s�[���Ƃ��Ďg�p���܂��B - - ���f���v���P�[�g�X�N���v�g�F������NPC�i�̃X�N���v�g�j���R�s�[���܂��B - <gatname>,<x>,<y>,<direction><tab>duplicate(<source>)<tab><displayname><tab><npcid>,<xs><ys> - - source�ȊO�̃p�����[�^�͒ʏ�̃X�N���v�g�Ɠ����ł��B - source�ɂ̓R�s�[���ƂȂ�NPC�̎��ʖ�����͂��܂��B - - �R�s�[����NPC���}�b�v��ɔz�u����Ă���ꍇ�A�����}�b�v�ł���K�v������܂��B - �}�b�v��ɔz�u����Ă��Ȃ��ꍇ�́A�ǂ̃}�b�v�ւ��R�s�[�\�ł��B - - �����[�U�[��`���X�N���v�g�F�X�N���v�g����Ăяo����郆�[�U�[��`�����쐬���܂��B - function<tab>script<tab><name><tab>{ <script> ... } - - callfunc���߂ŌĂяo�����Ƃ̏o��������쐬���܂��B - ���̍Ō�ɂ͕K��return���߂����Ă��������B - - ���}�b�v�t���O�FMAP�̃��[�����Ǘ����܂��B - <gatname><tab>mapflag<tab><const> - - gatname ���[����ݒ肷��MAP�t�@�C�������w�肵�܂��B - const ���[���̓��e���w�肵�܂��B - - const�̈ꗗ�B - nosave<tab><gatname>,<x>,<y> - �����O�C��������<gatname>�̍��W<x>,<y>�Ɉړ����܂��B - nomemo<tab>dummy - ��������邱�Ƃ��֎~���܂��B - notereport<tab>dummy - SavePoint�܂���Random���w�肵��warp���A���[�v�|�[�^���A�e���|�[�g���֎~���܂��B - nobranch<tab>dummy - �Ö̎}�̎g�p���֎~���܂��B - pvp<tab>dummy - PVP�\MAP�ɂȂ�܂��B - nopenalty<tab>dummy - �f�X�y�i���e�B�����ɂȂ�܂��B - pvp_noparty<tab>dummy - PVP�ɂ����āA���p�[�e�B�[�U���s�ɂȂ�܂��B - pvp_noguild<tab>dummy - PVP�ɂ����āA���M���h�U���s�ɂȂ�܂��B - gvg<tab>dummy - �V�[�Y���[�h�ɂȂ�܂��B - gvg_noparty<tab>dummy - �V�[�Y���[�h�ɂ����āA���p�[�e�B�[�U���s�ɂȂ�܂��B - -�Q�D�X�N���v�g�̐����Ɗ�{�I�ȋK�� - ������ - �����t�̐����ƂP�U�i���\�L�������g�p���邱�Ƃ��ł��܂��B - �����t�����͔��p������123456���ƋL�q���܂��B - �P�U�i���\�L������0x12��0x��t���ċL�q���܂��B - - �������� - "�i�_�u���N�H�[�e�[�V�����j�ň͂����͕�����Ƃ��ĕ]������܂��B - "�i�_�u���N�H�[�e�[�V�����j�L�������������ꍇ��\"�ƋL�q���܂��B - \�L�������������ꍇ��\\�ƋL�q���܂��B - �Ȃ��\���W�̕��Ɋւ��Ă�^000000���̐F�ύX���g�����Ƃ��ł��܂��B - �ϐ� + "������"�Ƃ��������������ł��܂��B - - ���P�����Z�q - �ȉ��̐��l��p�̒P�����Z�q���p�ӂ���Ă��܂��B - - �����t�]�i�Q�̕␔�j - ~ �r�b�g�_���ے�i�P�̕␔�j - ! �_���ے� - - ���Q�����Z�q - �ȉ��Q�����Z�q�͐��l�ƕ�����œ��삪�قȂ�܂��B - + ���Z/���� - ���l�ǂ����̏ꍇ�͉��Z���܂��B - ����ȊO�̏ꍇ�͕�����Ƃ݂Ȃ��Č������܂��B - - �ȉ��̂Q�����Z�q�͐��l��p�ł��B - - ���Z - * ��Z - / ���Z - % ��] - & �r�b�g�_���� - | �r�b�g�_���a - ^ �r�b�g�r���I�_���a - && �_���� - || �_���a - - �ȉ��̂Q�����Z�q�͐��l�ǂ����A�܂��͕�����ǂ����̔�r���s���܂��B - �����̊W���Z�q�͊W�����藧��1�A���藧���Ȃ���0��Ԃ��܂��B - == ������ - != �������Ȃ� - > ���傫�� - >= ���傫�����������i�ȏ�j - < ��菬�����i�����j - <= ��菬�������������i�ȉ��j - - ���ϐ� - ���p�p�������g�p���邱�Ƃ��ł��܂��B - �ϐ��̃X�R�[�v�ƃ��C�t�^�C���̓v���t�B�b�N�X�ɂ��w�肵�܂��B - �������̃G���̓v���t�B�b�N�X�Ƃ��Ĉ�����̂Œ��ӂ��Ă��������B - (�������̃G���͍���̓����ۏႳ��Ȃ��̂Ŏg�p���Ȃ��ʼn�����) - - �v���t�B�b�N�X �X�R�[�v ���C�t�^�C�� - (�Ȃ�) �L�����N�^�[ �i���I - @ �L�����N�^�[ �ꎞ�I - l ���� ����i��������Ȃ��j - $ �}�b�v�T�[�o�[ �i���I - $@ �}�b�v�T�[�o�[ �ꎞ�I - # �A�J�E���g �i���I - ## �A�J�E���g(�S���[���h) �i���I - - �܂�A���ʂ̈ꎞ�I�ȕϐ���@, �ۑ�����K�v�̂���ϐ��� - �v���t�B�b�N�X�Ȃ��A�S�ẴL�����N�^�[�ŋ��L���ׂ��ϐ��� $�A - ����A�J�E���g�ŋ��L���ׂ��ϐ��� # �� ## ���g�p���邱�ƂɂȂ�܂��B - - �܂��A�ϐ��̌^�̓|�X�g�t�B�b�N�X�ɂ��w�肵�܂��B - �������A������^�̓L�����N�^�[�ꎞ�ϐ��A����сA - �i���I/�ꎞ�I�}�b�v�T�[�o�[�ϐ��ł̂ݎg�p�ł��܂��B - �i�v���t�B�b�N�X @�A$�A$@ �j - - �|�X�g�t�B�b�N�X �^ - (�Ȃ�) ���� - $ ������ - - <��> @hoge$ ������^�ꎞ�I�L�����N�^�[�ϐ� - hoge ���l�^�i���I�L�����N�^�[�ϐ� - $hoge ���l�^�i���I�S�L�����N�^�[���L�ϐ� - - �ꎞ�I�łȂ��ϐ��͑��p���ׂ��ł͂���܂���B - �ۑ�����K�v�̂Ȃ����̂͋ɗ͈ꎞ�ϐ��ōς܂���ׂ��ł��B - �ۑ�����K�v������̂��Ȃ��̂��͂悭�l�����Ă��������B - ���ɉi���I�ȃL�����N�^�[/�A�J�E���g�ϐ��́A���ɐ���������܂��B - �g�p���I����ē�x�Ǝg�p���邱�Ƃ��Ȃ��Ƃ킩���Ă���ϐ��� - �l��0�ɐݒ肷�邱�Ƃō폜���邱�Ƃ��o���܂��B - - ���z��ϐ� - �ϐ����̌�Ɋ��� [ ] �Ŋ����������w�肷�邱�ƂŔz��ϐ��ɂȂ�܂��B - �ϐ�����"["�̊Ԃɋ��������邱�Ƃ͂ł��܂���B - - <��> hoge[10] fuga[ @temp ] - - �z��̗v�f�ԍ���0�`127���w��ł��܂����A�ԍ�0�͓����̕ϐ��� - �l�����L���܂��B���Ƃ��Ahoge[0] �� hoge �͓����ϐ��ł��B - - �z��ϐ��͈ꎞ�I�L�����N�^�[�ϐ��A�ꎞ�I/�i���I�}�b�v�T�[�o�[�ϐ��Ŏg�p�ł��܂��B - �ϐ��̌^�͐��l�A�������Ƃ����p�ł��܂��B - - �����x�� - ���p�p������уA���_�[�o�[���g�p�ł��܂��B - �ϐ��▽�߂ȂǂƋ�ʂ��邽�� L_ ��擪�ɂ��邱�Ƃ���������܂��B - L_hoge: �Ƃ��������Ɏg�p���܂��B - if����menu���̃W�����v��Ɏw�肳��܂��B - - ���萔 - athena��db/const.txt�ɏ��������萔����܂��B - �X�N���v�g���ł̂ݎg�p�\�ł��B - - �����ߍ��ݕϐ� - �b�������v���C���[�̃X�e�[�^�X�Ȃǂ��Q�Ƃł��܂��B - db/const.txt�ɋL�q����Ă��܂��B - �X�N���v�g���ł̂ݎg�p�\�ł��B - �Ȃ��A�ꕔ�������Ēl�̑���͂ł��܂���B - - ���� - ���ߕ��̈��������l�������ꍇ�A�����ŗ��p���邱�Ƃ��ł��܂��B - �X�y�[�X�͗v��Ȃ��悤�ł����������������Ղ��ł��B - ��r���Z�q�y�ј_�����Z�q�͒l���^�ł������Ƃ����l��1�A�U�ł������Ƃ�0��Ԃ��܂��B - - ���C�x���g - �`�������Ȃ��X�N���v�g�ł��B - �^�C���A�^�b�N�Ȃǂ̍쐬�Ɏg���܂��B - �C�x���g�����L�q���镔���ł́A�C�x���g��::���x�����Ƃ��邱�Ƃł��̃C�x���g�̎w�肵�����x������ - �X�N���v�g���J�n�����邱�Ƃ��ł��܂��B - - �����ߍ\�� - �����͔��p�X�y�[�X���ċL�q���Ă��������B - -�R�D���ߕ��y�ъ��y�ђ萔���x�� - �����ߕ� - mes���� - mes <string>; - - string ������ - - <string>�ɋL�q���ꂽ����������b�Z�[�W�E�B���h�E�ɏo�͂��܂��B - - next���� - next; - - ���b�Z�[�W�E�B���h�E��next�{�^����\�����A�ҋ@���܂��B - - close���� - close; - - ���b�Z�[�W�E�B���h�E��close�{�^����\�����A�X�N���v�g���I�����܂��B - - menu���� - menu <string1>,<label1>[,<stringN>,<labelN>...]; - - stringN ������ - labelN ���x�� - - ���j���[��\�����܂��B<stringN>�ɋL�q���ꂽ�������I�������<labelN>����X�N���v�g���J�n���܂��B - �܂��A�I�ꂽ���x���̔ԍ��͕ϐ�@menu�ɑ������܂��B - (l15�ɂ��������܂����A������͍��㓮�삪�ۏႳ��Ȃ��̂�l15�͎g�p���Ȃ��ʼn������j - - goto���� - goto <label>; - - label ���x�� - - <label>����X�N���v�g���J�n���܂��B - - cutin���� - cutin <filename>,<position>; - - filename ������ - position ���l - - �J�v���E���Ȃǂ̃J�b�g�C����\�����܂��B<filename>�͕\���������t�@�C�����A<position>�͕\���ʒu���w�肵�܂��B - position�F0,�����A1,�������A2,�E���A255,�J�b�g�C������ - - jobchange���� - jobchange <job>[, <upper>]; - - job ���l - upper ���l - - �E�Ƃ�ύX���܂��B<job>��db/const.txt���Q�Ƃ��Ă��������B - <upper>��0=�ʏ�,1=�]��,2=�{�q,-1 or ����=���݂�<upper>�ɂȂ�܂��B - jobLv�͎����łP�ɂȂ�܂��B - �o�[�h�ƃ_���T�[�ɂ͒��ӂ��Ă��������B - - input���� - input [<variable>]; - - variable �ϐ��A�ȗ��� - - ���̓E�B���h�E���J���A���̓f�[�^��<variable>�ɑ�����܂��B - �ϐ��̌^��������^�̂Ƃ��͕�������̓E�B���h�E�A�����^�̂Ƃ��͐��l���̓E�B���h�E�ɂȂ�܂��B - <variable>���ȗ������ꍇ�ɂ͐��l���̓E�B���h�E���o���A�f�[�^�͕ϐ�l14 (�������̃G��+14)�ɑ������܂��B - �il14�͍���̓��삪�ۏႳ��Ȃ��̂ŁA�����͏ȗ����Ȃ��ʼn������j - - warp���� - warp <gatname>,<x>,<y>; - - gatname ������ - x,y ���l - - <gatname>�Ɏw�肳�ꂽMAP�̍��W<x>,<y>�Ƀ��[�v���܂��B - <gatname>��SavePoint�ɂ����ꍇ�A�Z�[�u�|�C���g�Ɉړ����܂��B - Random�ɂ����ꍇ�A����MAP���̂ǂ����Ɉړ����܂��B����<x><y>�͖����B - - setlook���� - setlook <n1>,<n2>; - - n1,n2 ���l - - �O����ύX���܂��B<n1>�͕��i���A<n2>�͎�ނ��w�肵�܂��B - n1�F1,���^�A2,����A3,����i�A4,�����i�A5,�����i�A6,���F�A7,���F�A8,�� - �����i�͕ύX����܂���B�A�T�V���j�ƃ��[�O�j�Ɋւ��Ă͕��̐F������܂���B - - - set���� - set <variable>,<n>; - - variable �ϐ� - n ���l/������ - - <variable>��<n>�������܂��B - ������^���g�p����Ƃ��͕ϐ����Ƀ|�X�g�t�B�b�N�X��Y��Ȃ��ʼn������B - - setarray���� - setarray <variable>[,<n0>[,<n1>�c]]; - - variable �ϐ� - nx ���l/������ - - �z��<variable>�ɒl<n0>,<n1>,�c�̃��X�g�������܂��B - <variable>�͔z���w�肷��ƍŏ�����A�v�f�ԍ����w�肷��Γr���������ł��܂��B - <��> setarray @hoge[2],16,24,32; @hoge�̗v�f2����4�܂ł�16,24,32�ɂ���B - - cleararray���� - cleararray <variable>,<n>,<count>; - - variable �ϐ� - n ���l/������ - count ���l - - �z��<variable>�ɒl<n>��<count>��������܂��B - <variable>�͔z���w�肷��ƍŏ�����A�v�f�ԍ����w�肷��Γr���������ł��܂��B - <��> cleararray @hoge[3],0,6; @hoge�̗v�f3����8�܂ł�0�ɃZ�b�g���� - - copyarray���� - copyarray <var1>,<var2>,<n>; - - <var1>,<var2> �ϐ� - n �� - - �z��<var1>�ɔz��<var2>�̗v�f<n>���R�s�[���܂��B - <var1>,<var2>�͔z���w�肷��ƍŏ�����A�v�f�ԍ����w�肷��Γr������R�s�[�ł��܂��B - - deletearray���� - - deletearray <variable>,<n>; - - variable �ϐ� - n ���l - - �z��<variable>����<n>�̗v�f���폜���A���̗v�f��O�ɋl�߂� - <variable>�͔z���w�肷��ƍŏ�����A�v�f�ԍ����w�肷��Γr������폜�ł��܂��B - - if���� - if (<cond>) goto <label>; - - cond ���l - label ���x�� - - <cond>��0�ȊO�̏ꍇ�A<label>����X�N���v�g���J�n���܂��B - - getitem���� - getitem <itemid>,<num>; - - itemid ���l�܂��͕����� - num ���l - - <itemid>�Ɏw�肳�ꂽ�A�C�e��ID�����A�C�e����<num>�����肵�܂��B - <itemid>��������̏ꍇ�A���̖��O(name,jname)�����A�C�e����ID���g�p���܂��B - �������A�A�C�e������item_db.txt�ȂǂɈˑ����邽�߁A�e�X�g�ړI�ȊO�ł͎g�p���ׂ��ł͂���܂���B - - getitem2���� - getitem <itemid>,<num>,<identify>,<refine>,<attribute>,<card1>, - <card2>,<card3>,<card4> - - itemid ���l�܂��͕����� - num,identify,refine,attribute,card1,card2,card3,card4 ���l - - <itemid>�Ɏw�肳�ꂽ�A�C�e��ID�����A�C�e����<num>�����肵�܂��B - <identify> �Ӓ���(0�Ŗ��Ӓ�A1�ŊӒ�) - <refine> ���B�l - <attribute> �A�C�e���̏�� - <card1> �����Ă���J�[�h�A��������Ȃ�255�ő����ȊO�̃A�C�e���ŃL�����̖��O����ꂽ������254 - <card2> �����Ă���J�[�h�A��������Ȃ瑮���Ɛ��̂�����̐���ݒ�B���̂�����̐�(�͈�:0~3)*5*256 + ����(��:0�A��:3�A��:1�A��:4�A�y:2) - <card3> �����Ă���J�[�h�A���������L�����̖��O������A�C�e���̓L����ID�̉���2�o�C�g - <card4> �����Ă���J�[�h�A���������L�����̖��O������A�C�e���̓L����ID�̏��2�o�C�g - - <itemid>��������̏ꍇ�A���̖��O(name,jname)�����A�C�e����ID���g�p���܂��B - �������A�A�C�e������item_db.txt�ȂǂɈˑ����邽�߁A�e�X�g�ړI�ȊO�ł͎g�p���ׂ��ł͂���܂���B - - delitem���� - delitem <itemid>,<num>; - - itemid_num ���l - - <itemid>�Ɏw�肳�ꂽ�A�C�e��ID�����A�C�e����<num>�������܂��B - - getexp���� - getexp <base_exp>,<job_exp>; - - base_exp ���l - job_exp ���l - - <base_exp>�Ɏw�肳�ꂽ������Base�Ɍo���l������܂��B - <job_exp>�Ɏw�肳�ꂽ������Job�Ɍo���l������܂��B - �}�C�i�X�̐����͓K������܂���B - - makepet���� - makepet <petid>; - - petid ���l - - <petid>�Ɏw�肳�ꂽ�A�C�e��ID�����y�b�g�̗����쐬���܂��B - - viewpoint���� - viewpoint <type>,<x>,<y>,<id>,<color>; - - type,x,y,id ���l - color �s�� - - �����s���Ȃ̂ŏڂ��������͂ł��܂��A�~�jMAP�ɓ_�ł���_��\���A�폜���܂��B - type:1,�\���A2,�폜 - - heal���� - heal <hp>,<sp>; - - hp,sp ���l - - <hp>��HP���A<sp>��SP�����܂��B - - itemheal���� - itemheal <hp>,<sp>; - - hp,sp ���l - - <hp>��HP���A<sp>��SP�����܂��Bheal�Ƃ͈Ⴂ����HP��SP�̗ʂ�VIT(SP�̏ꍇINT)�ƃX�L���ɂ�����t���܂��B - - end���� - end; - - �X�N���v�g�̎��s���I�����܂��B - - setoption���� - setoption <string>; - - string ������ - - ���p�F - PC�Ɉȉ��Ŏ����t���i(?)��t���܂��B - 0x0000 - �t���i�폜 - 0x0001 - ? - 0x0002 - �n�C�h(�e�t��) - 0x0004 - ?? - 0x0008 - �J�[�g - 0x0010 - �� - 0x0020 - �y�R�y�R(�i�C�g,�N���Z�C�_�[�̎��̂ݗL��) - 0x0040 - �n�C�h(�e����) - 0x0080 - �J�[�g2 - 0x0100 - �J�[�g3 - 0x0200 - �J�[�g4 - 0x0400 - �J�[�g5 - 0x0800 - �����I�[�N(Sage�̃X�L���A���o�[�X�I�[�L�b�V��������������ԂɂȂ�) - - ��[���ׂď�����Ă���t�������̂ŁA�����w�肵�����ꍇ�ɂ͍��v���w�肵�Ă��������B - - savepoint���� - savepoint <gatname>,<x>,<y>; - - gatname ������ - x,y ���l - - <gatname>�̍��W<x>,<y>���Z�[�u�|�C���g�ɐݒ肵�܂��B - - openstorage���� - openstorage; - - �q�ɂ��J���܂��B - - setcart���� - setcart; - - �J�[�g��t���܂��B - - successrefitem���� - successrefitem <n>; - - n ���l - - ���B�����G�t�F�N�g��\�����܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - failedrefitem���� - failedrefitem <n>; - - n ���l - - ���B���s�G�t�F�N�g��\�����܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - setfalcon���� - setfalcon; - - ���t���܂��B - - setriding���� - setriding; - - �y�R�y�R�ɏ��܂��B - - monster���� - monster <gatname>,<x>,<y>,<mobname>,<mobid>,<num>[,<event>]; - - gatname,mobname ������ - x,y,mobid,num ���l - event ������A�ȗ��� - - <gatname>�̍��W<x>,<y>��<mobname>������<mobid>�Ɏw�肳�ꂽID���������X�^�[��<num>�̏o�������܂��B - <gatname>��this�̏ꍇ�X�N���v�g�����s�����v���C���[������MAP�A - <x><y>��-1�̏ꍇ�A�X�N���v�g�����s�����v���C���[�̍��W�A - <mobname>��--en--�̏ꍇ�p�ꖼ�A--ja--�̏ꍇ���{�ꖼ�A<mobid>��-1�̏ꍇ�����_���B - ���̃����X�^�[��|�����Ƃ�<event>���J�n���܂��B - - announce���� - announce <string>,<flag>; - - string ������ - flag ���l - - <string>���f�l�A�i�E���X�ŕ\�����܂��B - <flag>�͈ȉ��Ɏ����ʂ�ł��B - �G���A�t���O - 0x00 ���ׂĂ̂l�`�o�ɑ��M - 0x01 �����l�`�o - 0x02 ��ʓ� - 0x03 �����̂� - 0x04 �����l�`�o�I - �F�t���O - 0x00 ���F - 0x10 �F - ����t���O - 0x00 ���ɖ��� - 0x08 �C�x���g�p - - �G���A�t���O�ƐF�t���O�Ɠ���t���O�̍��v���w�肵�Ă��������B - - killmonster���� - killmonster <gatname>[,<event>]; - - gatname ������ - event ������A�ȗ��� - - <gatname>�ɑ��݂��郂���X�^�[�����ׂĎE���܂��B - <event>�ɂ���ČĂяo���ꂽ�����X�^�[�̂ݎE�����Ƃ��\�ł��B<event>��All�ɂ���Ƃ��̃}�b�v�ɂ���ꎞ�I�ɏ������ꂽ�����X�^�[��S�ĎE���܂��B - - killmonsterall���� - killmonsterall <gatname> - - gatname ������ - - <gatname>�ɑ��݂��郂���X�^�[�����ׂĎE���܂��Bkillmonster�Ƃ͈���Ă��̃}�b�v�Ɏn�߂���z�u����Ă��������X�^�[�܂őS�ĎE�����Ƃ��ł��܂��B - - - addtimer���� - addtimer <ms>,<event>; - - ms ���l - event ������ - - ���݂̃v���C���[�ɁA<ms>�~���b�o�߂�����<event>���J�n����^�C�}�[���쐬���܂��B - ���̃^�C�}�[�ɂ���Ď��s�����C�x���g�́A���̃v���C���[�̏��ɃA�N�Z�X�ł��܂��B - �v���C���[�����O�A�E�g����ƃ^�C�}�[�͖����ɂȂ邽�ߒ��ӂ��Ă��������B - �A���[�i�}�b�v�ȂǂŎg�p����ꍇ�͂���ł͂Ȃ�NPC�^�C�}�[���g�p���Ă��������B - - deltimer���� - deltimer <event>; - - event ������ - - ���݂̃v���C���[��<event>���J�n����^�C�}�[���������܂��B - - addtimercount���� - addtimercount <event>,<ms>; - - event ������ - ms ���l - - ���݂̃v���C���[��<event>���J�n����^�C�}�[�̊J�n�܂ł̎��Ԃ�<ms>�~���b�lj����܂��B - - initnpctimer���� - initnpctimer [<name>]; - - <name>�Ŏw�肳�ꂽNPC������NPC�^�C�}�[�̒l���O�ɂ��A�J�E���g���J�n���܂��B - name���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - - ����NPC�^�C�}�[�̓~���b�P�ʂ�OnTimerXXXX�Ƃ������x���C�x���g�����s���܂��B - <��> OnTimer1000: <= 1�b��, OnTimer30000: <= 30�b�� - - stopnpctimer���� - stopnpctimer [<name>]; - - <name>�Ŏw�肳�ꂽNPC������NPC�^�C�}�[�̃J�E���g���~���܂��B - name���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - - startnpctimer���� - stopnpctimer [<name>]; - - <name>�Ŏw�肳�ꂽNPC������NPC�^�C�}�[�̃J�E���g���ĊJ���܂��B - name���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - �������initnpctimer�ƈႢ�A�J�E���g��0�Ƀ��Z�b�g���܂���B - stopnpctimer�ƃZ�b�g�Ŏg�p���܂��B - - setnpctimer���� - setnpctimer <tick>[,<name>] - - <name>�Ŏw�肳�ꂽNPC������NPC�^�C�}�[�̃J�E���g��ύX���܂��B - name���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - getnpctimer�𗘗p����A�J�E���g���ł��܂��B - - disablenpc���� - disablenpc <npcname>; - - npcname ������ - - <npcname>���ɂ��܂��B - - enablenpc���� - enablenpc <npcname>; - - npcname ������ - - <npcname>��L���ɂ��܂��B - - mapannounce���� - mapannounce <gatname>,<string>,<flag>; - - gatname,string ������ - flag ���l - - <gatname>�S�̂�<string>���f�l�A�i�E���X�ŕ\�����܂��B - flag:0,���F�����A16,���� - - areaannounce���� - areannounce <gatname>,<x0>,<y0>,<x1>,<y1>,<string>,<flag>; - - gatname,string ������ - x0,y0,x1,y1,flag ���l - - <gatname>��<x0>,<y0>����<x1>,<y1>�͈͓̔��ɑ�<string>���f�l�A�i�E���X�ŕ\�����܂��B - flag:0,���F�����A16,���� - - areawarp���� - areawarp <gatname>,<x0>,<y0>,<x1>,<y1>,<gatname2>,<x>,<y>; - - gatname,gatname2 ������ - x0,y0,x1,y1,x,y ���l - - <gatname>��<x0>,<y0>����<x1>,<y1>�͈͓̔��ɂ���PC��<gatname2>�̍��W<x>,<y>�Ɉړ������܂��B - - areamonster���� - areamonster <gatname>,<x0>,<y0>,<x1>,<y1>,<mobname>,<mobid>,<num>[,<event>]; - - gatname,mobname ������ - x0,y0,x1,y1,mobid,num ���l - event ������A�ȗ��� - - <gatname>��<x0>,<y0>����<x1>,<y1>�͈͓̔���<mobname>������<mobid>�Ɏw�肳�ꂽID���������X�^�[��<num>�̏o�������܂��B - <gatname>��this�̏ꍇ�X�N���v�g���sMAP�A<x><y>��-1�̏ꍇ�����_�����W�A - <mobname>��--en--�̏ꍇ�p�ꖼ�A--ja--�̏ꍇ���{�ꖼ�A<mobid>��-1�̏ꍇ�����_���B - ���̃����X�^�[��|�����Ƃ�<event>���J�n���܂��B - - percentheal���� - percentheal <hp>,<sp>; - - hp,sp ���l - - HP��SP��<hp>%�A<sp>%�����܂��B - - resetstatus���� - resetstatus; - - �X�e�[�^�X�|�C���g�����Z�b�g���܂��B - - resetskill���� - resetskill; - - �X�L���|�C���g�����Z�b�g���܂��B - - statusup���� - statusup <st>; - - st ���l - - <st>�Ŏw�肳�ꂽ��{�X�e�[�^�X�l���A�X�e�[�^�X�|�C���g�������1�グ��B - <st>�� bStr, bVit, bInt, bAgi, bDex, bLuk �Ŏw�肷��B - - statusup2���� - statusup2 <st>,<n>; - - st,n ���l - - <st>�Ŏw�肳�ꂽ��{�X�e�[�^�X�l���A�X�e�[�^�X�|�C���g���������<n>�グ��B - <st>�� bStr, bVit, bInt, bAgi, bDex, bLuk �Ŏw�肷��B - - skill���� - skill <skillid>,<skilllv>,<flag>; - - skillid,skilllv,flag ���l - - <skillid>�Ɏw�肳�ꂽID������LV<skilllv>�X�L�����K�����܂��B - flag:0,�P�v�I�ȃX�L���擾(�X�L���c���[�ɂȂ����͖���)�A1,�ꎞ�I(�͈͕͂s��)�Ȏ擾�A - <skilllv>��0�ɂ���Ƃ��ł��̃X�L����Y�ꂳ���邱�Ƃ��\�ł��B - - waitingroom���� - waitingroom <title>,<limit>[,<event>[,<trigger>]]; - - title ������ - limit ���l - event ������A�ȗ��� - trigger ���l�A�ȗ��� - - <title>���^�C�g���Ƃ��ă`���b�g���[����\�������܂��B - <trigger>�������Ƃ��A<event>�삳���邱�Ƃ��\�ł��B - <trigger>���ȗ������<limit>�̐��l���g�p����܂��B - - delwaitingroom���� - delewaitingroom [<name>] - - name ������A�ȗ��� - - �w�肵��NPC�̃`���b�g���[������܂��B - <name>���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - - disablewaitingroomevent���� - disablewaitingroomevent [<name>] - - name ������A�ȗ��� - - <name>�Ŏw�肵��NPC�̃`���b�g���[���̃C�x���g���ɂ��܂��B - <name>���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - - enablewaitingroomevent���� - enablewaitingroomevent [<name>] - - name ������A�ȗ��� - - <name>�Ŏw�肵��NPC�̃`���b�g���[���̃C�x���g��L���ɂ��܂��B - <name>���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - �܂��A���ɃC�x���g���N����l���ɒB���Ă���ꍇ�A - �����ɃC�x���g�����s���܂��B - - warpwaitingnpc���� - warpwaitingnpc <gatname>,<x>,<y>[,<num>]; - - gatname ������ - x,y,num ���l - - ���߂����s����NPC�̃`���b�g���[���ɓ����Ă���PC�̂����A - <num>�Ŏw�肵���l�����A<gatname>�̍��W<x>,<y>�Ɉړ������܂��B - <num>���ȗ������ waitingroom��<trigger>�Ŏw�肵���l�����g�p���܂��B - - ���[�v�������l���� $@warpwaitingpcnum �ɁA���[�v�������l�̃A�J�E���gID�� - �z�� $@warpwaitingpc �ɃZ�b�g���܂�(�擪����l����)�B - - - emotion���� - emotion <n>; - - n ���l - - <n>�G���[�V�������o���܂��B - - setmapflag���� - setmapflag <gatname>,<flag>; - - gatname ������ - flag ���l - - <gatname>��mapflag��lj����܂��B - <flag>��db/const.txt���Q�Ƃ��Ă��������B - - removemapflag���� - removemapflag <gatname>,<flag>; - - gatname ������ - flag ���l - - <gatname>��mapflag���������܂��B - <flag>��db/const.txt���Q�Ƃ��Ă��������B - - pvpon���� - pvpon <gatname>; - - gatname ������ - - <gatname>��PVP�\MAP�ɂ��܂��B - - pvpoff���� - pvpoff <gatname>; - - gatname ������ - - <gatname>��PVP�s��MAP�ɂ��܂��B - - gvgon���� - gvgon <gatname>; - - gatname ������ - - <gatname>���V�[�Y���[�h�ɂ��܂��B - - gvgoff���� - gvgoff <gatname>; - - gatname ������ - - <gatname>���V�[�Y���[�h�ɂ��܂��B - - setmapflagnosave���� - setmapflagnosave <gatname>,<savegatname>,<x>,<y>; - - gatname,nosavegat ������ - x,y ���l - - <gatname>��mapflag��nosave�A�����Ƃ���<savegatname>,<x>,<y>��ݒ肵�܂��B - - detachrid���� - detachrid; - - NPC�ɃA�^�b�`����Ă���ID���N���A���܂��B - �Ȍ�A�L�����N�^�[����K�v�Ƃ��閽�߂����s�ł��Ȃ��Ȃ�܂��B - - doevent���� - doevent <name>; - - name ������ - - �v���C���[��̂̃C�x���g���N�����܂��B<name>�ɂ̓C�x���g�����w�肵�܂��B - �v���C���[������NPC�Ɖ�b���ȂǂŎ��s�ł��Ȃ��ꍇ�A�L���[�ɓ���A���s�\�ɂȂ�܂ő҂��Ď��s����܂��B - �L���[�̃T�C�Y�͂ƂĂ��������̂ŁA�A���ŋN����ƃC�x���g����������邩������܂���B - ���x���t���C�x���g���w��ł��܂����ANPC�����ȗ��ł��Ȃ��̂Œ��ӂ��Ă��������B - - donpcevent���� - donpcevent <name>; - - name ������ - - �v���C���[���A�^�b�`����Ă��Ȃ�(NPC��̂�)�C�x���g���N�����܂��B - <name>�ɂ̓C�x���g�����w�肵�܂��B�C�x���g�͑����Ɏ��s����܂��B - ���x���t���C�x���g���w��ł��ANPC�����ȗ����邱�ƂŁA�C�x���g���u���[�h�L���X�g�ł��܂��B - �i������NPC�̓������O�̃��x�������s�ł���B �၄"::OnEvent"�j - - callsub���� - callsub <label> - - label ���x�� - - ����X�N���v�g���̃��x��<label>���T�u���[�e�B���Ƃ��Ď��s���܂��B - �T�u���[�e�B�����畜�A����Ƃ���return���߂��g�p���Ă��������B - ���̖��߂�return���߂̎��s�ɂ���Ă͊��Ƃ��Ďg�p���邱�Ƃ��o���܂��B - - callfunc���� - callfunc <func> - - func ������ - - <func>�Œ�`���ꂽ���[�U�[��`�������s���܂��B - ���[�U�[��`�����畜�A����Ƃ���return���߂��g�p���Ă��������B - ���̖��߂�return���߂̎��s�ɂ���Ă͊��Ƃ��Ďg�p���邱�Ƃ��o���܂��B - - return���� - return <retval> - - retval ���l�܂��͕�����A�ȗ��� - - �����ɃT�u���[�e�B���������̓��[�U�[��`�����A�Ăяo�����ɖ߂�܂��B - <retval>�͖߂�l�ŁAcallsub�܂���callfunc�����Ƃ��ČĂяo����Ă���Ƃ��A���̖߂�l���g�p����܂��B - callsub�܂���func�����߂Ƃ��ČĂ�Ă���Ƃ��́A<retval>�͏ȗ����Ă��������B - - ���� - rand�� - rand(<n1>[,<n2>]) - - n1 ���l - n2 ���l�A�ȗ��� - - <n1>�̂ݎw�肳��Ă����ꍇ�A0����<n1>-1�܂ł̐��l�������_���ɑI��ŕԂ��܂��B - <n2>���w�肵���ꍇ�A<n1>����<n2>�܂ł̐��`�������_���ɑI��ŕԂ��܂��B - - getitemname�� - getitemname(<itemid>) - - itemid ���l - - <itemid>�Ɏw�肳�ꂽID�����A�C�e����jname����ŕԂ��܂��B - �Ȃ��A�A�C�e������item_db.txt���Q�Ƃ��܂� - - countitem�� - countitem(<itemid>) - - itemid ���l�܂��͕����� - - <itemid>�Ɏw�肳�ꂽID�����A�C�e���̏�������Ԃ��܂��B - <itemid>��������̏ꍇ�A���̖��O(name,jname)�����A�C�e����ID���g�p���܂��B - �������A�A�C�e������item_db.txt�ȂǂɈˑ����邽�߁A�e�X�g�ړI�ȊO�ł͎g�p���ׂ��ł͂���܂���B - - checkweight�� - checkweight(<itemid>,<num>) - - itemid ���l�܂��͕����� - num ���l - - <itemid>�Ɏw�肳�ꂽID�����A�C�e����<num>�����Ƃ��ł���̂Ȃ��1���A - �ł��Ȃ����0��Ԃ��܂��B - <itemid>��������̏ꍇ�A���̖��O(name,jname)�����A�C�e����ID���g�p���܂��B - �������A�A�C�e������item_db.txt�ȂǂɈˑ����邽�߁A�e�X�g�ړI�ȊO�ł͎g�p���ׂ��ł͂���܂���B - - strcharinfo�� - strcharinfo(<n>) - - n ���l - - �L��������Ԃ��܂��B - n:0,�L�������A1,�p�[�e�B�[���A2,�M���h�� - - getequipname�� - strcharinfo(<n>) - - n ���l - - �����i����Ԃ��܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - getequipisequiped�� - getequipisequiped(<n>) - - n ���l - - �������Ă�����1�A���Ă��Ȃ�������0��Ԃ��܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - getequipisenableref�� - getequipisenableref(<n>) - - n ���l - - ���B�ł���ꍇ��1�A�ł��Ȃ��ꍇ��0��Ԃ��܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - getequipisidentify�� - getequipisidentify(<n>) - - n ���l - - �Ӓ�ς݂̏ꍇ1�A���Ӓ�̏ꍇ0��Ԃ��܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - getequiprefinerycnt�� - getequiprefinerycnt(<n>) - - n ���l - - ���B�̓x������Ԃ��܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - getequipweaponlv�� - getequipweaponlv(<n>) - - n ���l - - ����LV��Ԃ��܂��B�h��̏ꍇ�ɂ�0�A���Ƃ͕���LV�ɑΉ����܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - getequippercentrefinery�� - getequippercentrefinery(<n>) - - n ���l - - ���B��������Ԃ��܂��B - n:1,�������A2,�Z�A3,����A4,�E��A5,��������́A6,�C�A7,�A�N�Z�P�A8,�A�N�Z�Q�A9,�����i�A10,�����i - - getusers�� - getusers(<n>) - - n ���l - - �l����Ԃ��܂��B - n:0,PC�̂���MAP�̑��l���A1,�SMAP�̑��l���i�������O�C���l���j�A8,NPC�̑��݂���MAP�̑��l�� - - getmapusers�� - getmapusers(<gatname>) - - gatname ������ - - <gatname>�ɑ��݂��鑍�l����Ԃ��܂��B - - getareausers�� - getareausers(<gatname>,<x0>,<y0>,<x1>,<y1>) - - gatname ������ - x0,y0,x1,y1 ���l - - <gatname>��<x0>,<y0>����<x1>,<y1>�͈͓̔��ɂ���l����Ԃ��܂��B - - getskilllv�� - getskilllv(<skillid>) - - skillid ���l - - <skillid>�Ŏw�肵��ID�����X�L����LV��Ԃ��܂��B�K�����Ă��Ȃ��ꍇ��0��Ԃ��܂��B - - getcharid�� - getcharid(<n>) - - n ���l - - �L��������ID�ŕԂ��܂��B - n=0 �L����ID - n=1 �p�[�e�B�[ - n=2 �M���h - n=3 �A�J�E���gID - - getpartyname�� - getpartyname(<n>) - - n ���l - - <n>�Ŏw�肵��ID�����p�[�e�B�[����Ԃ��܂��B - - getguildname�� - getguildname(<n>) - - n ���l - - <n>�Ŏw�肵��ID�����M���h����Ԃ��܂��B - - getguildmaster�� - getguildname(<n>) - - n ���l - - <n>�Ŏw�肵��ID�����M���h�̃}�X�^�[�̖��O��Ԃ��܂��B - - getguildmasterid�� - getguildmasterid(<n>) - - n ���l - - <n>�Ŏw�肵��ID�����M���h�̃}�X�^�[�̃L�����N�^�[ID��Ԃ��܂��B - - basicskillcheck�� - basicskillcheck(0); - - battle_athena.conf��basic_skill_check�̐ݒ�l��Ԃ��܂��B0�͈Ӗ��͂���܂���������Ȃ������ꍇ�G���[�ɂȂ�܂��B - basic_skill_check�ƃJ�v���̑q�ɗ��p�����킹��ׂɍ�������ł���ȊO�̋@�\�͂���܂���B�߂������l��0�Ȃ�basic_skill_check��no�A1�Ȃ�yes�ł��B - - getgmlevel�� - getgmlevel(0); - - �v���C���[��GM���x����Ԃ��܂��B - - guildopenstorage�� - guildopenstorage(0); - - �M���h�q�ɂ��J���܂��B - �Ԃ����l��2�Ȃ�M���h�ɏ������ĂȂ��L�����ƌ����Ӗ��� - 1�Ȃ瑼�̃M���h�����o�[���q�ɂ��g�p���̈Ӗ��ł��B - 0�Ȃ琬���I�ɃM���h�q�ɂ��J�����Ƃ̂��Ƃł��B - - getwaitingroomstate�� - getwaitingroomstate(<num>,[<name>]) - - num ���l - name ������A�ȗ��� - - <name>�Ŏw�肵��NPC�̃`���b�g���[���̏�Ԃ�Ԃ��܂��B - <name>���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - <num>�œ����������w�肵�܂��B - - num=0 ���݃`���b�g���[���ɓ����Ă���l���i���l�j - num=1 �`���b�g���[���̌��E�l���i���l�j - num=2 �`���b�g���[���̃C�x���g���N�����l���i���l�j - num=3 �`���b�g���[���̃C�x���g���L�����ǂ����i���l�j - num=4 �`���b�g���[���̃^�C�g���i������j - num=5 �`���b�g���[���̃p�X���[�h�i������j - num=16 �`���b�g���[���̃C�x���g���i������j - num=32 �`���b�g���[�����������ǂ����i���l�j - num=33 �`���b�g���[���ŃC�x���g���N����l�����ǂ����i���l�j - - getnpctimer�� - getnpctimer(<num>[,<name>]) - - num ���l - - <name>�Ŏw�肳�ꂽNPC������NPC�^�C�}�[�̏��܂��B - name���ȗ�����ƁA���߂����s����NPC���ΏۂɂȂ�܂��B - <num>�œ����������w�肵�܂��B - - num=0 ���݂�NPC�^�C�}�[�̃J�E���g�l - num=1 ����NPC�^�C�}�[�����삵�Ă��邩�ǂ��� - num=2 �w��NPC�̃^�C�}�[�C�x���g���x���̑��� - - attachrid�� - attachrid(<num>) - - num ���l - - <num>�Ŏw�肳�ꂽID�̃L�����N�^�[�����s�����X�N���v�g�ɃA�^�b�`���܂��B - �Ȍ�A�L�����N�^�[�Ɋւ��閽�߂��/�ϐ��Ȃǂ͑S�ĐV�����L�����N�^�[���ΏۂɂȂ�܂��B - ����̓X�N���v�g���I��/���f����(close,end,menu,next,input�Ȃǂ̎��s)�܂ŗL���ł��B - ��ɃC�x���g�ŋN�����ꂽ�X�N���v�g���Ń}�b�v�ϐ����g���ĕʃL�����N�^�[�� - �A�^�b�`����̂Ɏg�p���܂��Bgetcharid(3)�ŏ��������A�J�E���gID���g���Ă��������B - �Ȃ��A�f�^�b�`�ɂ�detachrid���߂��g���܂��B - - ���ӂ��ׂ��_�Ƃ��ẮA���̖��߂�PC���A�^�b�`�����ꍇ�Ames,menu,next�Ȃǂ� - �E�B���h�E(��{�^��)���o�閽�߂����s���Ă͂����܂���B - ���肪����NPC�Ɖ�b���̏ꍇ�A�����̖��߂͐��������삵�܂���B - ������߂Ȃǂ����ōς܂���ׂ��ł��B - - ���̊��̓A�^�b�`�ɐ����������ǂ�����Ԃ��܂��B - �U(0)���Ԃ��ė����ꍇ�́A�Y���L�����N�^�[�����݂��Ă��܂���B - - isloggedin�� - isloggedin(<num>) - - num ���l - - <num>�Ŏw�肳�ꂽID�̃L�����N�^�[�����̃}�b�v�T�[�o�[�� - ���O�C�����Ă��邩�ǂ������ׂ܂��B - - getarraysize�� - getarraysize(<variable>) - - variable �ϐ� - - �z��<variable>�̗L���ȃT�C�Y�ׂ܂��B - �����ł̃T�C�Y�͗v�f��0�i������ϐ��ł�"")�łȂ��A - �ő�̗v�f�ԍ�+1 �ɂȂ�܂��B - �z�ł͂Ȃ��v�f�ԍ��t���Ŏw�肷��ƁA - ���Ȃ��Ƃ����̗v�f�܂ł͑S�ėL���ł���Ɖ��肵�܂��B - <��> �z��@hoge�� 1,2,3,4,5 ���Ƃ���ƁA - getarraysize(@hoge)=5, getarraysize(@hoge[10])=10; - - callsub�� - callsub <label> - - callsub���߂����Ƃ��Ď��s���܂��B�ڂ�����callsub���߂����Ă��������B - - callfunc�� - callfunc <func> - - callfunc���߂����Ƃ��Ď��s���܂��B�ڂ�����callfunc���߂����Ă��������B - - ���萔���x�� - -���x�� - if����menu���Ŏg�p���܂��B���̍s����X�N���v�g���J�n���܂��B - - OnInit���x�� - MAP�����[�h���ꂽ�Ƃ��X�N���v�g���J�n���܂��B - - OnInterIfInit���x�� - MAP�T�[�o�[��Inter�T�[�o�[�ɐڑ������Ƃ��Ɏ��s���܂��B - - OnCharIfInit���x�� - MAP�T�[�o�[��Char�T�[�o�[�ɐڑ������Ƃ��Ɏ��s���܂��B - - OnMinuteXX���x�� - ����XX���Ɏ��s���܂��B���l�͏\�i���Q���ł��B - - OnClockXXXX���x�� - ����XX��XX���Ɏ��s���܂��B���l�͏\�i���S���ł��B - - OnHourXX���x�� - ����XX��00���Ɏ��s���܂��B���l�͏\�i���Q���ł��B - - OnDayXX���x�� - ����XX��00��00���Ɏ��s���܂��B���l�͏\�i���Q���ł��B - - OnTimerX���x�� - NPC�^�C�}�[�̃J�E���g��X�ɂȂ����Ƃ��Ɏ��s����܂��B - ����X�̓~���b�P�ʂł��B�����͊W����܂���B - - OnAgitInit���x�� - �M���h��f�[�^�Ɛ苒�M���h��}�b�v�T�[�o�[���� - �������ꂽ�Ƃ��Ɏ��s����܂��B - �M���h��W��NPC�̏������Ɏg�p���܂��B - - OnAgitStart���x�� - �M���h�U��킪�n�܂����Ƃ��Ɏ��s����܂��B - - OnAgitEnd���x�� - �M���h�U��킪�I������Ƃ��Ɏ��s����܂��B - - OnAgitBreak���x�� - �G���y���E����j���Ƃ��Ɏ��s����܂��B - ���̃��x���͔j���v���C���[����̂ɂ��Ď��s����܂��B - - OnAgitEliminate���x�� - �G���y���E���j���A�M���h�̏��L�҂����������Ƃ��� - �Ă�܂��B - - �����ӎ��� - ������Ɛ�������Ă��������""�ň͂��Ă��������B - -4. Error Message - - * Make an error at the time of compile (it is a thing at the time of map server starting). - A place is displayed for the line number of an error. - - unexpected expr end - It is the end of an unexpected formula. - ', ', and';' are in the beginning of a formula. - - unmatch ')' - ')' does not match. - Correspondence of parenthesis'('')' is amusing. - - unexpected newline @ string - It is the new-line which is not expected in a character sequence. - There is a new-line in the middle of a character sequence (surrounded by '"'). - Probably it is a failure of '"' to close. - - unexpected eof @ string - It is the file terminus which is not expected in a character sequence. - The file finished in the middle of the character sequence. - Probably it is a failure of '"' to close. - - unexpected character - unexpected char - It is an unexpected character. - It is thought that the variable etc. is not following a naming rule. - - l14 and l15 is DEPRECATED. use @menu instead of l15. - l14 and l15 are not recommended. Please use @menu instead of l15. - - prefix 'l' is DEPRECATED. use prefix '@' instead. - Prefix'l' is not recommended. Please use '@' instead. - - unmatch ']' - ']' does not carry out an interval. - Correspondence of parenthesis']' is missing. - - expect function - �������҂��Ă��܂��� - ���Ăяo�����Z�q'('�̑O�Ɋ��ȊO�̃V���{��������܂��B - �����炭�������ԈႦ�Ă��܂��B - - expect ',' or ')' at func params - ���̈����ɂ�����','��')'�����҂��Ă��܂��� - �����炭��������','��')'��Y��Ă��܂��B - - func request '(' ')' - ���Ăяo���̊��ʑΉ���� - �����炭�����̐���128���܂����B - - illeagal number of parameters - �p�����[�^�̐����s���ł� - ��/���߃p�����[�^�̌����قȂ�܂��B - �����̌����m�F���Ă��������B - �G���[�ʒu�͑S�Ă̈����̌�ɂȂ�܂��B - - expect command - ���߂����҂��Ă��܂��� - ���߈ȊO�̃V���{�����ˑR�o�����Ă��܂��B - �����炭���ߖ����ԈႦ�Ă��܂��B - - expect ',' or ';' at cmd params - ���߂̈����ɂ�����','��';'�����҂��Ă��܂��� - �����炭��������','��';'��Y��Ă��܂��B - - need ';' - ';'���K�v�ł� - �����炭�����̐���128���܂����B - - ���s���̃G���[ - fatal error ! player not attached! - �v���I�G���[�I�v���C���[���A�^�b�`����Ă��܂���I - - �L�����N�^�[�����ł��Ȃ��C�x���g�Ŏ��s����Ă��� - �X�N���v�g�̒��ŃL�����N�^�[��K�v�Ȗ��߂���A - �ϐ��փA�N�Z�X���܂����Battachrid�����g�����A - �L�����N�^�[��s�v�Ȗ��߂��g�p���Ă��������B - �������́Aattachrid���Őݒ肳�ꂽ��s���ł��B - �Ȃ��A���̃G���[���N����ƒ���ɃR�A��f���Ǝv���܂��B - - NPC��̃C�x���g��announce�����Ƃ��Ƀt���O0x08���w�肵�Ă��Ȃ� - �ꍇ�����̃G���[���ł܂��B - - - illeagal scope string variable. - ������ϐ��̃X�R�[�v���s���ł��B - ���Ή��̃v���t�B�b�N�X�ŕ�����ϐ����g�p����܂����B - �v���t�B�b�N�X���m�F���Ă��������B - - illeagal scope - �X�R�[�v���s���ł��B�z��ϐ����Ή��̃v���t�B�b�N�X�� - ���ϐ��ɔz��ϐ��n�̖��߂����s�����ꍇ�ȂǁB - - not label ! - goto/menu���߂Ń��x�����w�肳���ׂ��Ƃ���� - ���x���ȊO�̃V���{�����w�肳��Ă��܂��B - �������́A���x�����ƕϐ������o�b�e�B���O���Ă��܂��B - - buildin_set: not name - set���߂ő��������ϐ����ł͂���܂���B - - getelementofarray (operator[]): param2 illeagal number - �z��ϐ���[]���̒l���s���ł� - []���̒l��0������128�ȏ�ɂȂ�܂��� - - getelementofarray (operator[]): param1 not name - �z��ϐ���[]�̑O�̃V���{�����ϐ����ł͂���܂���B - - op_2: int&str, str&int not allow. - �W���Z�q�i��r���Z�q�j�ŁA���l�ƕ�����A�������� - ������Ɛ��l���w�肳��܂����B - - infinity loop ! - �X�N���v�g�̎��s���ߐ����Agoto/menu���ߎ��s�� - ��������̂ŁA�������[�v�Ɣ��f���܂����B - �X�N���v�g�̎��s�͋����I�ɒ��f����܂����B - - not function and command ! - �����s/���ߎ��s�����ŁA���ł����߂ł��Ȃ� - �V���{��������܂����B - if���̂Ȃ��ł���\���������ł��B - - return without callfunc or callsub ! - callfunc��callsub����Ă��Ȃ��̂�return���߂����s���܂����B - - stack.sp(?) != default(?) - �X�^�b�N�|�C���^����X�^�b�N�|�C���^�ƈقȂ��Ă��܂��B - ���߂����s�������ʁA�X�^�b�N�|�C���^�������܂����B - ���𖽗߂Ƃ��Ď��s�����\��������܂��B - - -5. Postscript - NPC contained in snapshot was made reference in creating this text. - I appreciate people which created NPC. - -It corrects based on text by asong (2004/3/1). - - |