diff options
author | gumi <git@gumi.ca> | 2019-10-20 13:40:25 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-10-20 22:20:12 -0400 |
commit | 50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (patch) | |
tree | 16ee679469af6aba9aa8b50b5985508e9715a450 /npc/events/nguild/nguild_managers.txt | |
parent | 9127ead75b9baa4e6372d11cb4ba033651976629 (diff) | |
download | hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.gz hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.bz2 hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.xz hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.zip |
convert scripts to use getguildinfo()
Diffstat (limited to 'npc/events/nguild/nguild_managers.txt')
-rw-r--r-- | npc/events/nguild/nguild_managers.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/events/nguild/nguild_managers.txt b/npc/events/nguild/nguild_managers.txt index a24a0cb15..93fe8b92c 100644 --- a/npc/events/nguild/nguild_managers.txt +++ b/npc/events/nguild/nguild_managers.txt @@ -48,16 +48,16 @@ function script F_GldManager { return; } if (getcharid(CHAR_ID_GUILD) != @GID){ - mes "I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command! Hey! Your not even a part of the guild!!"; + mes "I am here to follow ^5533FF" + getguildinfo(GUILDINFO_MASTER_NAME, @GID) + "^000000's command! Hey! Your not even a part of the guild!!"; mes "Where are the guardians? Destroy these intruders!"; return; } - if (strcharinfo(PC_NAME) != getguildmaster(@GID)){ - mes "You're not ^5533FF" + getguildmaster(@GID) + "^000000! I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command only"; + if (strcharinfo(PC_NAME) != getguildinfo(GUILDINFO_MASTER_NAME, @GID)){ + mes "You're not ^5533FF" + getguildinfo(GUILDINFO_MASTER_NAME, @GID) + "^000000! I am here to follow ^5533FF" + getguildinfo(GUILDINFO_MASTER_NAME, @GID) + "^000000's command only"; return 0; } - mes "Welcome Master ^5533FF" + getguildmaster(@GID) + "^000000 ! I will assist you in any way I can!"; + mes "Welcome Master ^5533FF" + getguildinfo(GUILDINFO_MASTER_NAME, @GID) + "^000000 ! I will assist you in any way I can!"; next; switch (select("Kafra Staff Employment / Dismissal","Enter Treasure Room","Cancel")) { |