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
This commit is contained in:
aerkefiende
2011-03-26 20:44:38 +00:00
parent 03e935defc
commit c35ff1ab23
+4 -4
View File
@@ -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) ] ]