Author Topic: Variable For Binds  (Read 4007 times)

Wyze

  • Stingray
  • Posts: 98
Variable For Binds
« on: May 09, 2010, 09:21:43 AM »
I've looked and looked and looked. Haven't found it though. I am making a bind that requires a variable. This variable happens to be a chase cam. So, I am dead and I need to do type recon I have things binded to "f" "HE IS bd". But I would like to make that HE IS part a variable for whoever I'm chase camming. So I would just need that variable if anyone knows. Please And Thanks.

[Banned]wyZe 

abnormal

  • Autococker
  • Posts: 649
Re: Variable For Binds
« Reply #1 on: May 09, 2010, 01:14:47 PM »
I'm not sure if I understood you, because it's quite simple, but though I think it's what you're looking for.

bind "f" "say_team HE IS $loc_here" - for where you are
bind "f" "say_team HE IS $loc_there" - for there where you're looking/aiming - good when you're still alive


Wyze

  • Stingray
  • Posts: 98
Re: Variable For Binds
« Reply #2 on: May 09, 2010, 02:40:08 PM »
Thank you, but not quite. So here is what I need. Lets say I am chase camming someone and I would like to specify his name when I recon EX: wyZe is inc - BD, instead of HE is inc- BD, so a variable.
bind "f" "say_team HE IS $loc_here" - for where you are
Is what you said. But I was wondering if there was a variable that would replace the HE in that the person I am chase camming.

wyZe

AsThor

  • Autococker
  • Posts: 533
Re: Variable For Binds
« Reply #3 on: May 13, 2010, 06:49:59 AM »
is there any way to do this via the player id you get when joining a server? not the global login id

Wyze

  • Stingray
  • Posts: 98
Re: Variable For Binds
« Reply #4 on: May 14, 2010, 02:35:23 PM »
is there any way to do this via the player id you get when joining a server? not the global login id
That is EXCACTLY my question! almost.

abnormal

  • Autococker
  • Posts: 649
Re: Variable For Binds
« Reply #5 on: May 15, 2010, 01:27:03 AM »
is there any way to do this via the player id you get when joining a server? not the global login id
hasn't ic3y done something with this? I mean the specinvite menu?

There's the command from this menu: (might help)

    command "cmd specinvite $menu_ppl_spec"

Wyze

  • Stingray
  • Posts: 98
Re: Variable For Binds
« Reply #6 on: May 15, 2010, 01:44:40 PM »
hasn't ic3y done something with this? I mean the specinvite menu?

There's the command from this menu: (might help)

    command "cmd specinvite $menu_ppl_spec"
Ill try it out and look at icey's post.

wyZe

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Variable For Binds
« Reply #7 on: May 19, 2010, 09:25:53 AM »
I don't think that's possible right now.  It would have to be added as a feature.

jaypeak

  • PGP
  • Posts: 22
Re: Variable For Binds
« Reply #8 on: May 19, 2010, 04:36:13 PM »
please add

Justinph5

  • Autococker
  • Posts: 1159
Re: Variable For Binds
« Reply #9 on: May 19, 2010, 10:58:21 PM »
It's a cool feature, but I could also see it abused to annoy people.

bind "z" "$GL_name is merry"
bind "g" "Hey $GL_name you're bad"
bind "h" "$GL_name, please type 'quit' in console"

abnormal

  • Autococker
  • Posts: 649
Re: Variable For Binds
« Reply #10 on: May 19, 2010, 11:23:42 PM »
It's a cool feature, but I could also see it abused to annoy people.

bind "z" "$GL_name is merry"
bind "g" "Hey $GL_name you're bad"
bind "h" "$GL_name, please type 'quit' in console"

I would never make it up, but since you've added it here I'm gonna use it to annoy people :P.

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Variable For Binds
« Reply #11 on: May 20, 2010, 06:38:58 AM »
It's a cool feature, but I could also see it abused to annoy people.

bind "z" "$GL_name is merry"
bind "g" "Hey $GL_name you're bad"
bind "h" "$GL_name, please type 'quit' in console"

I like the keys you bound...

Wyze

  • Stingray
  • Posts: 98
Re: Variable For Binds
« Reply #12 on: May 27, 2010, 08:08:13 PM »
I don't think that's possible right now.  It would have to be added as a feature.

Please do in build 30?

wyZe

jaypeak

  • PGP
  • Posts: 22
Re: Variable For Binds
« Reply #13 on: June 03, 2010, 06:40:53 AM »
It's a cool feature, but I could also see it abused to annoy people.

bind "z" "$GL_name is merry"
bind "g" "Hey $GL_name you're bad"
bind "h" "$GL_name, please type 'quit' in console"
i tried this but nothing happens?!?

AsThor

  • Autococker
  • Posts: 533
Re: Variable For Binds
« Reply #14 on: June 08, 2010, 02:45:58 PM »
i tried this but nothing happens?!?


made my day.
epic.