21 Feb 11, 04:14AM
there should be a way to take your vote back in ac (if there already is I'm a dumbass). What if you accidentally hit f1 to a map called "theworstmapeverF1PLZ" & you meant to hit f2 you'd be screwed.
|
Recalling votes
|
|
21 Feb 11, 04:14AM
there should be a way to take your vote back in ac (if there already is I'm a dumbass). What if you accidentally hit f1 to a map called "theworstmapeverF1PLZ" & you meant to hit f2 you'd be screwed.
21 Feb 11, 04:40AM
no, you can just leave the server.
21 Feb 11, 04:58AM
There was a script written that placed a 5 second delay before a vote was cast with the option to change or cancel the vote.
21 Feb 11, 05:15AM
You are telling me that that last vote I called to kick the bitch who just killed me three seconds ago with what was obviously katana hack can be recalled before I hit f1? Dang... maybe I should drink more to cope with the pain of death??
21 Feb 11, 05:16AM
this isn't even the right thread; there is a thread specifically designated for ideas.
Hint: it's called 'Ideas'
Delayed vote script: gives you a 5 second grace period to cancel your vote. To cancel, press the opposite vote button. To vote before then, just vote again.
Code: // 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]
21 Feb 11, 06:50PM
Gibbstick does it again...
Scripts thread?
21 Feb 11, 06:59PM
it's there, I just don't know where.
21 Feb 11, 07:46PM
21 Feb 11, 09:05PM
Gibstick: That WAS helpful :D
Thanks a lot
27 Feb 11, 07:47AM
Yeah that script is cool
27 Feb 11, 05:37PM
Thank GD
22 Mar 11, 10:22AM
Good idea, but why don't we put a 5 second grace period on whether you want to shoot your gun or not as I sometimes accidentally shoot my team mates :(
Good idea? :P
22 Mar 11, 11:50AM
You should post that in the ideas thread, where it belongs.
22 Mar 11, 12:04PM
LOL at all the haters. Nice goading MK.
22 Mar 11, 12:10PM
BTW it won't work for votes you call, it only works when you cast votes. But I can easily fix that, later.
22 Mar 11, 12:17PM
|
|
« Next Oldest | Next Newest »
|