From b0d9812760e8c41a9a058435621a076edc85d825 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 11 May 2019 17:34:26 -0300 Subject: Do not report hidden GM Game Settings on @ucp --- npc/commands/ucp.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'npc/commands') diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index 87e5bfc64..99257da16 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -143,12 +143,14 @@ function script UserCtrlPanel { mes l("Display daily reward screen: ") + col(l("Enabled"), 2); - // GSET_AUTORECEIVE_COINS - // Enables/Disable autoreceive strange coins - if (!GSET_AUTORECEIVE_COINS) - mes l("Autoreceive Strange Coins: ") + col(l("Disabled"), 1); - else - mes l("Autoreceive Strange Coins: ") + col(l("Enabled"), 2); + if (strcharinfo(2) == "Monster King") { + // GSET_AUTORECEIVE_COINS + // Enables/Disable autoreceive strange coins + if (!GSET_AUTORECEIVE_COINS) + mes l("Autoreceive Strange Coins: ") + col(l("Disabled"), 1); + else + mes l("Autoreceive Strange Coins: ") + col(l("Enabled"), 2); + } if (@unsaved) { mes ""; -- cgit v1.2.3-70-g09d2