diff --git a/config/scripts.cfg b/config/scripts.cfg index 2ebdbf83..a35d3aa9 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -230,11 +230,11 @@ toggleshowmap = [ showmap 1; onrelease [ showmap 0 ] ] sbdns = ""; sbport = ""; sbdesc = ""; sbmsg = ""; sbpwd = "" sbconnect = [ sbdns = $arg1; sbport = $arg2; sbdesc = $arg7; sbpwd = ""; sbmsg = "" - if (>= $arg6 1) [ - sbmsg = "You are banned from this server."; showmenu "password required" + if (= $arg5 1) [ + sbmsg = "This server is set to private."; showmenu "password required" ] [ - if (= $arg5 1) [ - sbmsg = "This server is set to private."; showmenu "password required" + if (>= $arg6 1) [ + sbmsg = "You are banned from this server."; showmenu "password required" ] [ if (= $arg4 1) [ sbmsg = "This server is password-protected."; showmenu "password required"