diff options
author | Freeyorp <Freeyorp101@hotmail.com> | 2010-04-08 15:56:50 +1200 |
---|---|---|
committer | Freeyorp <Freeyorp101@hotmail.com> | 2010-05-24 23:33:29 +1200 |
commit | 371db803633dcc4185e147f5ddff08c7bd5aa613 (patch) | |
tree | 7a77f958c42be5bef16c35a077e3fd536e5273bb /npc/items | |
parent | f0a5ca4865f1600934b509812799ccd17147d413 (diff) | |
download | serverdata-371db803633dcc4185e147f5ddff08c7bd5aa613.tar.gz serverdata-371db803633dcc4185e147f5ddff08c7bd5aa613.tar.bz2 serverdata-371db803633dcc4185e147f5ddff08c7bd5aa613.tar.xz serverdata-371db803633dcc4185e147f5ddff08c7bd5aa613.zip |
Easter 2010v2010.04.08
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/restricted_item.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |