From 99a1e146dfc1dfdab31c9b70f6fb5c2033fcd7cd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 May 2020 22:21:10 -0300 Subject: Typos --- npc/functions/main.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 2ca7b1a4..34468237 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -233,7 +233,7 @@ function script validacc { // We failed; Maybe we can do something about it? if (debug) { ##VAULT[0]=getcharid(3); - consolemes(CONSOLEMES_ERROR, "Account %d has no vault index. Debug environment detected, automatically assigning one...", getcharid(3)); + consolemes(CONSOLEMES_WARNING, "Account %d has no vault index. Debug environment detected, automatically assigning one...", getcharid(3)); return true; } // Nothing to be done about it; I dunno what sort of env this is! @@ -274,10 +274,10 @@ function script setv { .@id=getarg(2, ##VAULT[0]); // Hard Fail if (.@id <= 0) { - announce "ERROR: getv."+.@v$+" failed - Sysadmin help required.", bc_all|bc_npc; - channelmes("#irc", "CRITICAL ERROR: Invalid Account (getv."+.@v$+")"); + announce "ERROR: setv."+.@v$+" failed - Sysadmin help required.", bc_all|bc_npc; + channelmes("#irc", "CRITICAL ERROR: Invalid Account (detv."+.@v$+")"); if (playerattached()) { - dispbottom "A critical error happened in getv."+.@v$+" function. This error is fatal, we halt execution."; + dispbottom "A critical error happened in setv."+.@v$+" function. This error is fatal, we halt execution."; consolemes(CONSOLEMES_ERROR, "Account %d has no vault index. This error is fatal, script execution halted.", getcharid(3)); } else { consolemes(CONSOLEMES_ERROR, "Vault function called from script without a valid vault account ID. This error is fatal, script execution was halted."); -- cgit v1.2.3-70-g09d2