From 1f13bfa51c347ca2a7a42f9bda006d8d91c67800 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 1 Jan 2019 23:10:41 -0200 Subject: b() for **bold** text Example: b(l("hello")) → ##BHello##b or ##BOlá##b MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/functions/main.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc') diff --git a/npc/functions/main.txt b/npc/functions/main.txt index a05d07276..ca828b056 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -62,6 +62,10 @@ function script g { return Sex == 0 ? getarg(0) : getarg(1); } +function script b { + return "##B" + getarg(0) + "##b"; +} + function script col { .@color = getarg(1); if (.@color < 0) .@color = 0; -- cgit v1.2.3-70-g09d2