From 9501edb5c361f264d2c13a326f79c97f852760d4 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Mon, 15 Mar 2021 12:32:04 -0500 Subject: [PATCH] Add colours to some messages --- scripts/server/job.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/server/job.js b/scripts/server/job.js index 2d3d57da..6a1e7169 100644 --- a/scripts/server/job.js +++ b/scripts/server/job.js @@ -343,7 +343,7 @@ function takeJobCommand(command, params, client) { } if(getPlayerCurrentSubAccount(client).job > AG_JOB_NONE) { - messagePlayerError(client, "You already have a job! Use /quitjob to quit your job."); + messagePlayerError(client, `[#FFFFFF]You already have a job! Use [#AAAAAA]/quitjob [#FFFFFF]to quit your current job.`); return false; } @@ -353,7 +353,7 @@ function takeJobCommand(command, params, client) { } takeJob(client, closestJobLocation.jobIndex); - messagePlayerSuccess(client, "You now have the " + toString(jobData.name) + " job"); + messagePlayerSuccess(client, `[#FFFFFF]You now have the [#FFFF00]${jobData.name} [#FFFFFF]job`); return true; }