From c4430fb3b870ac2def588efe638abba1dbcdf3a9 Mon Sep 17 00:00:00 2001 From: remoitnane Date: Sat, 14 Aug 2010 12:10:48 -0700 Subject: Update scripts to reflect gmcommand's simplification If you are using mainline TMW-eAthena, you will have to update your scripts as well. Signed-off-by: Chuck Miller --- npc/items/restricted_item.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/items') diff --git a/npc/items/restricted_item.txt b/npc/items/restricted_item.txt index 4ce1d096..7d8e96ab 100644 --- a/npc/items/restricted_item.txt +++ b/npc/items/restricted_item.txt @@ -12,7 +12,7 @@ function script RestrictedItem { message strcharinfo(0), "This item repells you with extreme force. It does not seem to be meant for you."; unequipbyid @slotId; if (getgmlevel(0)) return; - gmcommand strcharinfo(0) + " : @wgm Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'."; - gmcommand strcharinfo(0) + " : @l Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'."; + gmcommand "@wgm Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'."; + gmcommand "@l Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'."; end; } -- cgit v1.2.3-70-g09d2