summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
AgeCommit message (Collapse)AuthorFilesLines
2011-12-13Small correction of item bonus (bugreport:1878)GodLesZ1-1/+10
- planed to make a HTML document, because tab's are always displayed different Small correction on instance_create() documentation git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-12- Added support for multi-line messages when using mes;epoque111-0/+28
- Added getstatus; script command to retrieve information about a specific, active status effect git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-11Fixxed Mole Card bonus.(bugreport:2230)kenpachi2k111-2/+2
Fixxed The Sign bonus.(bugreport:5116) Fixxed documentation for Guardian() and GuardianInfo script commands.(bugreport:5117) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09- Added a blank line at EOF to make SVN and some compilers happy. ↵brianluau1-10/+10
(bugreport:5107) - Removed trailing tabs in /doc/script_commands.txt - Set svn:eol-style=native for some recently added text files (follow up to r15009). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09- Added ToastOfDoom's String Commands Package. (tid:53411, topic:204976)brianluau1-0/+187
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09- Updated some URLs.brianluau1-8/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15037 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08Added notes about block comments to script_commands.txt.jmanfffreak1-12/+25
Also, changed all occurrences of 'eAthena' to 'rAthena'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06- Added support for additional item information when OnSellItem is calledepoque111-2/+3
- Added information is refine, attribute, identify flag and the item cards git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-01- Reverted r15002 because the Instance script commands were already in docs.brianluau1-87/+1
======================== |7.- Instance commands.| ======================== git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-29Updated doc/script_commands.txt to include instance variables from wikiscript-z3r01-1/+87
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-29Welcome to RAthena! http://rathena.org/board/topic/53704-rathena-the-fork/brianluau1-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15001 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-08Corrected documentation on monster respawn delay1/delay2 fields to reflect ↵ultramage1-7/+4
actual server behavior (followup to r11964). Long ago they meant "delay since last spawn/death"; the current meaning is "fixed base delay + random variance". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-31- Removed .gat from map names.brianluau1-1/+1
- Removed trailing tabs in some warp portal files. - Removed `loginlog` table from convert_engine SQL scripts, because it's in the log database. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-26* Fixed a mistake in RID description in doc/script_commands.txt (since r2402).ai4rei1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-15- Fixed .@GID not being set in Gld_Trea_Spawn, since r13559. (bugreport:5067)brianluau1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-20- Updated strnpcinfo documentation, following r14929.brianluau1-9/+21
- Fixed some script typos. (bugreport:5047, bugreport:5049, bugreport:5056) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-01Fixed 'getitem' documentation typo (stating the optional 3rd argument is ↵ultramage1-2/+2
char id instead of account id). Initial documentation mistakes from r2402, propagated to code documentation in r9599, only partially fixed in r12648. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10- Commiting a bunch of cleanups piled up from the past few weeks/months/years.Skotlex1-1/+8
- Updated unitwarp so that an id of "0" causes the script's rid to be warped. - Updated the Brasilis ontouchNPC warp command to use unitwarp instead. - Signum Crucis's duration is now specified in the skill_cast_db file - Updated @warp/@jump commands so that when an invalid tile is specified, a nearby cell is chosen (rather than using a map-wide random value) - The if(req.weapon) code was broken, since req.weapon is never "0" for a skill. Updated the code so that the requirement of '99' (any weapon) is stored as 0, in order to make the checks effective. - Cleaned up the code for script command warpparty - Fixed the define itemdb_canrefine() - Cleaned up some the status_damage() function - Fixed map_random_dir(), which at times would pick cells that didn't preserve the required distance. - Some aesthetic code cleanups. - Fixed some possible crashes for skills where the code assumes the caster is a player. - Fixed a bunch of idiotic code-snippets that should have embarrassed whoever was responsible for them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-09* Added script command 'getmercinfo' for retrieving information about a ↵ai4rei1-1/+24
mercenary of an online character. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-30* Fixed script command 'warpguild' looking for an attached player even when ↵ai4rei1-1/+10
it is not needed (bugreport:4941, since r2674, related r14840). - Documented special map names recognized by the command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-29* Updated script commands 'npcshopitem', 'npcshopadditem' and ↵ai4rei1-4/+7
'npcshopdelitem' to support cashshops as well (bugreport:4928). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-08* Updated/revised description of instance-related script commands ↵ai4rei1-31/+77
(bugreport:4880). - Fixed 'instance_create' would return -4 (party already instancing) when the requested party was not found. - 'instance_create' return value -2 now means 'party not found' rather than 'missing parameter'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-27* Fixed description for script command 'itemheal' claiming, that this ↵ai4rei1-10/+8
command is responsible for potion visual effects which it is not (item-use causes the client to display these) (since r2397). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-06- Changed 'specialeffect' when <send_target> is SELF, it will display the ↵brianluau1-5/+7
effect to the attached RID (if there is one) instead of the npc. (topic:243842) - Changed 'movenpc' to accept an optional argument for direction. (topic:206973) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-05- Completed L0ne's 2007 request for 'waitingroom' to support required zeny ↵Kisuka1-4/+11
and level. - Updated NPC files which required the waitingroom update. - Added Poring War script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-22* Documentation updates and fixes.ai4rei1-8/+28
- Added documentation for script commands 'bg_getareausers' and 'bg_get_data' (bugreport:3034). - Fixed documentation for script command 'waitingroom2bg_single' (bugreport:4770, since r14373). - Documented optional parameter 'npc name' for script command 'waitingroom2bg'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-13* Script commands documentation updates.ai4rei1-6/+36
- Added missing description for script command 'cooking' provided by Masao (bugreport:3372, follow up to r13628). - Fixed wrong item levels being listed in the description to script command 'produce'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-06* Implemented search store info system (aka. vending and buying store ↵ai4rei1-1/+23
search) together with related items. - Requires 2010-08-03aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19* Implemented buying store system (aka. reverse vending, purchase shop) ↵ai4rei1-1/+16
together with related skill and items, without NPCs. - For SQL apply upgrade_svn14713_log.sql to upgrade tables `picklog` and `zenylog`; for TXT no action is necessary. - Requires 2010-04-20aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-12- Fixed the cutin example in script_commands.txtbrianluau1-1/+1
- Updated TortoiseSVN and eAthena SVN links in readme.html git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-06* Fixed script command 'deletearray' deleting incorrect amount of array ↵ai4rei1-6/+3
elements from arrays with empty elements (bugreport:4628). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-17* Spellchecked script_commands.txt.ai4rei1-174/+176
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Updates to the playBGM functionality (since r14335).ai4rei1-10/+10
- Removed impossible condition in playBGM script command (from soundeffect). - Removed unused code (retrieving of a bl) in playBGMall (from soundeffectall). - Made playBGMall default to 'entire server' when both map name and coordinates are omitted instead of printing an error. - Updated documentation for playBGM and playBGMall to match actual behavior. - Removed unused parameter 'bl' in clif_playBGM. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-08* Applied some script command documentation updates and fixes as already ↵ai4rei1-139/+127
done inside the wiki. - Updated description for 'next', 'return', 'attachrid', 'detachrid', 'itemskill', 'openstorage', 'skilleffect', 'donpcevent', 'day', 'night', 'atoi' and 'axtoi' to resolve inaccuracies, missing information or unverified behavior. - Clarified the purpose of the 'jump_zero' and 'getelementofarray' script commands. - Fixed 'changebase' stating, that it only works in item scripts (since r2402). - Fixed 'kickwaitingroomall' stating, that it is not properly linked into the script engine, thus not working (since r13732). - Updated the description for 'cutin' so that it does not give the impression, that the client is able to display multiple illustrations at once, and being less confusing about the maximum size of illustrations. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14570 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Resolved missing script documentation (bugreport:4578).ai4rei1-0/+17
- Added documentation for bonus bAutoSpellOnSkill (follow up to r13596). - Added documentation for script command progressbar (follow up to r14024). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26* Some updates and fixes to script command documentation. [Ai4rei]ai4rei1-36/+185
- Fixed small inaccuracy in description for homevolution (bugreport:125). - Added ~AnnieRuru~'s fixes to item scripts, variables, and commands addtimer and addnpctimer (bugreport:373). - Fixed documentation for function command in regard of passed arguments and return value. (bugreport:373). - Simplified description for getusers, by hiding internal mechanics of the command, which are irrelevant to a scripter (bugreport:2545). - Added description for setfont and mercenary-related commands (bugreport:3034). - Added documentation for ?: operator and "global" labels provided by Gepard (bugreport:3650). - Added documentation for operators -, ~ and ! (bugreport:3650). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Added script command pushpc, which is required by newer scripts.ai4rei1-0/+18
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-13- Fixed a typo in abra_db.txt (bugreport:4548)brianluau1-1/+1
- Fixed a weight check in Level 4 Weapon Quest. (bugreport:4533) - Removed a duplicate if() in battle.c, follow up to r14381. (bugreport:4549) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Updated script doc to appropriately describe the effects of close/close2 ↵Paradox924X1-5/+5
when used without a window on screen. (bugreport:898) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-21 * Removed unused 'indoors' mapflag (follow-up to r3729).Gepard1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-18- Fixed some small typos.brianluau1-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-14* Quest log kill count now updated properly. (Added from topic 253813)L0ne_W0lf1-1/+2
* More battleground editing, and some bug fixes. - * ALL BATTLEGROUNDS ARE NOW ACTIVE BY DEFAULT. PLEASE CONTINUE TESTING * - Rewrote the Badge Exchange NPC in bg_common.txt, is official now. - Other changes to the bg_common folder, including disabled GM NPC. - Completely rewrote Flavius for the most part, from ground up. - Moved old Flavius battlegrounds to /custom/battleground folder. - Restored original bg_common, and KVM to /custom/battleground - Fixed wall bugs in Tierra Gorge, and added an oninit to the timers. - Other minor tweaks to both Tierra Gorge and KVM scripts. - Fixed the pseudo-cooldown on KVM not working properly, I hope. - Added global time2str function which will be used later in Endless tower. * Applied Epoque's mapflag clean up, which removes flags from scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-11* Documented Battleground commands with as much information as I've got.L0ne_W0lf1-2/+129
* Another rather large overhaul of the battlegrounds. - in bg_common.txt, stripped out several more NPCs, split them off. - Most of the NPCs in bg_common.txt are now official Aegis versions. - Completely rewrote Tierra Gorge for the most part, from ground up. - Moved old Tierra Valley battlegrounds to /custom/battleground. - Added Tierra scripts, Flavius, and bg_common to scripts_athena. - Tierra, KvM, and bg_common scripts are now enabled by default. - To use custom Flavius, you must enable /flavius/flavius_enter.txt - * TIERRA GORGE AND KVM BOTH REQUIRE TESTING * git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-03* A rather large overhaul of the battlegrounds.L0ne_W0lf1-11/+6
- in bg_common.txt, stripped out KvM npcs, fixed coordinates. - Needs to be tested, none of the BG files are on by default. - Created subfolder battleground/KvM/ which now holds KVM files. - Added kvm_enter.txt, which warps players to the waiting rooms. - Added kvm_item_pay.txt, which holds the point redemption NPC. - Made the KvM battlegrounds work closer to official, needs work. * Corrected variable typos in the acolyte arena. (bugreport:4374) * Corrected donpcevent typo in the party arena. (bugreport:4374) * Added two global functions which will return equip data as strings. - F_GetWeaponType: returns the type of weapon by 'look', (ie "Dagger") - F_GetArmorType: returns the kind of armor via 'equip loc'. (ie "Armor") * Fixed duplicate documentation for getitemslot. (bugreport:4362) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14369 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Updated specialeffect2 to accept player names. (follow up to r14353)L0ne_W0lf1-2/+7
* Bascilica now allows boss-flagged monsters to knock you back as per official. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Follow up to r13895, added a battle.conf setting to control if ranges ↵L0ne_W0lf1-1/+1
should be checked with autocasts. 'autospell_check_range', by default is set to no, as this is official behavior. This does not affect autospellwhenhit. * Sonic Blow autocast now stops players attacking when it triggers. It's possible there is more depth to this on official servers, and should 'stop' attacking on regular casts as well. It appears so far that this is the only skill that behaves this way. * Modified the default value for homunculus_auto_vapor in source to 1. * pvp_points are no longer calculated in the gvg_dungeon flagged maps. * Corrected a view ID and an equip location in the item database. (bugreport:4330) * Corrected a typo in the DTS_Warper script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-22* Added support for NPC names in the 'specialeffect' script command, go go ↵L0ne_W0lf1-1/+14
copy/paste! * Updated several NPCs to use the updated specialeffect command, updated more NPCs to use the updated emotion command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-18Added support for NPC/PC names in 'emotion' script command. (topic:249193)Gepard1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-15- Fixed some item script typos from r14332. (bugreport:4312)brianluau1-2/+7
- Removed an extra tab from r14342. (bugreport:4314) - Clarified documentation about 'getinventorylist' (bugreport:4279) and fixed a small typo. (bugreport:4300) - Fixed occurances of PcName in quests_13_1, quests_ein, and The_Sign_Quest. (bugreport:4302). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-09* Added support for packet 0x7fe which changes the bgm temporarily for a ↵Yommy1-0/+19
single player. * Added 2 script commands, playBGM and playBGMall, documented use in doc/script_commands.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14335 54d463be-8e91-2dee-dedb-b68131a5f0ec