diff options
author | AnnieRuru <jeankof@ymail.com> | 2015-12-17 09:11:51 +0800 |
---|---|---|
committer | AnnieRuru <jeankof@ymail.com> | 2015-12-17 09:11:51 +0800 |
commit | d020d40f4332e17fc0b06634b5c8f90ee30f2aa4 (patch) | |
tree | e5acb5580f8b1458bee49c1266a60404cc393c05 | |
parent | a9b1c77c03b18ba95497714314c3fdb8e2db88b8 (diff) | |
download | hercules-d020d40f4332e17fc0b06634b5c8f90ee30f2aa4.tar.gz hercules-d020d40f4332e17fc0b06634b5c8f90ee30f2aa4.tar.bz2 hercules-d020d40f4332e17fc0b06634b5c8f90ee30f2aa4.tar.xz hercules-d020d40f4332e17fc0b06634b5c8f90ee30f2aa4.zip |
Standardize the comments in Global_Functions.txt
follow up https://github.com/HerculesWS/Hercules/commit/d4832df6929653561e6867149e4ecaa63a860cbe
-rw-r--r-- | npc/other/Global_Functions.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index aef48a489..9fb4949fa 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -45,8 +45,8 @@ // callfunc "F_InsertComma",<number>{,<precision>,<separator>} // Examples: // callfunc("F_InsertComma",7777777) // returns "7,777,777" -// callfunc("F_InsertComma",1000000000,3,","}) // returns "1,000,000,000" -// callfunc("F_InsertComma",1000000000,3,"_"}) // returns "1_000_000_000" +// callfunc("F_InsertComma",1000000000,3,",") // returns "1,000,000,000" +// callfunc("F_InsertComma",1000000000,3,"_") // returns "1_000_000_000" // callfunc("F_InsertComma",1000000000,4) // returns "10,0000,0000" function script F_InsertComma { .@value = getarg(0); @@ -327,16 +327,14 @@ function script Time2Str { return .@Time$; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_ShuffleNumbers": +//== Function F_ShuffleNumbers ============================= // Generate a set of numbers in random order that the numbers are not repeated -// --- callfunc "F_ShuffleNumbers",<start num>,<last num>,<output array>{,<count>}; +// callfunc "F_ShuffleNumbers",<start num>,<last num>,<output array>{,<count>}; // Examples: // callfunc("F_ShuffleNumbers", 0, 5, .@output) // possible output 4,1,3,2,0,5 // callfunc("F_ShuffleNumbers", -5, 1, .@output) // possible output -3,-5,-4,-2,-1,1,0 // callfunc("F_ShuffleNumbers", 0, 100, .@output, 5) // possible output 9,55,27,84,33 // Reminder: Use *freeloop command when appropriate ! -////////////////////////////////////////////////////////////////////////////////// function script F_ShuffleNumbers { deletearray getarg(2); .@static = getarg(0); |