summaryrefslogtreecommitdiff
path: root/world/map/npc/items/restricted_item.txt
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-04-15 11:02:38 -0400
committermekolat <mekolat@users.noreply.github.com>2015-04-30 00:06:06 -0400
commitd1d13e4d05ab27b7b5a9863f21b5e5dc3b7cad8d (patch)
treea68d484908def67cebbde4a59cc152d0300d9f6f /world/map/npc/items/restricted_item.txt
parent757f63bd2ba14072cd88485dae653d59d3df5a89 (diff)
downloadclassic-serverdata-d1d13e4d05ab27b7b5a9863f21b5e5dc3b7cad8d.tar.gz
classic-serverdata-d1d13e4d05ab27b7b5a9863f21b5e5dc3b7cad8d.tar.bz2
classic-serverdata-d1d13e4d05ab27b7b5a9863f21b5e5dc3b7cad8d.tar.xz
classic-serverdata-d1d13e4d05ab27b7b5a9863f21b5e5dc3b7cad8d.zip
use wgm and gmlog
Diffstat (limited to 'world/map/npc/items/restricted_item.txt')
-rw-r--r--world/map/npc/items/restricted_item.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/items/restricted_item.txt b/world/map/npc/items/restricted_item.txt
index c0084408..9bd1c3d5 100644
--- a/world/map/npc/items/restricted_item.txt
+++ b/world/map/npc/items/restricted_item.txt
@@ -13,8 +13,8 @@ function|script|RestrictedItem
message strcharinfo(0), "This item repells you with extreme force. It does not seem to be meant for you.";
callfunc "UnequipLater";
if (getgmlevel()) goto L_Return;
- gmcommand "@wgm Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'.";
- gmcommand "@l Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'.";
+ wgm "Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'.";
+ gmlog "Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'.";
goto L_Return;
L_Return: