summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-14 22:21:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-08-05 03:25:43 -0300
commit99a1e146dfc1dfdab31c9b70f6fb5c2033fcd7cd (patch)
tree58ebeb56a831ddc3445092ff70a8ffc1596eab53
parent31d521e23d0514b67fbbe22ad34530cedb080d65 (diff)
downloadserverdata-99a1e146dfc1dfdab31c9b70f6fb5c2033fcd7cd.tar.gz
serverdata-99a1e146dfc1dfdab31c9b70f6fb5c2033fcd7cd.tar.bz2
serverdata-99a1e146dfc1dfdab31c9b70f6fb5c2033fcd7cd.tar.xz
serverdata-99a1e146dfc1dfdab31c9b70f6fb5c2033fcd7cd.zip
Typos
-rw-r--r--npc/functions/main.txt8
1 files 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.");