Age | Commit message (Collapse) | Author | Files | Lines |
|
- getitemname can return "null"
- getmapusers can return -1
and fix the bad ... misleading global function example
|
|
- Follow-up to 3bd77ffc0daca508352834add828766490075aee
- The names were too generic (not namespaced), and were easily clashing
with custom (and potential future official) constants or variables.
- Constants are now prefixed with a 'GETTIME_' namespace:
- GETTIME_SECOND
- GETTIME_MINUTE
- GETTIME_HOUR
- GETTIME_WEEKDAY
- GETTIME_DAYOFMONTH
- GETTIME_MONTH
- GETTIME_YEAR
- GETTIME_DAYOFYEAR
- Fixed some excessive (and some times incorrect) parentheses in
various scripts using gettime().
- Updated documentation.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The commands queueadd, queueremove, queueopt, queuedel and qiclear
now all return true (success) or false (failure). - Taken/extended
from AnnieRuru's PR #847.
- The constants HQO_OnDeath, HQO_OnLogOut, HQO_OnMapChange were renamed
to QUEUEOPT_DEATH, QUEUEOPT_LOGOUT, QUEUEOPT_MAPCHANGE respectively.
- The name of the variable @QMapChangeTo$ used during the
QUEUEOPT_MAPCHANGE event has been renamed to @Queue_Destination_Map$.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- also add documentation for it
|
|
- Follow-up to 918b1123963ac2f91a4d074b092ceef1db71b4e8, a9042bf0bee2d2453058b22973bea8f335c5a201
- Thanks to Dastgir
Signed-off-by: Haru <haru@dotalux.com>
|
|
constant for gettime( <type> )
constant for Weekday and Month.
|
|
|
|
|
|
Corrected sleep/sleep2 parameter list.
Changed bg_join_team return values.
|
|
This reverts commit c3ce0fb9b04d4c51d632c21f24f7a348c2681bf2.
|
|
This reverts commit 1bd8e9d50ed6de9433c3d6ccb842491cdafcd0a1.
|
|
type 0 - return number of users in the waiting room and account_id list
stored in $@chatmembers[]
type 34 - Minimum Base Level to enter waiting room.
type 35 - Maximum Base Level to enter waiting room.
type 36 - Minimum Zeny to enter waiting room.
|
|
The command will display the message on the NPC that name specified in
the parameter.
Useful in quest script that required a lot of different NPC to talk at
the same time.
Especially instances script.
|
|
isequipped() and isequippedcnt() support not only card id, but also
support any item id.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to ca877ecbef0d3fe8df1b69fcaa9e72693c104f02
Signed-off-by: Haru <haru@dotalux.com>
|
|
scripts after warp.
|
|
|
|
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.
|
|
|
|
|
|
|
|
- Returns the account ID (RID) for the given character ID.
- As per Streusel's request.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- 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>
|
|
|
|
- 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>
|
|
- Follow-up to b1b1b1aa8edc866a83029081e93d3e7d0f138189
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Actually, without "(" and ")" it triggers an error when script is loaded
|
|
|
|
|
|
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>
|
|
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>
|
|
Special thanks to Dastgir
Signed-off-by: Haru <haru@dotalux.com>
|
|
- 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>
|
|
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>
|
|
- Follow-up to d22e937e62b3443b74051ecc47ccc3137f9ff5f5
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to 134a4bae206a9c14f7da86095b5555b91ace3035
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to e914ab9088250b64c81953aa4e35435aabb26055
Signed-off-by: Haru <haru@dotalux.com>
|
|
Follow-up to a852bdd
Signed-off-by: Haru <haru@dotalux.com>
|
|
Follow-up to b3aef69
Signed-off-by: Haru <haru@dotalux.com>
|
|
Follow-up to c6f102e
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
|
|
New script command: setnpcdistance N
Where N is distance in tiles from where npc can be clicked.
Add setnpcdistance into docs.
|
|
A few additional commands, with an edit to *getinventorylist;
|
|
|
|
Modified the corresponding documentation to match source code.
|