summaryrefslogtreecommitdiff
path: root/npc/other/Global_Functions.txt
diff options
context:
space:
mode:
authorEmistry Haoyan <Equinox1991@gmail.com>2017-03-04 00:03:18 +0800
committerEmistry Haoyan <Equinox1991@gmail.com>2017-03-05 02:22:36 +0800
commit70ac738138ec2d3c48faccab6f1cde7b1a014516 (patch)
tree1dbde0e57787c9ea36953f8fabde43e5511c0a9c /npc/other/Global_Functions.txt
parent9fba7e8c5966bb0aa5ce1c31ebe5cec96180e1d5 (diff)
downloadhercules-70ac738138ec2d3c48faccab6f1cde7b1a014516.tar.gz
hercules-70ac738138ec2d3c48faccab6f1cde7b1a014516.tar.bz2
hercules-70ac738138ec2d3c48faccab6f1cde7b1a014516.tar.xz
hercules-70ac738138ec2d3c48faccab6f1cde7b1a014516.zip
Update Global Function - Remove F_Sex
- not using in any script, could be easily replace by simply if-else condition.
Diffstat (limited to 'npc/other/Global_Functions.txt')
-rw-r--r--npc/other/Global_Functions.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index f6068d598..544e3a672 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -156,16 +156,6 @@ function script F_Rand {
return getarg(rand(getargcount()));
}
-//== Function F_Sex ========================================
-// Returns 1st argument if female, 2nd argument otherwise
-// Example: mes callfunc("F_Sex","What a beautiful lady!","What a handsome man!");
-function script F_SexMes {
- if (Sex == SEX_MALE)
- return getarg(0);
- else
- return getarg(1);
-}
-
//== Function F_Hi =========================================
// Returns random HELLO message
function script F_Hi {