summaryrefslogblamecommitdiff
path: root/npc/guilds/storage.txt
blob: 97218fbb1c5f127b18069fbe0b38da98fa0a037c (plain) (tree)

























                                                                                             
// 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;
}