From 371db803633dcc4185e147f5ddff08c7bd5aa613 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Thu, 8 Apr 2010 15:56:50 +1200 Subject: Easter 2010 --- npc/items/restricted_item.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/items') diff --git a/npc/items/restricted_item.txt b/npc/items/restricted_item.txt index adf7aff5..8016b0a8 100644 --- a/npc/items/restricted_item.txt +++ b/npc/items/restricted_item.txt @@ -8,11 +8,11 @@ function script RestrictedItem { if (!@minLvl) set @minLvl, 60; - if (debug || getgmlevel(0) >= @minLvl) end; // If the active character is staff, do nothing. + if (debug || getgmlevel(0) >= @minLvl) return; // If the active character is staff, do nothing. message strcharinfo(0), "This item repells you with extreme force. It does not seem to be meant for you."; unequipbyid @slotId; - if (getgmlevel(0)) end; + 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) + "'."; - end; + return; } -- cgit v1.2.3-70-g09d2