summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
AgeCommit message (Collapse)AuthorFilesLines
2015-08-09Deprecated use of numeric NPC view IDs. Use constants instead.Haru1-15/+16
Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Removed deprecated script command checkreHaru1-24/+0
- Follow-up to ca877ecbef0d3fe8df1b69fcaa9e72693c104f02 Signed-off-by: Haru <haru@dotalux.com>
2015-08-05Add optional parameter to warp script command for prevent stoping npc ↵Andrei Karas1-1/+5
scripts after warp.
2015-07-20Fix typo in script_commands.txtDastgir1-1/+1
2015-07-05Added script command `showscript "<message>"{,<GID>};`Emistry1-0/+7
Makes attached player or GID says a message like shouting a skill name, the message will be seen to everyone around but not in chat window.
2015-06-24Charset fix in script_commands.txtDastgir1-1/+1
2015-06-14Updated documentation for the look type of changelook script commandAngelmelody1-10/+13
2015-06-04Implemented strcmp Function.Dastgir1-1/+20
2015-05-16Added charid2rid script commandHaru1-0/+8
- Returns the account ID (RID) for the given character ID. - As per Streusel's request. Signed-off-by: Haru <haru@dotalux.com>
2015-05-16Follow-up to c9f845f4518fc3626d9bc2f7166db5a2ac620a57Haru1-21/+10
- Removed documentation for floor and ceil. - Updated documentation for log10 to the new command's name. - Updated documentation for the math commands to mention that their return value is truncated to int. - Updated documentation for the distance() command to mention what type of distance it returns. Signed-off-by: Haru <haru@dotalux.com>
2015-05-15Added floor(), ceil() and log() functions for usage in scripts.Streusel1-0/+28
2015-05-08Deprecated command checkre().Haru1-0/+8
- The command is deprecated and it will be removed in about a month. Please use the constants RENEWAL, RENEWAL_CAST, RENEWAL_DROP, RENEWAL_EXP, RENEWAL_LVDMG, RENEWAL_EDP, RENEWAL_ASPD instead. Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Removed deprecated command isdayHaru1-9/+0
- Follow-up to b1b1b1aa8edc866a83029081e93d3e7d0f138189 Signed-off-by: Haru <haru@dotalux.com>
2015-05-06Update script_commands.txtMarvin Lamart1-1/+1
2015-05-05Update script_commands.txtMarvin Lamart1-1/+1
Actually, without "(" and ")" it triggers an error when script is loaded
2015-04-11Minor typo fix on setd descriptionDastgir1-1/+1
2015-03-18Added montransform Documentation. Report #8577Dastgir1-0/+11
2015-02-15Follow up 909c0644ce45945c8e3fdc5eb77ebdd1a1cb93d0shennetsind1-2/+0
No longer returns any value. Either it will succeed, or it will stop the script (at which point having a return value has no purpose) Signed-off-by: shennetsind <ind@henn.et>
2015-02-15Updated 'delequip' Script Commandshennetsind1-0/+4
delequip will now stop a script when attempting to delete a item in a position the player has no gear. Special Thanks to Michieru, Haruna. Signed-off-by: shennetsind <ind@henn.et>
2015-01-24Added script command 'channelmes'Haru1-0/+14
Special thanks to Dastgir Signed-off-by: Haru <haru@dotalux.com>
2015-01-23Deprecated command isday().Haru1-8/+12
- The command is deprecated and it will be removed in about a month. Please use isnight() in your custom scripts instead. Signed-off-by: Haru <haru@dotalux.com>
2015-01-23Merged petskillattack and petskillattack2.Haru1-11/+9
Existing custom scripts will need edits. In a nutshell: - Existing calls to `petskillattack` should be changed to specify an extra <number of attacks> argument (after <skill level>), set to 0. - Existing calls to `petskillattack2` should be changed to `petskillattack`, keeping the same arguments. Signed-off-by: Haru <haru@dotalux.com>
2015-01-01Removed deprecated command cmdothernpcHaru1-15/+0
- Follow-up to d22e937e62b3443b74051ecc47ccc3137f9ff5f5 Signed-off-by: Haru <haru@dotalux.com>
2015-01-01Removed deprecated script command aliases enablearena/disablearenaHaru1-15/+0
- Follow-up to 134a4bae206a9c14f7da86095b5555b91ace3035 Signed-off-by: Haru <haru@dotalux.com>
2015-01-01Removed deprecated script command alias 'save'Haru1-10/+0
- Follow-up to e914ab9088250b64c81953aa4e35435aabb26055 Signed-off-by: Haru <haru@dotalux.com>
2014-12-23Removed deprecated commands checkdragon, setdragonHaru1-29/+0
Follow-up to a852bdd Signed-off-by: Haru <haru@dotalux.com>
2014-12-23Removed deprecated commands setmadogear, checkmadogearHaru1-19/+0
Follow-up to b3aef69 Signed-off-by: Haru <haru@dotalux.com>
2014-12-23Removed deprecated commands setriding, checkridingHaru1-25/+0
Follow-up to c6f102e Signed-off-by: Haru <haru@dotalux.com>
2014-12-16Add OnUnTouch event/label into scripts documentation.Andrei Karas1-1/+8
2014-12-16Extend script command getareausers.Andrei Karas1-3/+10
2014-12-16Add script command getnpcclass.Andrei Karas1-0/+10
2014-12-16Add getnpcdir and setnpcdir functions.Andrei Karas1-0/+19
2014-12-16Add script command to set npc click/activate instance.Andrei Karas1-0/+11
New script command: setnpcdistance N Where N is distance in tiles from where npc can be clicked. Add setnpcdistance into docs.
2014-12-10Merge pull request #401 from GmOcean/masterHaruna1-4/+128
A few additional commands, with an edit to *getinventorylist;
2014-12-06Removed extra ? in *equip2 code.GmOcean1-1/+1
2014-12-03Modified *checkbound & *equip2 commands in src/map/script.cGmOcean1-6/+33
Modified the corresponding documentation to match source code.
2014-12-02Removed checkquest commandHaru1-34/+1
- Follow-up to 3ad4a9d Signed-off-by: Haru <haru@dotalux.com>
2014-12-02Removed petheal commandHaru1-12/+1
- Follow-up to 8bb0078 Signed-off-by: Haru <haru@dotalux.com>
2014-12-02Removed jump_zero commandHaru1-22/+0
- Follow-up to bcf7a77 Signed-off-by: Haru <haru@dotalux.com>
2014-11-24Added missing commas ',' to *equip2 example.GmOcean1-1/+1
2014-11-23TyposGmOcean1-1/+1
2014-11-23Fixed whitespaceGmOcean1-2/+2
2014-11-23Added Commands to script_commands.txt and script.cGmOcean1-3/+100
2014-11-02Marked commands 'enablearena' and 'disablearena' as deprecated.Haru1-2/+11
- Note: The commands will be completely removed after about a month. Custom, third party scripts will require updates, in case they were using these commands. Please see the commands documentation. Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Marked command 'cmdothernpc' as deprecated.Haru1-0/+8
- Note: The command will be completely removed after about a month. Custom, third party scripts will require updates, in case they were using this command. Please see the 'cmdothernpc' documentation. Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Marked command 'save' as deprecated.Haru1-1/+10
- Note: The command will be completely removed after about a month. Custom, third party scripts will require updates, in case they were using this command. Please see the 'save' documentation. Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Added min() and max() script commandsHaru1-0/+12
- Special thanks to Streusel, Xgear Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkriding and setriding commandsHaru1-1/+7
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkdragon and setdragon commandsHaru1-1/+7
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkmadogear and setmadogear commandsHaru1-1/+7
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>