• Due to recent spam attacks that heavily used compormised accounts we did reset all user passwords, AGAIN, if it happens and your account got compromised again due to re-used passwords your account will be perma-banned.

function

  1. P

    doubt about a function

    Hello guys! I want that when the pet evolves immediately it saves the character's inventory and that it appears without delay in the phpmyadmin database. So not losing data. I used chrif -> (sd, 0), but I was unable to save even appearing on the console, it is missing the item that I tried...
  2. Mumbles

    identifyall()

    Function: identifyall() Quick function to complement commit #24c4d53.   Full version: Identifies all unidentified items in user's inventory and returns the number of items identified. Quick-use version: Identifies all unidentified items in user's inventory without returning any additional...
  3. AnnieRuru

    ITEML function

    Credits goes to Cydh and members at opencore Download : 1.1 script item link system, shift-click on the item to display the item description thanks to Cydh posting the topic, I also get a crack on the formula, although this is a script function ... well not a script command like cydh did...
  4. meko

    Date and Time functions v1

    This script provides functions to easily calculate date and time. More functions might be added in the future. now() a shorthand function to get the current time > returns the number of seconds elapsed since the Unix epoch now() // => 1497119219 (example, increments every second)...
  5. meko

    Date and Time functions

    View File Date and Time functions This script provides functions to easily calculate date and time. More functions might be added in the future. now() a shorthand function to get the current time > returns the number of seconds elapsed since the Unix epoch now() //...
  6. bWolfie

    [Function] Ordinal Suffix

    Ordinal Suffix Function File Name: Ordinal Suffix File Submitter: Myriad File Submitted: 5 June 2017 File Category: Quests, Shops, Functions & Algorithms Releases Ever been constructing a string and wanted to turn 1 into 1st? Or 2 -> 2nd? Well, there is now an answer! I call it 'Ordinal...
  7. meko

    Array manipulation functions v10

    This script provides various array manipulation functions, and more might be added in the future. All of those functions (except the arithmetic ones) work with both integer and string arrays. The start of the array is always implicitly index 0, unless an index is specified, ie @array[index]...
  8. meko

    Array manipulation functions

    View File Array manipulation functions This script provides various array manipulation functions, and more might be added in the future. All of those functions (except the arithmetic ones) work with both integer and string arrays. The start of the array is always...
  9. K

    failed npc->checknear test.

    I made an item call a function which have player interaction to choose on a menu but it gets the error npc_scriptcont: failed npc->checknear test. Heres an example of it: Item id of Knife -> 1202 with script on it as: callfunc "getSkill"; and the gist of the function of: function...
  10. E

    [Function] random item/variable

    File Name: [Function] random item/variable File Submitter: Hirist File Submitted: 09 Sep 2016 File Category: Quest, Shops, Functions & Algorithms Origanal post: http://herc.ws/board/topic/6541-function-random-itemvariable/ Author: Dastgir Just fix some bug and reup. Click here to...
  11. E

    [Function] random item/variable 1.2

    Origanal post: http://herc.ws/board/topic/6541-function-random-itemvariable/ Author: Dastgir Just fix some bug and reup.
  12. latheesan

    Set the array variable value to value returned by a function

    I have the following script: // Main Script- script L_Test -1,{ // Configuration set .useLastMAC,0; // When player logins into game OnPCLoginEvent: // Load account info setarray @accountInfo$,callfunc("L_GetAccountInfo"); debugmes "[OnPCLoginEvent] account_id = " + @accountInfo$[0]...
  13. D

    [Function] random item/variable 1.0

    This Function does something which is useful for some scripts. This function gives you item or adds/substract the variable value. Example: mes "Random between 7227,1 and 502,2 and 7227,2"; callfunc "rand_add",1,7227,1,502,2,7227,2; next; mes "Random between 1 Cash Points and 2 PvP Points"...
  14. D

    [Function] random item/variable

    File Name: [Function] random item/variable File Submitter: Dastgir File Submitted: 23 Jul 2014 File Category: Quest, Shops, Functions & Algorithms This Function does something which is useful for some scripts. This function gives you item or adds/substract the variable value. Example...
  15. Mumbles

    mumble()

    Function: mumble() Description: Requests input of randomized string from user. Returns true on success and false on failure. Four difficulty levels are available; each level inherits the previous one(s). Example Usage: https://github.com/datmumbles/Scripts/raw/master/sample/mumbletest.txt...
  16. Mumbles

    getcharname()

    Function: getcharname() Description: Return the name belonging to the character ID referenced.   Example usage: Utility: Account Remover Download: https://github.com/datmumbles/Scripts/raw/master/func/getcharname.txt
Back
Top