sbconnect & match mastermode

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6429 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2011-05-14 14:34:25 +00:00
parent 11fc99f568
commit 1ccc95b328
+2 -2
View File
@@ -200,7 +200,7 @@ toggleshowmap = [ showmap 1; onrelease [ showmap 0 ] ]
// arg1 IP, arg2 port,
// arg3 1: server full
// arg4 1: password protected
// arg5 1: private mode
// arg5 1: private mode, 2: match mode
// arg6 1: banned, 2: blacklisted 3: both
// arg7 "server description"
// TODO: interpret a#3,4,5,6 [ft:any1:2010apr04]
@@ -208,7 +208,7 @@ toggleshowmap = [ showmap 1; onrelease [ showmap 0 ] ]
sbdns = ""; sbport = ""; sbdesc = ""; sbmsg = ""; sbpwd = ""
sbconnect = [
sbdns = $arg1; sbport = $arg2; sbdesc = $arg7; sbpwd = ""; sbmsg = ""
if (= $arg5 1) [
if (>= $arg5 1) [
sbmsg = "This server is set to private."; showmenu "password required"
] [
if (>= $arg6 1) [