Post your AUTOEXEC.CFG
#9
Just my aliases and stuff.
// auto
bind KP1 [ say "%Left" ]
bind KP2 [ say "%Middle" ]
bind KP3 [ say "%Right" ]
bind KP5 [ say "%CLA base" ]
bind KP6 [ say "%RVSF base" ]
bind Q [ if $editing [ domodifier 1 ] [ quicknadethrow ] ]
bind F [ if $editing [ solid 1 ] [ dropflag ] ]
bind F3 [ toggleconsole ]
bind M [ if $editing [ domodifier 6 ] [ toggleshowmap ] ]

// horrible GFX
fsaa 0
minlod 60
alias gfxqualityalias 1
fpsrange 20 25
watersubdiv 64
dynlight 0
waterreflect 0
stencilshadow 0
stencilbits 0
dynshadow 0
lighterror 16
scorch 0
bullethole 0
blood 0
gib 0
shotline 0
trilinear 0
waterrefract 0
texreduce -1
hidebigmenuimages 1
vsync 0

sensitivity 15
crosshairsize 25
fov 120
gamma 130
hitsound 1
akimboendaction 1
voicecom 0
name "Xu|Orynge"
emo = [ suicide ]
sens = [ sensitivity $arg1 ]
nick = [ name $arg1 ]
beam = [ drawbeamtobots ]
loadcrosshair x-dot.png
loadcrosshair X.png scope // Viper's :D
clockdisplay 1 (show time remaining)
clockdisplay 2 (show time spent)
// end auto

alias stbots [
numbots = $arg1; skillbots = $arg2; teambots = (div $numbots 2)
if (= (curteam 0)) [claplayer = 1; rvsfplayer = 0] [rvsfplayer = 1; claplayer = 0]
addnbot (- $teambots $rvsfplayer) RVSF $skillbots; addnbot (- $teambots $claplayer) CLA $skillbots
]

firefights = [team RVSF; sleep 10 [btdm $arg1; sleep 20 [kickallbots; sleep 30 [addnbot 3 CLA good]]]]
firefightm = [team RVSF; sleep 10 [btdm $arg1; sleep 20 [kickallbots; sleep 30 [addnbot 6 CLA good]]]]
firefightb = [team RVSF; sleep 10 [btdm $arg1; sleep 20 [kickallbots; sleep 30 [addnbot 10 CLA good]]]]

btdm = [mode 7; map $arg1; stbots 8 good]

bdm = [mode 8; map $arg1; stbots 4 good]

bosok = [mode 12; map $arg1; stbots 4 good]

//8ball script by Orynge, Ronald_Reagan, and DrauL
8ballanswers = ["say "8ball: Meow, I'm a cat!"" "say "8ball: Oh, please, PLEASE, make it stop!"" "say "8ball: Who do you think I am, DiLL?"" "say "8ball: Are you MAD?!"" "say "8ball: Sure. Yeah. Exactly."" "say "8ball: It is decidedly so."" "say "8ball: Not on your life."" "say "8ball: No."" "say "8ball: Maybe so."" "say "8ball: Absolutely not."" "say "8ball: Yes."" "say "8ball: If the prophets will it."" "say "8ball: Reading foggy -- try again later."" "say "8ball: You never know. Neither do I.""]

alias 8ball [say !8ball ($arg1); sleep 10 [8response]]

alias 8response [say (at $8ballanswers (rnd (listlen $8ballanswers)))]]

//Delayed vote script by DES|GeneralDisarray and Gibstick

// Reset the aliases just in case
cancelallvotes = [ votingno = 0; votingyes = 0; votetimestamp = 0]
cancelallvotes

vote_exec1 = [ vote 1; echo " 0You voted yes"; cancelallvotes ]
vote_exec2 = [ vote 2; echo " 3You voted no"; cancelallvotes ]

// $arg1 = millis
delayed_vote = [
    // only bother if we're actually due
    if (= ($votetimestamp) ($arg1) ) [
        if (= ($votingyes) 1) [ vote_exec1 ]
        if (= ($votingno) 1) [ vote_exec2 ]
    ] [
        echo "All this wait for nothing..."
    ]
]

delayed_vote_start = [ votetimestamp = (millis); sleep 5000 [ delayed_vote votetimestamp ] ]

delayvote1 = [
    if (= ($votingyes) 1) [
        // voting yes when already have voted yes, do it immediately
        vote_exec1
    ] [
        if (= ($votingno) 1) [
            // changed mind, cancel
            echo " 6You cancelled your F2"; cancelallvotes
        ] [
            // normal/first vote
            echo "Voting YES in five seconds!"; votingyes = 1; delayed_vote_start
        ]
    ]
]

delayvote2 = [
    if (= ($votingno) 1) [
        // voting no when already have voted no, do it immediately
        vote_exec2
    ] [
        if (= ($votingyes) 1) [
            // changed mind, cancel
            echo " 6You cancelled your F1"; cancelallvotes
        ] [
            // normal/first vote
            echo "Voting NO in five seconds!"; votingno = 1; delayed_vote_start
        ]
    ]
]
bind "F1" [delayvote1]
bind "F2" [delayvote2]

//Useless technical notes
//Script uses alias variables to determine the current voting state. If one is changed then the action is different, that is how the vote is "cancelled". But it is impossible to cancel a sleep and we ran into this problem. So GD came up with the miraculous and ingenious solution to use a timestamp to associate one F1/F2 with another. But he insisted that we use normal alias commands instead of push and pop. :D

usefulscript = [echo "Cold Boot Initialized";[usefulscript]]

zomgterrible = [sensitivity 1000; sleep 1 [bind w "suicide"; sleep 2 [bind a "attack"; sleep 3 [say "My AC is dying!"; sleep 4 [bind s "commanddoesntexist"; sleep 5 [bind d "consolespam"]]]]]]

//-- rolldie command to see who goes first in matches
//-- by R4zor with ( a lot of ) help from GenDisarray
alias rolldie [ if (&& (> (listlen $arg1) 0) (> (listlen $arg2) 0) ) [dieteams1 = $arg1; dieteams2 = $arg2] [dieteams1 = CLA; dieteams2 = RVSF]; if (rnd 2) [dieteams = $dieteams1] [dieteams = $dieteams2]; sleep 100 [say Random Die Roll - team $dieteams was chosen!]]

// Random startup messages script by DES|Bukz
if (checkalias rndstmsg) [] [rndstmsg = 1]

alias random_messages ["*crouch* *crouch* --- Nooooooooo!" "What is this game I don't even..." "Getting the next frag is probably more important then that work you have to get done" "Ignore the PAIN! Ignore the HUNGER! There are NOOBS to FRAG!"]

alias clearstartmessage [
  if (= $arg1 1) [
    alias random_messages []
    echo (c 2)Your list of random start up messages has been (c 3)cleared!
  ] [
    echo (c 3)clearstartmessage requires 1 as the only argument to function!
  ]
]

alias startmessage [
  if (= $arg1 1) [
    rndstmsg = 1
    echo (c 2)Random startup messages (c 0)enabled!
  ] [
    rndstmsg = 0
    echo (c 2)Random startup messages (c 3)disabled!
  ]
]

addOnLoadOnce [if $rndstmsg [echo (at $random_messages (rnd (listlen $random_messages)))] []]

docsection [Random_Messages];

docident [clearstartmessage] [Clears the list of all random startup messages.];
docargument [X] [Must be 1 to function.];
docexample [/clearstartmessage 1] [Clears the list.];

docident [startmessage] [Enables or disables the showing of random messages on startup.];
docargument [X] [1 = enabled, 0 = disabled];
docexample [/startmessage 1] [Enables];

exec "config/tools_docsection.cfg"
exec "config/rndmap.cfg"
exec "config/tools.cfg"
exec "config/raveparty.cfg"
Thanks given by:


Messages In This Thread
Post your AUTOEXEC.CFG - by #M|A#Wolf - 13 Jun 11, 05:13AM
RE: Post your AUTOEXEC.CFG - by Huntsman - 13 Jun 11, 05:29AM
RE: Post your AUTOEXEC.CFG - by Mael - 13 Jun 11, 05:37AM
RE: Post your AUTOEXEC.CFG - by Fate - 13 Jun 11, 07:23AM
RE: Post your AUTOEXEC.CFG - by Robtics - 13 Jun 11, 08:27AM
RE: Post your AUTOEXEC.CFG - by Ronald_Reagan - 13 Jun 11, 08:37AM
RE: Post your AUTOEXEC.CFG - by Bukz - 13 Jun 11, 05:45PM
RE: Post your AUTOEXEC.CFG - by Duckett - 13 Jun 11, 07:08PM
RE: Post your AUTOEXEC.CFG - by Orynge - 14 Jun 11, 08:36AM
RE: Post your AUTOEXEC.CFG - by HellJanitorIsHispanic - 14 Jun 11, 09:07AM
RE: Post your AUTOEXEC.CFG - by Gibstick - 14 Jun 11, 11:02AM
RE: Post your AUTOEXEC.CFG - by Shorty - 14 Jun 11, 11:12AM
RE: Post your AUTOEXEC.CFG - by V-Man - 14 Jun 11, 08:12PM
RE: Post your AUTOEXEC.CFG - by VenteX - 14 Jun 11, 11:15PM
RE: Post your AUTOEXEC.CFG - by #M|A#Wolf - 15 Jun 11, 12:04AM
RE: Post your AUTOEXEC.CFG - by Ronald_Reagan - 15 Jun 11, 12:05AM
RE: Post your AUTOEXEC.CFG - by Viper - 15 Jun 11, 04:43AM
RE: Post your AUTOEXEC.CFG - by Fate - 15 Jun 11, 05:08AM
RE: Post your AUTOEXEC.CFG - by V-Man - 16 Jun 11, 02:33AM
RE: Post your AUTOEXEC.CFG - by titiPT - 16 Jun 11, 09:46PM
RE: Post your AUTOEXEC.CFG - by Viper - 17 Jun 11, 12:02AM
RE: Post your AUTOEXEC.CFG - by ExodusS - 18 Jun 11, 12:24AM
RE: Post your AUTOEXEC.CFG - by Yarukinasu - 20 Jun 11, 07:43AM
RE: Post your AUTOEXEC.CFG - by Undead - 20 Jun 11, 08:26AM
RE: Post your AUTOEXEC.CFG - by Ronald_Reagan - 20 Jun 11, 11:37PM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 21 Jun 11, 07:37AM
RE: Post your AUTOEXEC.CFG - by V-Man - 21 Jun 11, 11:24PM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 22 Jun 11, 07:13AM
RE: Post your AUTOEXEC.CFG - by V-Man - 25 Jun 11, 10:52PM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 26 Jun 11, 02:24AM
RE: Post your AUTOEXEC.CFG - by Orynge - 26 Jun 11, 02:54AM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 29 Jun 11, 08:05PM
RE: Post your AUTOEXEC.CFG - by V-Man - 26 Jun 11, 02:30PM
RE: Post your AUTOEXEC.CFG - by Ronald_Reagan - 27 Jun 11, 04:22AM
RE: Post your AUTOEXEC.CFG - by V-Man - 27 Jun 11, 04:31AM
RE: Post your AUTOEXEC.CFG - by Viper - 29 Jun 11, 08:07PM
RE: Post your AUTOEXEC.CFG - by ExodusS - 29 Jun 11, 08:10PM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 29 Jun 11, 08:28PM
RE: Post your AUTOEXEC.CFG - by MusicMan10 - 29 Jun 11, 08:36PM
RE: Post your AUTOEXEC.CFG - by V-Man - 02 Jul 11, 09:30AM
RE: Post your AUTOEXEC.CFG - by #M|A#Wolf - 30 Jun 11, 07:26AM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 30 Jun 11, 08:56AM
RE: Post your AUTOEXEC.CFG - by Orynge - 30 Jun 11, 10:52AM
RE: Post your AUTOEXEC.CFG - by Cleaner - 30 Jun 11, 11:22AM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 02 Jul 11, 07:07AM
RE: Post your AUTOEXEC.CFG - by MusicMan10 - 03 Jul 11, 04:34PM
RE: Post your AUTOEXEC.CFG - by V-Man - 03 Jul 11, 05:19PM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 12 Jul 11, 10:39PM
RE: Post your AUTOEXEC.CFG - by bradmon14 - 21 Jul 11, 09:29PM
RE: Post your AUTOEXEC.CFG - by Ronald_Reagan - 21 Jul 11, 11:07PM