diff options
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r-- | npc/functions/util.txt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 47e07ea72..df12de57b 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -407,17 +407,4 @@ function script mercrank { } -// Randomizer functions by gumi -///////////////////////////////////////////// -// returns one argument randomly -// any( <arg>{, ...<arg>} ) -function script any { - return getarg(rand(getargcount())); -} - -// returns any member of the array -// any_of( <array> ) -function script any_of { - return getelementofarray(getarg(0), getarrayindex(getarg(0)) + rand(getarraysize(getarg(0)) - getarrayindex(getarg(0)))); -} |