I'm requesting for an NPC that checks if you are in a guild, and if you are the guild master of the guild.
If you are the guild master, the NPC will give you the following skills:
Approval Lv 1
Guardian Research Lv 1
Guild Extension Lv 10
Battle Orders Lv 1
Regeneration Lv 1
Emergency Call Lv 1
I've tried scripting it myself, but it doesn't give me any skills.
quiz_00,60,14,3 script Guild Skill Giver 789,{
.@GID = getcharid(2);
mes .npc$;
if(!.@GID) {
mes "You are not in a guild.";
close;
}
else if (strcharinfo(0) != getguildmaster(.@GID)){
mes "You are not a Guild Master.";
close;
}
mes "You now have Emergency Call.";
guildskill 10000,1;
guildskill 10004,10;
guildskill 10002,1;
guildskill 10010,1;
guildskill 10011,1;
guildskill 10013,1;
close;
end;
OnInit:
.npc$="[^990000Guild Skill Giver^000000]";
}
It successfully checks if you are in a guild and if you are the guild master, but it doesn't give me any skills.
Question
Zaon
Nvm, I just made an npc that uses @glvl 16 so they can get e-call themselves.
------------------------------------------------------------------------------------
Hello,I'm requesting for an NPC that checks if you are in a guild, and if you are the guild master of the guild.If you are the guild master, the NPC will give you the following skills:Approval Lv 1Guardian Research Lv 1Guild Extension Lv 10Battle Orders Lv 1Regeneration Lv 1Emergency Call Lv 1I've tried scripting it myself, but it doesn't give me any skills.It successfully checks if you are in a guild and if you are the guild master, but it doesn't give me any skills.I've also tried changing
Edited by Zaonbut it still didn't work.Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.