Uhh.... binds aren't working?
#1
I don't exactly know how or why my binds aren't working.

Yeah I know how to use autoexec.cfg, yeah I know I can go in-game and manually type each bind one-by-one.
The thing is, I have scripts that I want to use e.g. Bukz's demo rewind script, and some menu scripts for admin/de-ban passwords and for match server connects.
Oh and I also have binded voicecoms for y'know... Such as quickly saying "<--- FLAG LEFT! <---" in a clan match.

I have tried to use /resetbinds to no avail. Also tried to delete saved.cfg in \Documents\AssaultCube_v1.1\config and re-installed AC altogether which didn't work as well.

Here's my autoexec.cfg in-case all I did was actually make a silly error that somehow lead to this problem:
name HyPE|Fate

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

bind PLUS "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 *snipped*]
menuitem "No" [showmenu "Claim Admin"]

//HyPE
newmenu "HyPE"
menuitem "Yes" [setadmin 1 *snipped*]
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"]
menuitem "TyD" [showmenu "TyD"]
menuitem "BC" [showmenu "BC"]
menuitem "DES" [showmenu "DES"]
menuitem "TBR" [showmenu "TBR"]
menuitem "=SA=" [showmenu "=SA="]

//HyPE
newmenu "HyPE"
menuitem "Limbo" [connect us.hype-clan.com 22022 *snipped*]
menuitem "Insomnia" [connect us.hype-clan.com 33033 *snipped*]
menuitem "Redemption" [connect ca.hype-clan.com 57575 *snipped*]
menuitem "Hidden Valley" [connect ca.hype-clan.com 56000 *snipped*]
menuitem "back" [showmenu "connects"]

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

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

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

//=SA=
newmenu "=SA="
menuitem "=SA= Part Time" [connect 71.63.111.190 28763 *snipped*]
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

Suggestions as to what to do?

This is what I feel like right now
[Image: vnm4gf4c.m1w.jpg]
Thanks given by:
#2
You're missing a "]" on your P bind, for one.

Try:

bind P [ if $editing [ editheight 2 1 ] [showmenu "Private Connects"] ]
Thanks given by:
#3
Sigh... I knew I accidentally my autoexec.cfg

Anyways, thank you very much Bukz :)
So here's a sum of 1,000,000,000,000 Internets
[Image: ncredj0q.iqf.png]


Thanks given by:
#4
* Frogulis scrolls down autoexec.cfg for admin passwords
...
>.<
Thanks given by:
#5
(10 Jun 11, 02:45PM)Frogulis Wrote: * Frogulis scrolls down autoexec.cfg for admin passwords

I knew someone would do that xD

Thanks given by:
#6
I was doing it to make sure that I didn't need to edit them out XD.

Money exchanged hands, I say the problem was fixed. Closed to prevent thread hijackery.
Thanks given by: