From c35ff1ab2313384c3f05359477e65bc808571b53 Mon Sep 17 00:00:00 2001 From: aerkefiende Date: Sat, 26 Mar 2011 20:44:38 +0000 Subject: [PATCH] Some script changes made by Bukz git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6141 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/scripts.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/scripts.cfg b/config/scripts.cfg index 41dafe0d..177a584c 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -69,7 +69,7 @@ alias gibsgore [ // "fullscreenscript" command: // This command allows swapping of fullscreen mode to be bound to a key. -alias fullscreenscript [ if (= $fullscreen 1)[ fullscreen 0 ] [ fullscreen 1 ] ] +alias fullscreenscript [ if $fullscreen [ fullscreen 0 ] [ fullscreen 1 ] ] alias editmapmsg [ saycommand ( concatword [/mapmsg ] ["] (getmapmsg) ["] ) ] @@ -111,7 +111,7 @@ gamemodedesc 14 [Team Keep the Flag: There is only one flag. Get the flag and ke gamemodedesc 15 [Keep the Flag: Get the flag and keep it. You score one point every 15 seconds. Everybody else will want to destroy you!] // "resetbinds" command. -alias resetbinds [ exec config/resetbinds.cfg; echo " 3All binds have been reset to default values!" ] +alias resetbinds [ exec config/resetbinds.cfg; echo (c 3)All binds have been reset to default values! ] // "changeteam" command. alias changeteam [ if (< (curteam) 4) [ team (at "RVSF CLA RVSF-SPECT CLA-SPECT" (curteam)) ] ] @@ -247,5 +247,5 @@ alias _CAS_serverip "IP ADDRESS" alias _CAS_serverpass "PASSWORD" alias _CAS_servername "SERVER NAME" alias customclaimadminscript [ if (strcmp (curserver 1) $_CAS_serverip) [ - if (= (currole) 0) [ setadmin 1 $_CAS_serverpass ] [ setadmin 0; echo "you relinquished admin status" ] ] [ - alias _CAS_erroroutput (concat " 3ERROR: 5you're not connected to" $_CAS_servername "servers"); echo $_CAS_erroroutput ] ] + if (! (currole)) [ setadmin 1 $_CAS_serverpass ] [ setadmin 0; echo "you relinquished admin status" ] ] [ + echo (concat (c 3)Error: (c 5)you're not connected to $_CAS_servername servers) ] ] \ No newline at end of file