summaryrefslogtreecommitdiff
path: root/npc/commands/grantpower.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/grantpower.txt')
-rw-r--r--npc/commands/grantpower.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/commands/grantpower.txt b/npc/commands/grantpower.txt
index 1f867f6e4..2141495d6 100644
--- a/npc/commands/grantpower.txt
+++ b/npc/commands/grantpower.txt
@@ -57,6 +57,7 @@ OnCall:
if (attachrid(.@id)) {
getitembound .@ite, 1, 1; // Account bound or char bound? (1 or 4)
dispbottom l("You received the @@ from @@.", getitemlink(.@ite), strcharinfo(0, "someone", .@ori));
+ consoleinfo("%s is the new owner for the %s.", strcharinfo(0), getitemname(.@ite));
detachrid();
attachrid(.@ori);
delitem .@ite, 1;
@@ -89,6 +90,7 @@ function legendaryAPIWarning {
.@nb = query_sql("SELECT email FROM `login` WHERE `account_id` == "+.@aid+" LIMIT 1", .@email$);
.@msg$=sprintf("[\"%s\", \"Good evening!\nYou have been inactive for a week on Moubootaur Legends.\n\nYou are currently possessing a Legendary Weapon.\nIf you do not login within seven days, your legendary weapon will be returned so the player community can obtain it again.\n\nYour TMW2 Team\", \"Legendary item expiration notice\"]", .@email$);
debugmes .@msg$;
+ consoleinfo("%d notified for Legendary weapon inactivity. (L:2)", .@aid);
api_send(API_SENDMAIL, .@msg$);
return;
}
@@ -96,6 +98,7 @@ function legendaryAPIWarning {
function legendaryRodexWarning {
.@cid=getarg(0);
rodex_sendmail(.@cid, "Legendary Weapon", "Inactivity Warning", "You have not logged in the past 2 days. Shall you fail to login for 15 days, the weapon will be destroyed!");
+ consoleinfo("%d notified for Legendary weapon inactivity. (L:1)", .@cid);
return;
}