Author Topic: Bind talk problems  (Read 3301 times)

Her3tic

  • Posts: 172
  • Turrets: +6/-14
Bind talk problems
« on: February 29, 2008, 03:50:18 am »
I got problems with this part of my binds

Code: [Select]
bind KP_NUMLOCK "vstr switchT"
set switchT "echo ^7Team ^4Talk; bind KP_PLUS "say_team ^7Roger/^4Yes/^1Affirmative; bind KP_MINUS "say_team ^7Damn/^1No/^2Negative; bind

KP_NUMLOCK vstr switchA"
set switchA "echo ^7All ^1Talk; bind KP_PLUS "say ^7Roger/^4Yes/^1Affirmative; bind KP_MINUS "say ^7Damn/^1No/^2Negative; bind KP_NUMLOCK vstr

switchT"

Suppose to let me say Yes Or No each with their own different keys.. One Variable enable Team_talk, the other is public, i got Echo to let me know wich i got...

Dont work and i dont know why...

Heres my H binds if that is the problem

Code: [Select]
bind "g buy ammo"
bind "r reload"
bind "e itemact medkit"

bind c "vstr Crouch"
set Crouch ";+movedown; bind c vstr Stand"
set Stand "-movedown; bind c vstr Crouch"

binb "SHIFT boost; vstr Run"
bind p "vstr Walk"
set Walk ";+speed; bind z vstr Run"
set Run "-speed; bind z vstr Walk"


bind 1 "vstr NakedRifle"
set NakedRifle "echo ^2Naked ^1Rifle; sell weapons; sell upgrades; buy rifle; itemact rifle; bind 1 vstr ArmouredRifle"
set ArmouredRifle "echo ^2Armoured ^1Rifle; sell weapons; sell upgrades; buy rifle; buy larmour; buy helmet; itemact rifle; bind 1 vstr JetRifle"
set JetRifle "echo ^2Jetpack ^1Rifle; sell weapons; sell upgrades; buy rifle; buy larmour; buy helmet; buy jetpack; itemact rifle; bind 1 vstr ChainsuitRifle"
set ChainsuitRifle"echo ^2Battlesuit ^1Rifle; sell weapons; sell upgrades; buy rifle; buy bsuit; itemact rifle; bind 1 vstr NakedRifle"


bind 2 "vstr NakedShotgun"
set NakedShotgun "echo ^2Naked ^1Shotgun; sell weapons; sell upgrades; buy shotgun; itemact shotgun; bind 2 vstr ArmouredShotgun"
set ArmouredShotgun "echo ^2Armoured ^1Shotgun; sell weapons; sell upgrades; buy shotgun; buy larmour; buy helmet; itemact shotgun; bind 2 vstr

ChainsuitShotgun"
set ChainsuitShotgun"echo ^2Battlesuit ^1Shotgun; sell weapons; sell upgrades; buy shotgun; buy bsuit; itemact shotgun; bind 2 vstr NakedShotgun"


bind 3 "vstr NakedLasgun"
set NakedLasgun "echo ^2Naked ^1Lasgun; sell weapons; sell upgrades; buy lgun; itemact lgun; bind 3 vstr ArmouredLasgun"
set ArmouredLasgun "echo ^2Armoured ^1Lasgun; sell weapons; sell upgrades; buy lgun; buy larmour; buy helmet; itemact lgun; bind 3 vstr BattLasgun"
set BattLasgun "echo ^2Battpack ^1Lasgun; sell weapons; sell upgrades; buy lgun; buy larmour; buy helmet; buy battpack; itemact lgun; bind 3 vstr

JetLasgun"
set JetLasgun "echo ^2Jetpack ^1Lasgun; sell weapons; sell upgrades; buy lgun; buy larmour; buy helmet; buy jetpack; itemact lgun; bind 3 vstr

ChainsuitLasgun"
set ChainsuitLasgun"echo ^2Battlesuit ^1Lasgun; sell weapons; sell upgrades; buy lgun; buy bsuit; itemact lgun; bind 3 vstr NakedLasgun"


bind 4 "vstr NakedPulseRifle"
set NakedPulseRifle "echo ^2Naked ^1PulseRifle; sell weapons; sell upgrades; buy prifle; itemact prifle; bind 4 vstr ArmouredPulseRifle"
set ArmouredPulseRifle "echo ^2Armoured ^1PulseRifle; sell weapons; sell upgrades; buy prifle; buy larmour; buy helmet; itemact prifle; bind 4 vstr

BattPulseRifle"
set BattPulseRifle "echo ^2Battpack ^1PulseRifle; sell weapons; sell upgrades; buy prifle; buy larmour; buy helmet; buy battpack; itemact prifle; bind 4 vstr

JetPulseRifle"
set JetPulseRifle "echo ^2Jetpack ^1PulseRifle; sell weapons; sell upgrades; buy prifle; buy larmour; buy helmet; buy jetpack; itemact prifle; bind 4 vstr

ChainsuitPulseRifle"
set ChainsuitPulseRifle"echo ^2Battlesuit ^1PulseRifle; sell weapons; sell upgrades; buy prifle; buy bsuit; itemact prifle; bind 4 vstr NakedPulseRifle"


bind 5 "vstr NakedMassDriver"
set NakedMassDriver "echo ^2Naked ^1MassDriver; sell weapons; sell upgrades; buy mdriver; itemact mdriver; bind 5 vstr ArmouredMassDriver; vstr Scope"
set ArmouredMassDriver "echo ^2Armoured ^1MassDriver; sell weapons; sell upgrades; buy mdriver; buy larmour; buy helmet; itemact mdriver; bind 5 vstr

BattMassDriver; vstr Scope"
set BattMassDriver "echo ^2Battpack ^1MassDriver; sell weapons; sell upgrades; buy mdriver; buy larmour; buy helmet; buy battpack; itemact mdriver; bind

5 vstr JetMassDriver; vstr Scope"
set JetMassDriver "echo ^2Jetpack ^1MassDriver; sell weapons; sell upgrades; buy mdriver; buy larmour; buy helmet; buy jetpack; itemact mdriver; bind 5

vstr ChainsuitMassDriver; vstr Scope"
set ChainsuitMassDriver"echo ^2Battlesuit ^1MassDriver; sell weapons; sell upgrades; buy mdriver; buy bsuit; itemact mdriver; bind 5 vstr NakedMassDriver;

vstr Scope"


set Scope ";+zoom; bind mouse2 vstr UnScope"
set UnScope "-zoom; bind mouse2 vstr Scope"
set NormScope "bind mouse2 "+button5; +zoom"

bind 6 "vstr NakedChaingun"
set NakedChaingun "echo ^2Naked ^1Chaingun; sell weapons; sell upgrades; buy chaingun; itemact chaingun; bind 6 vstr ArmouredChaingun"
set ArmouredChaingun "echo ^2Armoured ^1Chaingun; sell weapons; sell upgrades; buy chaingun; buy larmour; buy helmet; itemact chaingun; bind 6 vstr

ChainsuitChaingun"
set ChainsuitChaingun"echo ^2Battlesuit ^1Chaingun; sell weapons; sell upgrades; buy chaingun; buy bsuit; itemact chaingun; bind 6 vstr NakedChaingun"


bind 7 "vstr NakedLuciferCannon"
set NakedLuciferCannon "echo ^2Naked ^1LuciferCannon; sell weapons; sell upgrades; buy lcannon; itemact lcannon; bind 7 vstr ArmouredLuciferCannon;

vstr NormScope"
set ArmouredLuciferCannon "echo ^2Armoured ^1LuciferCannon; sell weapons; sell upgrades; buy lcannon; buy larmour; buy helmet; itemact lcannon; bind

7 vstr BattLuciferCannon; vstr NormScope"
set BattLuciferCannon "echo ^2Battpack ^1LuciferCannon; sell weapons; sell upgrades; buy lcannon; buy larmour; buy helmet; buy battpack; itemact

lcannon; bind 7 vstr JetLuciferCannon; vstr NormScope"
set JetLuciferCannon "echo ^2Jetpack ^1LuciferCannon; sell weapons; sell upgrades; buy lcannon; buy larmour; buy helmet; buy jetpack; itemact lcannon;

bind 7 vstr ChainsuitLuciferCannon; vstr NormScope"
set ChainsuitLuciferCannon"echo ^2Battlesuit ^1LuciferCannon; sell weapons; sell upgrades; buy lcannon; buy bsuit; itemact lcannon; bind 7 vstr

NakedLuciferCannon; vstr NormScope"


bind 8 "vstr NakedSaw"
set NakedSaw "echo ^2Naked ^1Saw; sell weapons; sell upgrades; buy psaw; itemact psaw; bind 8 vstr ArmouredSaw"
set ArmouredSaw "echo ^2Armoured ^1Saw; sell weapons; sell upgrades; buy psaw; buy larmour; buy helmet; itemact psaw; bind 8 vstr JetSaw"
set JetSaw "echo ^2Jetpack ^1Saw; sell weapons; sell upgrades; buy psaw; buy larmour; buy helmet; buy jetpack; itemact psaw; bind 8 vstr ChainsuitSaw"
set ChainsuitSaw"echo ^2Battlesuit ^1Saw; sell weapons; sell upgrades; buy psaw; buy bsuit; itemact psaw; bind 8 vstr NakedSaw"


bind MOUSE3 "itemtoggle blaster"


bind ALT "itemact gren; team_say ^4N^7ADE ^1!!!"


bind 9 "vstr builder"
set builder "echo ^2Armoured ^1Builder; sell weapons; sell upgrades; class ackit; class ckit; buy larmour; buy helmet; itemact ckit; bind 9 vstr Abuilder"
set Abuilder "echo ^2Armoured ^1Builder; sell weapons; sell upgrades; class ackit; ; buy larmour; buy helmet; itemact ackit; bind 9 vstr builder"


bind INS "class ckit; sell weapons; buy ckit; itemact ckit; vstr hbuildwheel"
set hbuildWheel "bind MWHEELUP vstr HS5; bind MWHEELDOWN vstr HS1"
set HS1 "echo ^4***Reactor^1|^2Telenode^1|^4MG Turret^1|^4Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build telenode; bind

MWHEELDOWN vstr HS2; bind MWHEELUP vstr HS5"
set HS2 "echo ^4***Reactor^1|^4Telenode^1|^2MG Turret^1|^4Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build mgturret; bind

MWHEELDOWN vstr HS3; bind MWHEELUP vstr HS1"
set HS3 "echo ^4***Reactor^1|^4Telenode^1|^4MG Turret^1|^2Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build arm; bind

MWHEELDOWN vstr HS4; bind MWHEELUP vstr HS2"
set HS4 "echo ^4***Reactor^1|^4Telenode^1|^4MG Turret^1|^4Armory^1|^2Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build medistat; bind

MWHEELDOWN vstr HS5; bind MWHEELUP vstr HS3"
set HS5 "echo ^4***^2Reactor^1|^4Telenode^1|^4MG Turret^1|^4Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build reactor; bind

MWHEELDOWN vstr HS1; bind MWHEELUP vstr HS4"

bind DEL "class ackit; sell weapons; buy ackit; itemact ackit; vstr ADVhbuildwheel"
set ADVhbuildWheel "bind MWHEELUP vstr AHS8; bind MWHEELDOWN vstr AHS1"
set AHS1 "echo ^4***Reactor^1|^2Telenode^1|^4MG Turret^1|^4Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build telenode; bind

MWHEELDOWN vstr AHS2; bind MWHEELUP vstr AHS8"
set AHS2 "echo ^4***Reactor^1|^4Telenode^1|^2MG Turret^1|^4Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build mgturret; bind

MWHEELDOWN vstr AHS3; bind MWHEELUP vstr AHS1"
set AHS3 "echo ^4***Reactor^1|^4Telenode^1|^4MG Turret^1|^2Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build arm; bind

MWHEELDOWN vstr AHS4; bind MWHEELUP vstr AHS2"
set AHS4 "echo ^4***Reactor^1|^4Telenode^1|^4MG Turret^1|^4Armory^1|^2Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build medistat; bind

MWHEELDOWN vstr AHS5; bind MWHEELUP vstr AHS3"
set AHS5 "echo ^4***Reactor^1|^4Telenode^1|^4MG Turret^1|^4Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^2Tesla^4***; build tesla; bind

MWHEELDOWN vstr AHS6; bind MWHEELUP vstr AHS4"
set AHS6 "echo ^4***Reactor^1|^4Telenode^1|^4MG Turret^1|^4Armory^1|^4Medistation^3|^4Repeater^1|^2Defcomp^3|^4Tesla***; build dcc; bind

MWHEELDOWN vstr AHS7; bind MWHEELUP vstr AHS5"
set AHS7 "echo ^4***Reactor^1|^4Telenode^1|^4MG Turret^1|^4Armory^1|^4Medistation^3|^2Repeater^1|^4Defcomp^3|^4Tesla***; build repeater; bind

MWHEELDOWN vstr AHS8; bind MWHEELUP vstr AHS6"
set AHS8 "echo ^4***^2Reactor^1|^4Telenode^1|^4MG Turret^1|^4Armory^1|^4Medistation^3|^4Repeater^1|^4Defcomp^3|^4Tesla***; build reactor; bind

MWHEELDOWN vstr AHS1; bind MWHEELUP vstr AHS7"


bind KP_NUMLOCK "vstr switchT"
set switchT "echo ^7Team ^4Talk; bind KP_PLUS "say_team ^7Roger/^4Yes/^1Affirmative; bind KP_MINUS "say_team ^7Damn/^1No/^2Negative; bind

KP_NUMLOCK vstr switchA"
set switchA "echo ^7All ^1Talk; bind KP_PLUS "say ^7Roger/^4Yes/^1Affirmative; bind KP_MINUS "say ^7Damn/^1No/^2Negative; bind KP_NUMLOCK vstr

switchT"



bind KP_INS "say_team ^7!^4OVERMIND ^1DOWN^7!"
bind KP_END "say_team ^7Enemy ^2is ^3Weak,^1ATTACK^7!!!"
bind KP_DOWNARROW "say_team ^3!!!^7Eggs ^1are ^1Down ^3!!! ^1Kill All ^7Grangers^3!!!"
bind KP_PGDN "say_team ^1WARNING ^7INCOMING ^1WARNING"
bind KP_LEFTARROW "say_team ^1BASE^7!!! ^4BASE^7!!!"
bind KP_5 "say_team ^1Those Motherfucker are ^3S2!"
bind KP_RIGHTARROW "say_team ^2Goddamnit ... They're ^2S3!"
bind KP_HOME "say_team ^2Goon ^1SPOTTED!"
bind * "say ^1All ^4Believers ^1Shall ^1Die^7!!!"
bind KP_ENTER "say Stop Praying For ^4God ^0.......... ^1Her^43^1tic ^2Killed Him^3!!!
bind KP_UPARROW "say U Got Powned"
bind KP_PGUP "say ^7¤ ^1. ^7¤"
T"

And my main one

Code: [Select]
unbindall

seta name ^7{^4A^7C^4R^7}^1Her^43^1tic
say "^4Hi All ^3!^1/^7Bonjour a tous^3!"


bind ESCAPE "togglemenu"
bind ` "toggleconsole"
bind TAB "+scores"
bind t messagemode
bind y messagemode2
bind u messagemode3
bind i messagemode4

bind UPARROW +forward
bind DOWNARROW +back
bind LEFTARROW +left
bind RIGHTARROW +right
bind SPACE "+moveup"
bind CTRL "+movedown"
bind SHIFT "+speed"
bind w +forward
bind s +back
bind a +moveleft
bind d +moveright

bind mouse1 +attack
bind mouse2 "+button5; +zoom"

bind ENTER "+button2"
bind f "+button3"
bind x "deconstruct"
bind q "+button7"


bind F1 "vote yes; teamvote yes"
bind F2 "vote no;  teamvote no"
bind F3 "say !passvote"
bind F4 "say !cancelvote"
bind F8 "say !allready"
bind F9 "teamstatus"
bind F10 "team aliens; exec Aliens.cfg"
bind F11 "say !specme; team spec"
bind F12 "team humans; exec Humans.cfg"

bind OxOO "screenshotjpeg; echo ^1S^2creenshot"
bind END  "donate 3200; disconnect"

Thx to you if you find out the problems  ;)
...After all, we're all just here because we love Tremulous...
Every revolutionary ends up either by becoming an oppressor or a Heretic.
Albert Camus

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Bind talk problems
« Reply #1 on: February 29, 2008, 06:25:46 am »
you can't nest quotes, here's how it should look:
Code: [Select]
bind KP_NUMLOCK "vstr switchT"
set switchT "echo ^7Team ^4Talk; bind KP_PLUS say_team ^7Roger/^4Yes/^1Affirmative; bind KP_MINUS say_team ^7Damn/^1No/^2Negative; bind KP_NUMLOCK vstr switchA"
set switchA "echo ^7All ^1Talk; bind KP_PLUS say ^7Roger/^4Yes/^1Affirmative; bind KP_MINUS say ^7Damn/^1No/^2Negative; bind KP_NUMLOCK vstr switchT"
« Last Edit: February 29, 2008, 06:03:28 pm by Rocinante »
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Her3tic

  • Posts: 172
  • Turrets: +6/-14
Re: Bind talk problems
« Reply #2 on: February 29, 2008, 02:56:21 pm »
I dont really understand what u did, i only see the absence of Quote in the second line (in all talk)

And in fact, it dont work
« Last Edit: February 29, 2008, 04:09:15 pm by Her3tic »
...After all, we're all just here because we love Tremulous...
Every revolutionary ends up either by becoming an oppressor or a Heretic.
Albert Camus

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Bind talk problems
« Reply #3 on: February 29, 2008, 05:28:27 pm »
whoops, missed a two "s, try it now
« Last Edit: February 29, 2008, 06:04:01 pm by Rocinante »
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Her3tic

  • Posts: 172
  • Turrets: +6/-14
Re: Bind talk problems
« Reply #4 on: March 03, 2008, 05:18:00 pm »
Thank you, it might work now, i'm gonna try it out right now
...After all, we're all just here because we love Tremulous...
Every revolutionary ends up either by becoming an oppressor or a Heretic.
Albert Camus

Her3tic

  • Posts: 172
  • Turrets: +6/-14
Re: Bind talk problems
« Reply #5 on: March 13, 2008, 02:19:32 am »
Ok i modifyed it a liiiitle bit, but i dont work...

Here what i got

Code: [Select]
bind k "vstr switchT"
set switchT "echo ^7Team ^4Talk; bind KP_PLUS say_team ^7Roger/^4Yes/^1Affirmative; bind KP_MINUS say_team ^7Damn/^1No/^2Negative; bind k vstr switchA"
set switchA "echo ^7All ^1Talk; bind KP_PLUS say ^7Roger/^4Yes/^1Affirmative; bind KP_MINUS say ^7Damn/^1No/^2Negative; bind k vstr switchT"

It is (Again) suppose to let me say Yes Or No each with their own different keys..
One Variable enable Team_talk, the other is public, i got Echo to let me know wich i got...
...After all, we're all just here because we love Tremulous...
Every revolutionary ends up either by becoming an oppressor or a Heretic.
Albert Camus