From 550816c7339213a501339dda64cdf919bb776cda Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 23 May 2019 19:00:45 -0300 Subject: col() can now be used without arguments. It'll then default to color 9. --- npc/functions/main.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3-70-g09d2