diff options
Diffstat (limited to 'npc/guilds/storage.txt')
-rw-r--r-- | npc/guilds/storage.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/guilds/storage.txt b/npc/guilds/storage.txt new file mode 100644 index 000000000..97218fbb1 --- /dev/null +++ b/npc/guilds/storage.txt @@ -0,0 +1,26 @@ +// Moubootaur Legends Script +// Author: +// Jesusalva +// Description: +// Guild Facility - Guild Storage + +guilds,33,28,0 script Guild Storage NPC_NO_SPRITE,{ + .@gid=getcharid(2); + if (getguildlvl(.@gid) < 2) + { + npctalkonce l("Your guild need to have at least level 2 to use storage feature."); + } + else + { + if (guildopenstorage()) + { + npctalkonce l("Someone else is using the guild storage right now. Please wait."); + } + } + end; + +OnInit: + .distance=2; + end; +} + |