summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-23 19:00:45 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-23 19:00:45 -0300
commit550816c7339213a501339dda64cdf919bb776cda (patch)
tree04cf793c279339cecd50a2a925ecf160d93f7231 /npc/functions/main.txt
parenta53e976c11b147eb05347aa7136143e25c25d26b (diff)
downloadserverdata-550816c7339213a501339dda64cdf919bb776cda.tar.gz
serverdata-550816c7339213a501339dda64cdf919bb776cda.tar.bz2
serverdata-550816c7339213a501339dda64cdf919bb776cda.tar.xz
serverdata-550816c7339213a501339dda64cdf919bb776cda.zip
col() can now be used without arguments. It'll then default to color 9.
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 3568f5f92..3ac90ac61 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -64,7 +64,7 @@ function script b {
}
function script col {
- .@color = getarg(1);
+ .@color = getarg(1,9);
if (.@color < 0) .@color = 0;
if (.@color > 9) .@color = 9;
return "##" + .@color + getarg(0) + "##0";