Script Contest
#4
My entires (will edit this post with more later :D):

One-Liner #1

alias start_intermission [if (= $connected 1) [sleep 10 [say "gg! :)"]; sleep 5000 [screenshot]] []]

Auto-say "gg" / take screenshot one-liner for AC 1.0.4 by DES|Bukz
Does nothing if you are playing against bots. :)




One-Liner #2

alias aq [if (= (alive) 1) [suicide; sleep 1000 [aq]] [echo "Auto-quit in 15 seconds!"; sleep 7500 [say "bb"; sleep 4500 [echo "...3"; sleep 1000 [echo "...2"; sleep 1000 [echo "...1"; sleep 1000 [quit]]]]]]]

Auto-quit script for AC by DES|Bukz
The idea is to have this bound to a key and if you ever need to quickly leave your computer for whatever reason, you can just press the key, leave the room, and forget about it - it says goodbye (as well as gives other people on the server a chance to respond - only useful if you do client logging :P) and quits AC automatically for you after 15 seconds.
If you are alive when the script is executed, it will force you to suicide - so those pesky enemies don't get any cheap AFK kills on you. 7 and 1/2 seconds into the scripts execution it will say a custom goodbye message to the others on the server - say "bb" - and you'll get a nice little countdown towards the end of it's execution before finally automatically quitting.

Bind it to a key like so:


bind "KEY" [aq]



One-Liner #3

alias magcheck [if (= (magcontent (currentprimary)) 0) [if (= (magcontent 6) 0) [secondary] [grenades]] []]

Auto-weapon switch if out of ammo script for AC 1.0.4 by DES|Bukz
Auto-switch to grenades/secondary weapon if your current primary weapon has no ammo in it.
If you do not have any grenades it will auto-switch to pistol/akimbo.
If you have any grenades it will switch to them.
However, for this script to work, you must bind the magcheck alias to MOUSE1 - like so:


bind "MOUSE1" [attack; magcheck]



One-Liner #4

bind "B" [if $editing [if (= $fullbright 1) [fullbright 0] [fullbright 1]][showmenu Weapons]]

Nothing special here just a simple bind that checks if you are editing - if so - when you repeatedly press B it will toggle fullbright on/off - and if you're not editing it will show the weapons menu like the default bind.



One-Liner #5

bind "KEY" [if $editing [if (= $flrceil 2) [equalize 2] [equalize 0]]] // Level the geometry of the floor or ceiling quickly based on where you are currently looking (yaw)

A simple editing bind that allows you to quickly level the geometry of the selected cubes - and choose which cubes to level (floor/ceiling) based on where you are currently looking (at the ceiling or at the floor) - convenient for quickly undo'ing heightfields, areas with lots of elevation that needs to be reworked, etc.



5-Liner #1

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
]

Auto-create bots script for AC 1.0.4 by DES|Bukz (debug help from R4zor)
Typing /stbots 10 bad while in a bot compatible TEAM mode will fill the map with 9 other bots and assign their teams evenly (4 for your team - 5 for the other).

Some optional in-game documentation stuff you could add to your autoexec.cfg or docs.cfg:


docsection [Misc]
docident [stbots] [Adds multiple bots to a map.];
docremark [Automatically adds the specified number of bots to the map, and assign their teams evenly.];
docargument [N] [Total number of bots to add.] [] [0];
docargument [S] [Skill level of the bots. (best, good, medium, worse OR bad)] [] [0];
docexample [stbots 10 bad] [Result: 4 bots assigned to your team, 5 bots assigned to the enemy team.];



5-Liner #2

alias noobthemap [
edittoggle
select 8 8 496 496 // Select EVERYTHING on a size 9 map.
sleep 20 [solid 0; equalize 0; equalize 2; say "ASHUASHUASHAUH"]
sleep 100 [edittoggle]]

Only use it on people you don't like or in singleplayer for some O_o's - :D



Limitless #1

Nice menu for quickly and easily selecting entire maps - based off default map sizes (AND locations).

http://desbukz.pastebin.com/ayzkC71b

Bind it to a key like so:


bind "KEY" [showmenu "Select"]
Thanks given by:


Messages In This Thread
Script Contest - by Mael - 17 Jul 10, 11:23PM
RE: Script Contest - by V-Man - 17 Jul 10, 11:29PM
RE: Script Contest - by DrauL - 18 Jul 10, 05:06AM
RE: Script Contest - by Bukz - 18 Jul 10, 06:15AM
RE: Script Contest - by V-Man - 18 Jul 10, 02:29PM
RE: Script Contest - by Dreamer - 19 Jul 10, 03:04AM
RE: Script Contest - by #M|A#Wolf - 19 Jul 10, 03:10AM
RE: Script Contest - by V-Man - 19 Jul 10, 03:11AM
RE: Script Contest - by Mael - 19 Jul 10, 03:36AM
RE: Script Contest - by V-Man - 19 Jul 10, 06:35PM
RE: Script Contest - by Dreamer - 19 Jul 10, 08:09PM
RE: Script Contest - by V-Man - 19 Jul 10, 10:11PM
RE: Script Contest - by DrauL - 20 Jul 10, 07:25AM
RE: Script Contest - by Orynge - 20 Jul 10, 09:10AM
RE: Script Contest - by V-Man - 20 Jul 10, 08:47PM
RE: Script Contest - by Alien - 21 Jul 10, 11:50AM
RE: Script Contest - by Gibstick - 21 Jul 10, 11:31PM
RE: Script Contest - by DrauL - 22 Jul 10, 10:18AM
RE: Script Contest - by Ronald_Reagan - 26 Jul 10, 01:54AM
RE: Script Contest - by DrauL - 26 Jul 10, 03:21AM
RE: Script Contest - by |FmC|Aqua_3m - 26 Jul 10, 02:10PM
RE: Script Contest - by Ronald_Reagan - 26 Jul 10, 08:58PM
RE: Script Contest - by V-Man - 26 Jul 10, 09:29PM
RE: Script Contest - by Dreamer - 27 Jul 10, 05:09AM
RE: Script Contest - by DrauL - 27 Jul 10, 06:00AM
RE: Script Contest - by V-Man - 27 Jul 10, 02:37PM
RE: Script Contest - by RIPBillyMays - 27 Jul 10, 06:16PM
RE: Script Contest - by V-Man - 28 Jul 10, 11:34PM
RE: Script Contest - by Ronald_Reagan - 29 Jul 10, 05:53AM
RE: Script Contest - by DrauL - 01 Aug 10, 07:48AM