Post your AUTOEXEC.CFG
#1
I remember a thread like this where people posted their autoexec.cfg. I believe it was in the older forum... but anyways, post your autoexec.cg here so others can see and maybe learn a command or two!

Watch out for them passwords ;D

// BINDS:
bind 0 [setadmin 0]
bind 1 [say %<-- left side]
bind 2 [say %(middle)]
bind 3 [say %right side -->]
bind 4 [say %base!]
bind 9 [suicide; echo "you have suicided"]

bind F [ (primary) (melee) ]
bind G [say "Good game!"]
bind ENTER [saycommand]

bind MOUSE7 [if (= (curweapon) 0) [primary] [weapon 0]] //change to knife - thanks to Kirin for helping


// ALIASES:
alias bcadmin [setadmin 1 BLUPRNT32YTE]

//EXECUTES:
exec mods\extrafonts\menu_font.cfg
exec config\sorrymsg.cfg
exec config\private_servers.cfg
exec config\tools.cfg
exec config\servershare.cfg
exec config\commands.cfg
Thanks given by:
#2
// This file gets executed every time you start AssaultCube.

// This is where you should put any scripts you may have created for AC.

bind q [say "BOOM HEADSHOT!!! :D"]

exec config\tools.cfg
exec config\achievements.cfg
exec config\servershare.cfg

autoreloadpistol = [ if (|| (= (curweapon) 1) (= (curweapon) 9)) [ autoreload 1 ] [ autoreload 0 ] ]

  
      weapons2autoreload = "3 5"
  
      check_weaps = [
  
        loop cwl (listlen $weapons2autoreload) [
  
          if (= (curweapon) (at $weapons2autoreload $cwl)) [
  
            if (! (magcontent (curweapon))) [
  
              reload
  
            ]
  
          ]
  
        ]
  
      ]

      

      add2conloop check_weaps


// Smooth Zoom script, 1.1.0.4 redux by V-Man; previous work by kirin and Gibstick.
// Requires tools.cfg -- http://www.akimbo.in/files/index.php?act=view&id=723
// Bind "smoothzoom" to the key you wish to use for this purpose.

loop chk 6 [
checkinit (at [dfov zoominrate zoomoutrate zoomfov zoomcrosshair zoomsensscale] $chk) (at [$fov 250 125 75 15 1] $chk)
]
alias zoomingin 0
alias zoomingout 0

alias smoothzoom [
if (= (curweapon) 5) [altaction_5] [
getfov = $fov
getsens = $sensitivity
cchs = $crosshairsize
gethudgun = $hudgun
alias zoominstarttime (millis)
alias zoomingin 1
sensitivity (*f $zoomsensscale (*f $getsens (divf $fov $getfov)))
crosshairsize $zoomcrosshair
hudgun 0
onrelease [
  alias zoomoutstarttime (millis)
  alias zoomingout 1
  sensitivity $getsens
  crosshairsize $cchs
  hudgun $gethudgun]] []]

add2conloop [
if $zoomingin [
  alias newfov (-f $fov (*f (-f $getfov $zoomfov) (divf (-f (millis) $zoominstarttime) $zoominrate)))
  if (>=f $newfov $zoomfov) [fov $newfov] [fov $zoomfov; alias zoomingin 0]] []]

add2conloop [
if $zoomingout [
  alias newfov (+f $fov (*f (-f $getfov $zoomfov) (divf (-f (millis) $zoomoutstarttime) $zoomoutrate)))
  if (<=f $newfov $getfov) [fov $newfov] [fov $getfov; alias zoomingout 0]] []]

newmenu "Smooth Zoom"
menuitemtextinput [Zoomed FOV (extent to which FOV zooms): ] [result $zoomfov] [alias zoomfov $arg1] 3
menuitemtextinput [Zoom-in rate (higher is slower): ] [result $zoominrate] [alias zoominrate $arg1] 6
menuitemtextinput [Zoom-out rate (higher is slower): ] [result $zoomoutrate] [alias zoomoutrate $arg1] 6
menuitemtextinput [Zoom crosshair size: ] [result $zoomcrosshair] [alias zoomcrosshair $arg1] 1
menuitemtextinput [Zoom sensitivity scale (1.0 is linear): ] [result $zoomsensscale] [alias zoomsensscale $arg1] 3
menuitem [                Apply Now!                ] [closemenu]

add2menu "HUD" [menuitem "Smooth Zoom Menu" [closemenu "HUD"; showmenu "Smooth Zoom"]]


bind "P" [showmenu "Private Servers"]

//Private servers menu
newmenu "Private Servers"
menuitem [Do you wish to use the SpamConnect feature?] -1
menuitem [] -1
menuitemvar [concatword (c 3) "Yes"] [showmenu "Private Connects (SpamConnect)"]
menuitemvar [concatword (c 1) "No"] [showmenu "Private Connects"]


//Private Connects w/ SpamConnect
newmenu "Private Connects (SpamConnect)"
menuitemvar [concatword (c 3) "B}"] [showmenu "B} (SpamConnect)"]
menuitemvar [concatword (c 9) "BC"] [showmenu "BC (SpamConnect)"]
menuitemvar [concatword (c 2) "BCFH"] [sleep 500 [say "/connect helvete.bcfh.eu 3040 war"]; sleep 1000 [say "/connect helvete.bcfh.eu 3040 war"]; sleep 2000 [connect helvete.bcfh.eu 3040 war]]
menuitemvar [concatword (c 2) "eQ"] [sleep 500 [say "/connect eq-match.no-ip.org 5555 match"]; sleep 1000 [say "/connect eq-match.no-ip.org 5555 match"]; sleep 2000 [connect eq-match.no-ip.org 5555 match]]
menuitemvar [concatword (c 3) "legacy " (c 5) "(hitreg bug fixed)"] [sleep 500 [say "/connect legacysrv.tk 9999 match"]; sleep 1000 [say "/connect legacysrv.tk 9999 match"]; sleep 2000 [connect legacysrv.tk 9999 match]]
menuitemvar [concatword (c 1) "Mewtwo"] [showmenu "Mewtwo (SpamConnect)"]
menuitemvar [concatword (c 7) "MyS"] [showmenu "MyS (SpamConnect)"]
menuitemvar [concatword (c 0) "oNe"] [sleep 500 [say "/connect one.asrv.tk 8010"]; sleep 1000 [say "/connect one.asrv.tk 8010"]; sleep 2000 [connect one.asrv.tk 8010]]
menuitemvar [concatword (c 2) "Server Of Justice"] [sleep 500 [say "/connect ac-jamz.com 20000 match"]; sleep 1000 [say "/connect ac-jamz.com 20000 match"]; sleep 2000 [connect ac-jamz.com 20000 match]]
menuitemvar [concatword (c 3) "TyD"] [sleep 500 [say "/connect tearyoudown.com 21000 match"]; sleep 1000 [say "/connect tearyoudown.com 21000 match"]; sleep 2000 [connect tearyoudown.com 21000 match]]
menuitemvar [concatword (c 1) "w00p"][showmenu "w00p (SpamConnect)"]

//BC
newmenu "BC (SpamConnect)"
menuitemvar [concatword (c 3) BC (c 5) " Match Server #1 " (c 3) UK] [sleep 500 [say "/connect bcuk.pwnz.org 10004 match"]; sleep 1000 [say "/connect bcuk.pwnz.org 10004 match"]; sleep 2000 [connect bcuk.pwnz.org 10004 match]]
menuitemvar [concatword (c 3) BC (c 5) " Match Server #2 " (c 3) UK] [sleep 500 [say "/connect bcuk.pwnz.org 10006 match"]; sleep 1000 [say "/connect bcuk.pwnz.org 10006 match"]; sleep 2000 [connect bcuk.pwnz.org 10006 match]]

//Mewtwo
newmenu "Mewtwo (SpamConnect)"
menuitemvar [concatword (c 3) "Mewtwo " (c 5) 8888] [sleep 500 [say "/connect mewtwo.tk 8888 match"]; sleep 1000 [say "/connect mewtwo.tk 8888 match"]; sleep 2000 [connect mewtwo.tk 8888 match]]
menuitemvar [concatword (c 3) "Mewtwo " (c 5) 7777] [sleep 500 [say "/connect mewtwo.tk 7777 match"]; sleep 1000 [say "/connect mewtwo.tk 7777 match"]; sleep 2000 [connect mewtwo.tk 7777 match]]

//MyS
newmenu "MyS (SpamConnect)"
menuitemvar [concatword (c 3) MyS (c 5) " Match #1 " (c 3) GER] [sleep 500 [say "/connect mys.aa.am 21111 match"]; sleep 1000 [say "/connect mys.aa.am 21111 match"]; sleep 2000 [connect mys.aa.am 21111 match]]
menuitemvar [concatword (c 3) MyS (c 5) " Match #2 " (c 3) GER] [sleep 500 [say "/connect mys.aa.am 22222 match"]; sleep 1000 [say "/connect mys.aa.am 22222 match"]; sleep 2000 [connect mys.aa.am 22222 match]]
menuitemvar [concatword (c 3) MyS (c 5) " Match #3 " (c 3) GER] [sleep 500 [say "/connect mys.aa.am 23333 match"]; sleep 1000 [say "/connect mys.aa.am 23333 match"]; sleep 2000 [connect mys.aa.am 23333 match]]
menuitemvar [concatword (c 3) MyS (c 5) " 3333 |Match| " (c 3) GER] [sleep 500 [say "/connect mys.aa.am 33333 match"]; sleep 1000 [say "/connect mys.aa.am 33333 match"]; sleep 2000 [connect mys.aa.am 33333 match]]
menuitemvar [concatword (c 3) MyS (c 5) " 4444 |Match| " (c 3) GER] [sleep 500 [say "/connect mys.aa.am 44444 match"]; sleep 1000 [say "/connect mys.aa.am 44444 match"]; sleep 2000 [connect mys.aa.am 44444 match]]
menuitemvar [concatword (c 3) MyS (c 5) " 5555 |Match| " (c 3) GER] [sleep 500 [say "/connect mys.aa.am 55555 match"]; sleep 1000 [say "/connect mys.aa.am 55555 match"]; sleep 2000 [connect mys.aa.am 55555 match]]

//w00p
newmenu "w00p (SpamConnect)"
menuitemvar [concatword (c 3) "hlin " (c 5) 9999] [sleep 500 [say "/connect hlin.woop.us 9999 match "]; sleep 1000 [say "/connect hlin.woop.us 9999 match"]; sleep 2000 [connect hlin.woop.us 9999 match]]
menuitemvar [concatword (c 3) "hlin " (c 5) 8999] [sleep 500 [say "/connect hlin.woop.us 8999 match "]; sleep 1000 [say "/connect hlin.woop.us 8999 match"]; sleep 2000 [connect hlin.woop.us 8999 match]]
menuitemvar [concatword (c 3) "hlin " (c 5) 7999] [sleep 500 [say "/connect hlin.woop.us 7999 match "]; sleep 1000 [say "/connect hlin.woop.us 7999 match"]; sleep 2000 [connect hlin.woop.us 7999 match]]
menuitemvar [concatword (c 3) "dula " (c 5) 9999] [sleep 500 [say "/connect dula.woop.us 9999 match "]; sleep 1000 [say "/connect dula.woop.us 9999 match"]; sleep 2000 [connect dula.woop.us 9999 match]]

//B}
newmenu "B} (SpamConnect)"
menuitemvar [concatword (c 3)"B} " (c 5) Bold] [sleep 500 [say "/connect bcubed.pbclan.tk 1492"]; sleep 1000 [say "/connect bcubed.pbclan.tk 1492"]; sleep 2000 [connect bcubed.pbclan.tk 1492]]
menuitemvar [concatword (c 3)"B} " (c 5) Dauntless] [sleep 500 [say "/connect bcubed.pbclan.tk 1927"]; sleep 1000 [say "/connect bcubed.pbclan.tk 1927"]; sleep 2000 [connect bcubed.pbclan.tk 1927]]


//Private Connects w/o SpamConnects
newmenu "Private Connects"
menuitemvar [concatword (c 3) "B}"] [showmenu "B}"]
menuitemvar [concatword (c 9) "BC"] [showmenu "BC"]
menuitemvar [concatword (c 2) "BCFH"] [connect helvete.bcfh.eu 3040 war]
menuitemvar [concatword (c 2) "eQ"] [connect eq-match.no-ip.org 5555 match]
menuitemvar [concatword (c 3) "legacy " (c 5) "(hitreg bug fixed)"] [connect legacysrv.tk 9999 match]
menuitemvar [concatword (c 1) "Mewtwo"] [showmenu "Mewtwo"]
menuitemvar [concatword (c 7) "MyS"] [showmenu "MyS"]
menuitemvar [concatword (c 0) "oNe"] [connect one.asrv.tk 8010]
menuitemvar [concatword (c 2) "Server Of Justice"] [connect ac-jamz.com 20000 match]
menuitemvar [concatword (c 3) "TyD"] [connect tearyoudown.com 21000 match]
menuitemvar [concatword (c 1) "w00p"][showmenu "w00p"]

//BC
newmenu "BC"
menuitemvar [concatword (c 3) BC (c 5) " Match Server #1 " (c 3) UK] [connect bcuk.pwnz.org 10004 match]
menuitemvar [concatword (c 3) BC (c 5) " Match Server #2 " (c 3) UK] [connect bcuk.pwnz.org 10006 match]

//Mewtwo
newmenu "Mewtwo"
menuitemvar [concatword (c 3) "Mewtwo " (c 5) 8888] [connect mewtwo.tk 8888 match]
menuitemvar [concatword (c 3) "Mewtwo " (c 5) 7777] [connect mewtwo.tk 7777 match]

//MyS
newmenu "MyS"
menuitemvar [concatword (c 3) MyS (c 5) " Match #1 " (c 3) GER] [connect mys.aa.am 21111 match]
menuitemvar [concatword (c 3) MyS (c 5) " Match #2 " (c 3) GER] [connect mys.aa.am 22222 match]
menuitemvar [concatword (c 3) MyS (c 5) " Match #3 " (c 3) GER] [connect mys.aa.am 23333 match]
menuitemvar [concatword (c 3) MyS (c 5) " 3333 |Match| " (c 3) GER] [connect mys.aa.am 33333 match]
menuitemvar [concatword (c 3) MyS (c 5) " 4444 |Match| " (c 3) GER] [connect mys.aa.am 44444 match]
menuitemvar [concatword (c 3) MyS (c 5) " 5555 |Match| " (c 3) GER] [connect mys.aa.am 55555 match]

//w00p
newmenu "w00p"
menuitemvar [concatword (c 3) "hlin " (c 5) 9999] [connect hlin.woop.us 9999 match]
menuitemvar [concatword (c 3) "hlin " (c 5) 8999] [connect hlin.woop.us 8999 match]
menuitemvar [concatword (c 3) "hlin " (c 5) 7999] [connect hlin.woop.us 7999 match]
menuitemvar [concatword (c 3) "dula " (c 5) 9999] [connect dula.woop.us 9999 match]

//B}
newmenu "B}"
menuitemvar [concatword (c 3)"B} " (c 5) Bold] [connect bcubed.pbclan.tk 1492]
menuitemvar [concatword (c 3)"B} " (c 5) Dauntless] [connect bcubed.pbclan.tk 1927]



//Original idea by Draul. Made by Castiel, later modified by |BC|Wolf
Thanks given by:
#3
It'd be funnier if you didn't say that and just watched all the failed admin logins.
Thanks given by:
#4
Lol.

name HyPE|Fate

bind P [ if $editing [ editheight 2 1 ] [showmenu "Private Connects"] ]
bind F4 [showmenu "Claim Admin"]

bind LESS "universaldelta 1"
bind EQUALS "universaldelta -1"

bind MOUSE4 [primary]
bind MOUSE5 [secondary]
bind Q [ if $editing [ domodifier 1 ] [ melee ] ]

bind G [ if $editing [ solid 0 ] [ say "gg" ] ]

bind F3 [voicecom imonyourteamman "I'm on *YOUR TEAM* man!"]
bind 5 [voicecom sorry "Sorry! I didn't mean to :("]

bind F7 [voicecom recovertheflag "<-- FLAG LEFT! <---"]
bind F8 [voicecom recovertheflag "--> FLAG MIDDLE! <---"]
bind F9 [voicecom recovertheflag "--> FLAG RIGHT! --->"]

//Claimadmin menu
newmenu "Claim Admin"
menuitem "Drop admin" [setadmin 0]
menuitem "jamz" [showmenu "jamz"]
menuitem "HyPE" [showmenu "HyPE"]


//jamz
newmenu "jamz"
menuitem "Yes" [setadmin 1 itspronouncedjamesnotjamz]
menuitem "No" [showmenu "Claimadmin"]

//HyPE
newmenu "HyPE"
menuitem "Yes" [setadmin 1 L0$th3G4Me69]
menuitem "No" [showmenu "Claim Admin"]


//END

//Private connects menu
//Main
newmenu "Private Connects"
menuitem "De-ban connects" [showmenu "De-ban connects"]
menuitem "BCFH" [showmenu "BCFH"]
menuitem "legacy" [connect legacysrv.tk 9999 match]
menuitem "Mewtwo" [showmenu "Mewtwo"]
menuitem "MyS" [showmenu "MyS"]
menuitem "oNe" [connect one.asrv.tk 8010]
menuitem "Server Of Justice" [connect ac-jamz.com 20000 match]
menuitem "TyD" [connect tearyoudown.com 21000 match]
menuitem "w00p" [showmenu "w00p"]

//BCFH
newmenu "BCFH"
menuitem "Helvete" [connect helvete.bcfh.eu 3040 war]
menuitem "Skyrim" [connect skyrim.bcfh.biz 28763 war]

//Mewtwo
newmenu "Mewtwo"
menuitem "Mewtwo 8888" [connect mewtwo.tk 8888 match]
menuitem "Mewtwo 7777" [connect mewtwo.tk 7777 match]

//MyS
newmenu "MyS"
menuitem "MyS Match #1 GER" [connect mys.aa.am 21111 match]
menuitem "MyS Match #2 GER" [connect mys.aa.am 22222 match]
menuitem "MyS Match #3 GER" [connect mys.aa.am 23333 match]
menuitem "MyS 3333 |Match| GER" [connect mys.aa.am 3333 match]
menuitem "MyS 4444 |Match| GER" [connect mys.aa.am 4444 match]
menuitem "MyS 5555 |Match| GER" [connect mys.aa.am 5555 match]

//w00p
newmenu "w00p"
menuitem "hlin 9999" [ connect hlin.woop.us 9999 match ]
menuitem "hlin 8999" [ connect hlin.woop.us 8999 match ]
menuitem "hlin 7999" [ connect hlin.woop.us 7999 match ]
menuitem "dula 9999" [ connect dula.woop.us 9999 match ]

//END

//Connect
//Main
newmenu "De-ban connects"
menuitem "HyPE" [showmenu "HyPE de-ban"]
menuitem "TyD" [showmenu "TyD"]
menuitem "BC" [showmenu "BC"]
menuitem "DES" [showmenu "DES"]
menuitem "TBR" [showmenu "TBR"]
menuitem "=SA=" [showmenu "=SA="]

//HyPE
newmenu "HyPE de-ban"
menuitem "Limbo" [connect us.hype-clan.com 22022 L0$th3G4Me69]
menuitem "Insomnia" [connect us.hype-clan.com 33033 L0$th3G4Me69]
menuitem "Redemption" [connect ca.hype-clan.com 57575 L0$th3G4Me69]
menuitem "Hidden Valley" [connect ca.hype-clan.com 56000  L0$th3G4Me69]
menuitem "back" [showmenu "connects"]

//BC
newmenu "BC"
menuitem "Uranus" [connect bcus.pwnz.org 8000 dwe35ks]
menuitem "Pluto" [connect bcus.pwnz.org 8010 dwe35ks]
menuitem "Maximus" [connect bcuk.pwnz.org 8000 dwe35ks]
menuitem "Diana" [connect bcuk.pwnz.org 8010 dwe35ks]
menuitem "back" [showmenu "connects"]

//DES
newmenu "DES"
menuitem "DES|TnT" [connect tnt.des-clan.net 28763 eT4F]

//TBR
newmenu "TBR"
menuitem "TBR dyfi" [connect tbr-clan.ath.cx 11111 Tw1Ze]
menuitem "back" [showmenu "connects"]

//=SA=
newmenu "=SA="
menuitem "=SA= Part Time" [connect 71.63.111.190 28763 penisland.net]
menuitem "back" [showmenu "connects"]


// "Rewind" Demo-like script by DES|Bukz

if (checkalias startmin) [] [startmin = ""; chgspd = ""]

alias rewind [
   if (= (watchingdemo) 1) [
      startmin = $arg1
      add2alias mapstartonce [
         gamespeed 1000
         checkmin
      ]
   demo $_demofile
   ] []
]

alias checkmin [
   if (&& (= $chgspd 0) (= $minutesremaining $startmin)) [
      chgspd = 1
      gamespeed 100
      echo (c 3)Rewind executed!
      add2alias mapstartonce [chgspd = 0]
   ] []
   sleep 0 [checkmin]
]

addOnQuit [rewind = ""; checkmin = ""; startmin = ""; chgspd = ""]

docsection [Rewind]

docident [rewind] [Restarts a demo and fast-forwards to a pre-defined minutes remaining.]
docargument [M] [The minutes remaining that you want to fast forward to.]
docexample [/rewind 4] [Restarts the demo you are watching and fast forwards to minutes remaining 4.]

bind KP3 [command "/rewind time"]

// END
Thanks given by:
#5
// This file gets executed every time you start AssaultCube.

// This is where you should put any scripts you may have created for AC.

D:
Thanks given by:
#6
How about your saved.cfg?
Will this suffice?
Thanks given by:
#7
Mine for SVN :)
Thanks given by:
#8
^^ Ditto
Thanks given by:
#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:
#10
//you are one hansom fucker.
Thanks given by:
#11
Oh my god you actually have the "useless technical notes".

run tools
run Gibstick
execdir config/scripts
exec mods/extrafonts/menu_font.cfg


//Weapon Status Script
alias gun_names "knife pistol carbine shotgun subgun sniper assault combatpistol grenade akimbo"
alias my_gun_state [
    concat I need support. I am carrying the (at $gun_names (curweapon)) with (magcontent (curweapon)) rounds loaded of (magreserve (curweapon)) total and I might be low on health.
]
bind 5 [ say "%" (my_gun_state) ]
//End of Weapon Status Script

//Console-scroller
//by grenadier
alias gn_console 0
bind "F11" [
        toggleconsole
        if (= $altconsize 0)[
                if (= $gn_console 0) [
                alias gn_console 2
                ][
                alias gn_console 0
                conskip -1000
                ]
        ][
                if (= $gn_console 0) [
                alias gn_console 1
                ][
                        if (= $gn_console 1)[
                        alias gn_console 2
                        ][
                        alias gn_console 0
                        conskip -1000
                        ]
                ]              
        ]
]
bind "MOUSE4" [ if (< $gn_console 2) [universaldelta 1] [conskip 5] ] //conskip 5 and -5 sets how much the console will scroll.
bind "MOUSE5" [ if (< $gn_console 2) [universaldelta -1] [conskip -5] ] //end of console scroller

// Clean screenshot.
    // Get current values.
alias get_hud [
    alias get_gun $hudgun
    alias get_radar $hideradar
    alias get_team $hideteam
    alias get_vote $hidevote
    alias get_equipment $hidehudequipment
    alias get_console $hideconsole
    alias get_spect $hidespecthud
    alias get_msg $hidehudmsgs
    alias get_dmgindicator $hidedamageindicator
    alias get_dmgscreen $damagescreen)
    alias get_teamsign $crosshairteamsign
    alias get_flag $hidectfhud
    alias get_hair $crosshairsize
    alias get_accs $accuracy
    alias get_stats $showstats
    alias get_clock $clockdisplay
    ]

    // Disable HUD.
alias clean_hud [
    hudgun 0
    hideradar 1
    hideteam 1
    hidevote 2
    hidehudequipment 1
    hideconsole 1
    hidespecthud 1
    hidehudmsgs 1
    hidedamageindicator 1
    damagescreen 1
    crosshairteamsign 1
    hidectfhud 1
    crosshairsize 0
    accuracy 0
    showstats 0
    clockdisplay 0
    showscores 0
    ]

    // Set former values.
alias reload_hud [
    hudgun $get_gun
    hideradar $get_radar
    hideteam $get_team
    hidevote $get_vote
    hidehudequipment $get_equipment
    hideconsole $get_console
    hidespecthud $get_spect
    hidehudmsgs $get_msg
    hidedamageindicator $get_dmgindicator
    damagescreen $get_dmgscreen
    crosshairteamsign $get_teamsign
    hidectfhud $get_flag
    crosshairsize $get_hair
    accuracy $get_accs
    showstats $get_stats
    clockdisplay $getclock
    ]

alias cleanshot [get_hud; sleep 10 [clean_hud]; sleep 20 [screenshot]; sleep 40 [reload_hud]]

        // przewijanie demo
    
    alias "demofastforwardtime" -2
    alias "demopause" [
            if (!= $demofastforwardtime -2)[
                    if (= $minutesremaining $demofastforwardtime)[
                    gamespeed 100
                    togglespect
                    sleep 150 [demofastforwardtime = -2]
                    ][
                    sleep 1000 [demopause]
                    ]
            ]
    ]
    
    alias "fastforwarddemo" [
            if (= (watchingdemo) 1)[
            demofastforwardtime = $arg1    
                    if (<= $minutesremaining $arg1)[
                    demo (_demofile)
                    alias mapstartonce [if (> $minutesremaining $demofastforwardtime)[ fastforwarddemo $demofastforwardtime ] ]
                    ]            
            spectate 5
            gamespeed 1000
            demopause
            ]      
    ]
    
    
    
    // dodatki do demo
    
    bind "KP_MINUS" [
            if (= $connected 0)[
                    if (<= $gamespeed 100)[
                    gamespeed (- $gamespeed 10)
                    echo gamespeed = $gamespeed
                    ][
                    gamespeed (- $gamespeed 100)
                    echo gamespeed = $gamespeed
                    ]
            ][
            conskip 3
            ]
    ]
    
    bind "KP_PLUS" [
            if (= $connected 0)[
                    if (< $gamespeed 100)[
                    gamespeed (+ $gamespeed 10)
                    echo gamespeed = $gamespeed
                    ][
                    gamespeed (+ $gamespeed 100)
                    echo gamespeed = $gamespeed
                    ]
            ][
            conskip -1000
            ]
    ]
    
    bind "KP_MULTIPLY" [if (= $connected 0)[gamespeed 100; echo gamespeed = $gamespeed]]
    
//Writelog function shorthand alias
alias writelog "serverextension driAn::writelog $arg1"

bind F3 [inputcommand $cmdbuf [ joinservermenu; searchnickname $cmdbuf ] ]

// Client counting ident script by DES|Bukz
alias curplayers [
    players = 0
    if (= $connected 1) [
        loop x 21 [
                if (= (at (pstat_score $x) 4) -1) [] [
                        += players 1
                ]
        ]
        result $players
    ] [result -1]
]

docsection [Server]
docident [curplayers] [Returns the current number of clients on the server.]
docremark [If executed while not connected to a server, it will return -1]
docexample [/echo (curplayers)] [Output: 6]

bind CAPSLOCK [sound 50; onrelease [sound 52]]

// format input number (int/float) to a given precision
// no sanity checks on inputs, caller's responsibility
// note: format_precision -0.1 0 >>> -0
// arg1: number to convert
// arg2: precision (optional, default 0 == integer)

alias format_precision [

  if (listlen $arg1) [
    // if negative input, flag to prepend sign later if needed
    if (<f $arg1 0) [
      arg1 = (-f 0 ($arg1)); negative = 1
    ] [
      negative = 0
    ]

    divisor   = 1000000000 // max 32-bit int order of magnitude
    magnitude = 9          // 10^9 = divisor
    looping   = 1

    while [ ($looping) ] [
      if (div $arg1 $divisor) [
        // found first non-zero digit, break out
        looping = 0
      ] [
        // next order of magnitude (power of 10)
        divisor = (div $divisor 10)
        -= magnitude 1
        if (< $magnitude 0) [ looping = 0 ]
      ]
    ]

    output = ""
    while [ (>= ($magnitude) 0) ] [
      digit  = (div $arg1 $divisor)
      output = (concatword $output $digit)
      -=f arg1 (* $digit $divisor)

      divisor = (div $divisor 10)
      -= magnitude 1
    ]

    if (strcmp $output "") [ output = "0" ]
    if ($negative) [ output = (concatword - $output) ]

    decimals = ""
    while [ ($arg2) ] [
      *=f arg1 10
      digit    = (div $arg1 1)
      decimals = (concatword $decimals $digit)
      -=f arg1 $digit

      -= arg2 1
    ]

    if (listlen $decimals) [ decimals = (concatword . $decimals) ]
    output = (concatword $output $decimals)
    result $output
  ] [
    // no input, doh
    result ""
  ]
]

then Gibstick.cfg

//=============================================Gibstick's Personal settings and scripts============================================//

name Gibstick

//Settings

alias "sens1" [2.519375]
alias "sens2" [1.53125]

// gamma 110
// lighterror 4
// masterupdatefrequency 3600
// scopefov 50
// dynshadowquad 0
// aboveheadiconsize 50
// bulletholettl 5000
// autoscreenshot 1
// showstats 1
// mfilter 0.0
// serversort 0
// damagescreenfade 125
// gibspeed 30
// maxtrail 500
// gibnum 8
// dynshadowdecay 1000
// modeacronyms 1
// swayupspeeddiv 105
// stencilshadow 0
// aboveheadiconfadetime 2000
// clockerror 1000000
// teamdisplaymode 1
// reflectsize 8
// showmapbackdroptransparency 60
// footsteps 0
// damagescreenalpha 45
// radarentsize 15
// scorefont 0
// radarheight 70
// audiodebug 0
// mtwater 1
// texreduce 0
// hideconsole 0
// clockfix 0
// localfootsteps 1
// texturescale 32
// mapsoundrefresh 10
// soundschedpriorityscore 100
// watersubdiv 4
// gibttl 2500
// bulletairsoundrad 15
// saveshadows 1
// shotlinettl 75
// dynshadow 40
// damageindicatorsize 200
// browsefiledesc 1
// mouseaccel 0.0
// crosshairsize 15
// hudextras 2
// hidecustomskins 0
// autogetnewmaprevisions 1
// bulletbouncesoundrad 15
// serversortpreferofficial 1
// confade 20
// bloodttl 10000
// hidefavicons 0
// scorchttl 10000
// hitsound 1
// maxfps 200
// sensitivity 2.519375
// hidedamageindicator 0
// jpegquality 100
// hidecompass 0
// damageindicatoralpha 50
// soundschedreserve 2
// scorch 1
// serversortdir 0
// damageindicatordist 500
// hidehudequipment 0
// fullbrightlevel 176
// bulletairsounddestrad 8
// maxhistory 1000
// hudgun 0
// bullethole 1
// fullconsize 40
// swayupmovediv 200
// smoothmove 75
// maxtexsize 0
// shotline 1
// damagescreenfactor 7
// maploaditemlength 46
// mapstats_hud 0
// waterrefract 0
// animationinterpolationtime 150
// blood 1
// bulletairsoundsourcerad 8
// altconsize 0
// hidectfhud 0
// sensitivityscale 1.0
// quicknade_hold 1
// swayspeeddiv 105
// servpingrate 5000
// invmouse 0
// minimapres 9
// waterreflect 0
// minlod 100
// showminremain 1
// maxsoundsatonce 50
// serverbrowserhideip 0
// nosway 0
// showmapbackdrop 2
// crosshairteamsign 1
// smoothdist 8
// clockdisplay 2
// pngcompress 9
// soundschedoldbonus 100
// autoauth 1
// damagescreen 1
// cncolumncolor 2
// mtexplosion 0
// serverbrowserhidefavtag 1
// screenshottype 1
// applydialog 1
// oldfashionedgunstats 0
// aadynshadow 2
// dynshadowsize 5
// akimboendaction 1
// damageindicatortime 1000
// hideradar 0
// showonlygoodservers 0
// hidevote 0
// maxcon 200
// autoreload 1
// gainscale 90
// scopesensscale 0.5
// spectfov 120
// hidebigmenuimages 0
// soundscheddistancescore 5
// accuracy 1
// maxservpings 10
// showscoresondeath 1
// consize 6
// orderscorecolumns 0
// mdldlist 1
// righthanded 1
// dbgpos 0
// nextprimary 6
// crosshairfx 1
// gib 1
// hidespecthud 0
// trilinear 0
// fov 120.0
// maxrollremote 1
// networkdebug 0
// autoscopesens 0
// bulletbouncesound 1
// autogetmap 1
// maxroll 0
// swaymovediv 200
// bilinear 1
// hidehudmsgs 0
// hideteam 0
// bulletairsound 1

//Binds
//CTF quick chats
bind UP [say "%Base"]
bind DOWN [say "%Middle"]
bind LEFT [say "%Left"]
bind RIGHT [say "%Right"]
bind backspace [if $editing [delent] [dropflag]]
bind RCTRL [showadminmenu]
bind LCTRL [jump]
bind LSHIFT [crouch]
bind P [if $editing [editheight 2 1] [if $paused [paused 0] [paused 1] ]]
//Combat binds
bind f [ if $editing [solid 1] [quicknadethrow] ]
bind q [ if $editing [ domodifier 1 ] [melee; attack]]
bind MOUSE3 [if $vol_echo [echovolumepercent] [if (= (curweapon) 0) [attack] [secondary; attack]]]
bind MOUSE1 [primary; attack]
bind MOUSE2 [ if $editing [ showmenu editing ] [ altaction ] ]
bind MOUSE6 [ if (= (curweapon) 0) [attack] [primary; attack]]
bind MOUSE7 []
alias "delta_game_0" [if (= $arg1 1) [melee] [secondary]]
alias altaction_0 [ if (> (magcontent 8) 0) [ quicknadethrow ] [ attack ] ] //rmb for knife when no nades are present
bind E [if (|| (= (curmode) 1) (= $editable_ 1)) [edittoggle] [showscores 0; toggleshowmap]]

alias "reconnect" [                                              
if ( = $connected 1 ) [                                          
curserverip = (curserver 1)                                      
curserverport = (curserver 3)                                    
disconnect                                                        
connect $curserverip $curserverport                              
][                                                                
echo " 3You must be connected before you can reconnect!"          
]]    
    

//Colour code
alias "CC" [ ]

// 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]

//Shorthand commands
alias k [setadmin 1 $arg 2; sleep 10; vote 2; kick $arg1; sleep 20; setadmin 0]
alias b [setadmin 1 $arg 2; sleep 10; vote 2; ban $arg1; sleep 20; setadmin 0]
alias sens [sensitivity $arg1]


//Show mapmodel clippings by default
showmodelclipping 1


//Whois all hehehehe
whoisable = 1
bind RALT [if (= $whoisable 0) [whoisable = 1; echo "Whois all loop 0on!"] [whoisable = 0; echo "Whois all loop 3off!"]]
alias whoisall [loop w 21 [whois $w]; if (= $whoisable 1) [waloop] []]
alias waloop [sleep 60000 [whoisall]]
bind "L" [ if $editing [ showmenu Lighting ] [whoisall]]

addcheck_msa [whoisall]
addcheck_si [whoisall]

alias fixgamma [gamma (+ $gamma 1); gamma (- $gamma 1)]
alias editable [editable_ = $arg1]
editable_ = 0

alias random_nick [
name (at $nickname_list (rnd (listlen $nickname_list)))]
nickname_list = "Sprahuah Booner Zkubsed Peltier CBSA"


alias q [quit]
alias nick [name $arg1]


//Cubescript Math
roundf = [
if (>= (+f ($arg1) 0.5) (+ ($arg1) 1.0)) [
(+ ($arg1) 1)] [
(+ ($arg1) 0)]
]


recip = [
(divf 1 $arg1)
]

stopsw = 0
stopwatch = [if (= (stopsw) 1) [sw_end = (millis); stopsw = 0; echo "Time elapsed:"(- $sw_end $sw_start)] [sw_start = (millis); stopsw = 1; echo "Stopwatch started"]]

bind K [ if $editing [corner] [ fixgamma ]]

//Quick mute/unmute
oldvol = 128
vol_echo = 0
alias mute [if (= $soundvol 0) [soundvol $oldvol; echo "AssaultCube unmuted"] [oldvol = $soundvol; soundvol 0; echo "AssaultCube muted"]]
bind M [ if $editing [ domodifier 6 ] [mute]]
alias delta_game_20 [ if (= $arg1 1) [ soundvol (+ $soundvol $arg1) ] [ soundvol (+ $soundvol $arg1) ] ]
alias delta_spect_20 [ if (= $arg1 1) [ soundvol (+ $soundvol $arg1) ] [ soundvol (+ $soundvol $arg1) ] ]
vol_echo_toggle = [vol_echo = 1; onrelease [vol_echo = 0]]
bind COMMA [ if $editing [ equalize 0 ] [ domodifier 20; vol_echo_toggle] ]
echovolumepercent = [if $vol_echo [echo " 4Volume:" $soundvol]]

bind 2 [ if $editing [ domodifier 7 ] [secondary] ]

sauerzoom = [
getfov = $fov
getsens = $sensitivity
gethudgun = $hudgun
fov 75
hudgun 0
sensitivity (*f $getsens (divf $fov $getfov))
onrelease [
    fov $getfov
    hudgun $gethudgun
    sensitivity $getsens
]
]

alias rndwep [rnd 4]
alias chooserndwep [nextprimary (+ $rndwep 2)]
alias crw [chooserndwep]

bind Z [if $editing [domodifier 2] [sauerzoom]]
alias altaction_2 [ sauerzoom ]

alias contog [if (!= $consize 0) [getconsize = $consize; consize 0] [if (> $getconsize 0) [consize $getconsize] [consize 6]]]

togglefog = [ if (= $fog 1024) [ if (&& (checkalias oldfog) (>= $oldfog 64) ) [ fog $oldfog ] [ fog 180 ] ] [ oldfog = $fog; sleep 5 [ fog 1024 ] ] ] ]

//autosavemap
asmable = ""
if (checkalias asminterval_) [] [ asminterval_ = 60000 ]
asminterval = [ asminterval_ = $arg1 ]
autosavemap = [ if (= $arg1 1) [ asmable = 1; savemap; sleep $asminterval_ [ if $asmable [ autosavemap ] ] ] [ asmable = 0 ] ]

//Abbreviated mode alias
alias surv [mode 3; map $arg1]

telehahable = 1
telehaha = [telehahable = 1; if (= $arg1 1) [telebot; sleep 1 [if $telehahable [telehaha 1]]] [ telehahable = 0 ]]

docident [telehaha] [Keep a bot in front of you using the telebot command in a recursive alias]
docargument [B] [The telehaha state] [Indicates whether telehaha should be enabled (1) or disabled (0).]

ragequit = [me ragequits; sleep 500 [quit]]
Thanks given by:
#12
// This file gets executed every time you start AssaultCube.

// This is where you should put any scripts you may have created for AC.



exec config/servershare.txt
exec config/private_servers.txt

Thanks given by:
#13
exec config\tools.cfg
execdir scripts
addcheck_onquit [echo ---------------- End Session ----------------]
Thanks given by:
#14
(14 Jun 11, 08:12PM)V-Man Wrote:
exec config\tools.cfg
execdir scripts
addcheck_onquit [echo ---------------- End Session ----------------]

Now post everything in your scripts folder :>
Thanks given by:
#15
Shorty: Why would you want to execute .txt files?
Thanks given by:
#16
Same as .cfg files.
Thanks given by:
#17
// This file gets executed every time you start AssaultCube.

// This is where you should put any scripts you may have created for AC.
Thanks given by:
#18
Lol gibbeh :d

ragequit = [me ragequits; sleep 500 [quit]]
Thanks given by:
#19
VenteX Wrote:Now post everything in your scripts folder :>
XD

Volume in drive C has no label.

Directory of ~\Program Files\AssaultCube_1104\scripts

06/14/2011  11:30 PM    <DIR>          .
06/14/2011  11:30 PM    <DIR>          ..
05/01/2011  11:34 PM    <DIR>          Add to tools
05/08/2011  10:13 AM    <DIR>          Archive
05/01/2011  11:58 PM    <DIR>          Debug
03/15/2011  09:49 PM    <DIR>          exec
06/05/2011  01:19 AM    <DIR>          Hold for now
02/20/2011  02:49 AM    <DIR>          Ready for release
01/22/2011  03:00 AM    <DIR>          zip files
03/17/2011  09:27 PM            41,550 achievements.cfg
02/20/2011  02:58 AM                 * admin_pwd_list.cfg
05/12/2011  11:02 PM               171 autoquit.cfg
02/06/2011  04:30 AM               998 claimadmin.cfg
02/28/2011  10:59 AM             1,221 cleanshot.cfg
03/16/2011  06:45 PM               263 editmode.cfg
02/24/2011  01:42 PM             1,261 friends.cfg
03/03/2011  07:04 PM               819 hotkeys.cfg
05/30/2011  02:22 PM               218 lightning.cfg
03/29/2011  07:23 PM             4,163 maptools docsection.cfg
03/30/2011  10:52 PM             6,481 maptools.cfg
02/26/2011  11:24 PM               464 noobthemap.cfg
02/22/2011  08:40 PM               302 pauseconline.cfg
05/08/2011  10:39 AM             1,420 powf.cfg
03/08/2011  04:42 PM             5,854 rapidfire.cfg
02/20/2011  02:41 AM             2,208 raveparty.cfg
02/16/2011  06:55 PM             2,053 remotecontrol.cfg
01/29/2011  10:21 PM             1,082 rewind.cfg
03/30/2011  10:43 PM               628 rndmap2.cfg
02/20/2011  02:21 AM             1,643 rndvdelta.cfg
02/22/2011  08:40 PM             2,280 sendalias.cfg
04/23/2011  08:32 PM               190 shoratio.cfg
03/11/2011  11:02 PM             1,994 smoothzoom.cfg
04/01/2011  10:32 PM               143 test.cfg
03/31/2011  12:41 PM             2,616 tetris.cfg
03/08/2011  09:23 PM               414 tmpgen.cfg
03/31/2011  11:47 PM            23,427 tools docsection.cfg
04/15/2011  11:52 PM               220 visualization.cfg
03/10/2011  01:30 AM             1,017 xhairanim.cfg
Thanks given by:
#20
(15 Jun 11, 04:43AM)Viper Wrote:
// This file gets executed every time you start AssaultCube.

// This is where you should put any scripts you may have created for AC.

Thanks given by:
#21
Tbh that's not really my autoexec... But mine has so many passwords it would be hard to edit them all out.
Thanks given by:
#22
startaimbot 1
startwallhack 1
startspeedhack 1
startspinhack 1
textreduce -1
bind n [say "SHOTGUN NOOB"]
Thanks given by:
#23
I have not touched my autoexec.cfg since 4/28/2011 8:59 p.m.

// This file gets executed every time you start AssaultCube.

// This is where you should put any scripts you may have created for AC.

execdir scripts

HEXADECIMAL = "0 1 2 3 4 5 6 7 8 9 A B C D E F"
HEXLENGTH = (listlen $HEXADECIMAL)

curfogcolor = "F F 0 0 0 0"

hexupdate = [
  tmparg = (getalias $arg1)
  tmpindex = (findlist $HEXADECIMAL (at $tmparg))
  if $arg2 [
    if (< (findlist $HEXADECIMAL (at $tmparg 1)) (- $HEXLENGTH 1)) [
      tmpindex = (concat $tmpindex (+ (findlist $HEXADECIMAL (at $tmparg 1)) 1)) ] [
      tmpindex = (concat (+ $tmpindex 1) 0) ] ] [
    if (> (findlist $HEXADECIMAL (at $tmparg 1))) [
      tmpindex = (concat $tmpindex (- (findlist $HEXADECIMAL (at $tmparg 1)) 1)) ] [
      tmpindex = (concat (- $tmpindex 1) (- $HEXLENGTH 1)) ] ]
  $arg1 = (concat (at $HEXADECIMAL (at $tmpindex)) (at $HEXADECIMAL (at $tmpindex 1))) ]
isf = [ result (&& [ strcmp (at $arg1) "F" ] [ strcmp (at $arg1 1) "F" ]) ]
iszero = [ result (&& [ strcmp (at $arg1) "0" ] [ strcmp (at $arg1 1) "0" ]) ]
rave = [
  fogr = (concat (at $curfogcolor) (at $curfogcolor 1))
  fogg = (concat (at $curfogcolor 2) (at $curfogcolor 3))
  fogb = (concat (at $curfogcolor 4) (at $curfogcolor 5))
  if (isf $fogr) [
    if (isf $fogg) [ hexupdate fogr 0 ] [
      if (iszero $fogb) [ hexupdate fogg 1 ] [ hexupdate fogb 0 ] ] ] [
  if (isf $fogg) [
    if (isf $fogb) [ hexupdate fogg 0 ] [
      if (iszero $fogr) [ hexupdate fogb 1 ] [ hexupdate fogr 0 ] ] ] [
  if (isf $fogb) [
    if (isf $fogr) [ hexupdate fogb 0 ] [
      if (iszero $fogg) [ hexupdate fogr 1 ] [ hexupdate fogg 0 ] ] ] ] ]
  curfogcolor = (concat $fogr $fogg $fogb)
  tmpcurfogcolor = (at $curfogcolor)
  loop i (- (listlen $curfogcolor) 1) [
    tmpcurfogcolor = (concatword $tmpcurfogcolor (at $curfogcolor (+ $i 1))) ]
  fogcolour (concatword "0x" $tmpcurfogcolor)
  sleep 0 rave ]

AFK_NAME = "|AFK|Yarukinasu" // replace this with the AFK name
CUR_NAME = "|FOX|Yarukinasu" // replace this with the original name

lastmoved = (millis)

afk = [
  if (> (- (millis) $lastmoved) 300000) [
    if (strcmp $curname $CUR_NAME) [ name $AFK_NAME ] ] [
    if (strcmp $curname $AFK_NAME) [ name $CUR_NAME ] ]
  sleep 0 afk ]

altaction_5 = [
  setscope 1
  scoping = 1
  onrelease [ setscope 0; scopefov 60; scopesensscale 0.5; scoping = 0 ] ]
claimadmin = [
  if (strcmp (curserver 1) "192.168.1.1") [ tmppassword = "trolololol" ] [
  if (strcmp (curserver 1) "127.0.0.1") [ tmppassword = "desudesudesu" ] ]
  setadmin 1 $tmppassword ]
listen_for_hit = [
  my_pstat_weap = (pstat_weap (findcn $curname))
  if (checkalias old_pstat_weap) [
    if (! (strcmp $my_pstat_weap $old_pstat_weap)) [
      curweapindex = (+ (* (curweapon) 2) 1)
      if (> (at $my_pstat_weap $curweapindex) (at $old_pstat_weap $curweapindex)) [
        loadcrosshair dot_wide-hit.png // replace this with the "hit" crosshair
        sleep 50 [
          loadcrosshair dot_wide.png // the default crosshair
          loadcrosshair teammate.png teammate
          loadcrosshair red_dot.png scope ] ] ] ]
  old_pstat_weap = $my_pstat_weap
  sleep 0 listen_for_hit ]
ragequit = [ say "OMG YOU GUYS ARE HACKERS!!!"; disconnect ]
scoping = 0
selfdestruct = [ // by |FOX|Thrawn
  tmpseconds = (+ $arg1 1)
  seconds = $tmpseconds
  loop secnum $tmpseconds [
    sleep (* $secnum 1000) [
      -= seconds 1
      if $seconds [ me (format "will self-destruct in %1..." $seconds) ] ] ]
  sleep (* $arg1 1000) [ suicide ] ]
slowspamforceteam = [
  spamcn = $arg1
  loop i $arg2 [
    sleep (* $i 5000) [ if (strnot (findpn $spamcn)) [ forceteam $spamcn ] ] ] ]
spamchangeteam = [
  loop i $arg1 [ sleep (* $i 60) [ changeteam ] ] ]
spamforceteam = [
  spamcn = $arg1
  loop i $arg2 [
    sleep (* $i 60) [ if (strnot (findpn $spamcn)) [ forceteam $spamcn ] ] ] ]
you = [
  tmpname = $curname
  tmpmessage = $arg2
  if (> $numargs 2) [
    loop i (- $numargs 2) [
      tmpmessage = (concat $tmpmessage (getalias (format "arg%1" (+ $i 3)))) ] ]
  name $arg1
  me $tmpmessage
  name $tmpname ]

add2conloop [ if_conline_has "connected: " [ whois (findcn (at $conline 1)) ] [ ] ]
addcheck_msa [ afk; listen_for_hit; rave ]

bind MOUSE4 [
  if $scoping [
    if (> $scopefov 5) [
      -= scopefov 5
      scopesensscale (+f (*f (*f (divf 0.5 (tan (toradians (divf $fov 2)))) (tan (toradians (divf $scopefov 2)))) (divf $scopefov 20.37)) 0.009) ] ] [ universaldelta 1 ] ]
bind MOUSE5 [
  if $scoping [
    if (< $scopefov 60) [
      += scopefov 5
      scopesensscale (+f (*f (*f (divf 0.5 (tan (toradians (divf $fov 2)))) (tan (toradians (divf $scopefov 2)))) (divf $scopefov 20.37)) 0.009) ] ] [ universaldelta -1 ] ]
bind F [ if $editing [ solid 1 ] [ quicknadethrow ] ]
bind R [ // something useless made by |FOX|Yarukinasu...
  reload
  if (|| [ ! (curweapon) ] [ = (curweapon) 8 ]) [ // avoid failure
    echo (c 3) "LOL FAIL" ] [ // accept success
    echo (c 3) "reloading..."
    if (|| [ = (curweapon) 1 ] [ = (curweapon) 9 ]) [ // PISTOL OR AKIMBO
      reloadtime = 1400 ] [
    if (= (curweapon) 2) [ // CARBINE
      reloadtime = 1800 ] [
    if (= (curweapon) 3) [ // PRO GUN
      reloadtime = 2400 ] [
    if (= (curweapon) 4) [ // SUBMACHINE GUN
      reloadtime = 1650 ] [
    if (= (curweapon) 5) [ // NOOB GUN
      reloadtime = 1950 ] [
    if (= (curweapon) 6) [ // ASSAULT RIFLE
      reloadtime = 2000 ] ] ] ] ] ] ]
    sleep $reloadtime [ echo (c 0) "reloaded" ] ]
bind Z [ if $editing [ domodifier 2 ] [ say "that's what she said" ] ]
bind CAPSLOCK [ sound 50; onrelease [ sound 52 ] ]
bind F1 [ && (vote 1) [ echo (c 3) "you pressed F1" ] ]
bind F2 [ && (vote 2) [ echo (c 3) "you pressed F2" ] ]

loop i (listlen $keylist) [ add2bind (at $keylist $i) [ lastmoved = (millis) ] ]
Thanks given by:
#24
// This file gets executed every time you start AssaultCube.

// This is where you should put any scripts you may have created for AC.


exec config/keytest.cfg
Thanks given by:
#25
Quote:if (strcmp (curserver 1) "192.168.1.1") [ tmppassword = "trolololol" ]

Your router can run a server? :OOOO
Thanks given by:
#26
Where is autoexec.cfg i have looked in config file and its not there???
Thanks given by:
#27
:S
You're in trouble then.
What OS do you use?
Thanks given by:
#28
(21 Jun 11, 11:24PM)V-Man Wrote: :S
You're in trouble then.
What OS do you use?

windows 7.
Thanks given by:
#29
Did you look in your AC game-home, or your user directory?
* V-Man can't remember the default Windows 7 "My Documents" folder name...
Look in both, if it's not in one, it should be in the other.
Thanks given by:
#30
(25 Jun 11, 10:52PM)V-Man Wrote: Did you look in your AC game-home, or your user directory?
* V-Man can't remember the default Windows 7 "My Documents" folder name...
Look in both, if it's not in one, it should be in the other.

I FOUND IT!!!! thanks man. and another thing, what do you use to open the text?
Thanks given by: