diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-01-22 11:19:30 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-01-22 11:48:13 -0500 |
commit | d63fe32eade4796f75f3f25887868c5167dae8fd (patch) | |
tree | 4a0270eecffd7f2f723fa7e549404b9de6675302 | |
parent | d18d71cbff7209f2bb8a8b82cbb99034111f1a6e (diff) | |
download | serverdata-d63fe32eade4796f75f3f25887868c5167dae8fd.tar.gz serverdata-d63fe32eade4796f75f3f25887868c5167dae8fd.tar.bz2 serverdata-d63fe32eade4796f75f3f25887868c5167dae8fd.tar.xz serverdata-d63fe32eade4796f75f3f25887868c5167dae8fd.zip |
add new link functions
-rw-r--r-- | npc/functions/main.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 7a2ea64d..80548731 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -246,3 +246,23 @@ function script lognbaselvl { return .@ret; } + +function script getquestlink { + return "[@@q" + getarg(0) + "|@@]"; +} + +function script getmonsterlink { + return "[@@m" + getarg(0) + "|@@]"; +} + +function script getpetlink { + return "[@@p" + getarg(0) + "|@@]"; +} + +function script getmercenarylink { + return "[@@M" + getarg(0) + "|@@]"; +} + +function script gethomunculuslink { + return "[@@h" + getarg(0) + "|@@]"; +} |