Author Topic: [solved] Is there a way to bind a key to "messagemode /" ?  (Read 4876 times)

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
[solved] Is there a way to bind a key to "messagemode /" ?
« on: June 06, 2010, 04:33:33 am »
I just simply want to set "/" so that when I press it it pops open the say and puts a "/" in, so I can type in the command. If not that's ok, it's just laziness on my part basically. Thanks for the help in advanced.

I tried:
Code: [Select]
/bind "/" "messagemode /"
but it just put a blank say out...
« Last Edit: June 08, 2010, 03:29:53 am by Deadbeat Engineer »
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

A Spork

  • Spam Killer
  • *
  • Posts: 1010
  • Turrets: +37/-230
    • Spork - Unvanquished.net
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #1 on: June 06, 2010, 04:58:41 am »
Something like this to be able to bind adminchat would be nice too...
Don't shoot friend :basilisk:! Friend :basilisk: only wants to give you hugz and to be your hat

Proud Member of the S.O.B.F.O.B.S.A.D: The Society Of Basilisks For Other Basilisks Safety and Dominance
:basilisk:    :basilisk:    :basilisk:

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #2 on: June 06, 2010, 05:09:50 am »
Tremfusion got this working, they even created their own messagemode for admin chat.  However I don't think that there is any way to get this to work with the GPP, as of now.

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #3 on: June 06, 2010, 05:21:19 am »
Darn. Thanks anyway.

Spork, maybe if you do:
Code: [Select]
/bind <key> "messagemode /a "
it would work...

And thanks for the info Kiwi. I love how you instantly know that I want it for GPP ;D
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #4 on: June 06, 2010, 05:21:45 am »
Code: [Select]
set ui_sayBuffer "/"
menu say
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #5 on: June 06, 2010, 03:17:35 pm »
I have adminchat binded that way and works perfectly.

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #6 on: June 06, 2010, 05:02:36 pm »
Code: [Select]
set ui_sayBuffer "/"
menu say

But does that just open say, or does it open say with "/" already typed into it?
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #7 on: June 06, 2010, 05:20:13 pm »
It takes less time to test than it does to post >_>
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #8 on: June 07, 2010, 03:24:45 am »
I tried what you proposed, and when i put
Code: [Select]
menu say
it opens up say with "/", but if I type anything different with t (messagemode) then next time it changes to that  :-\
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

KillerWhale

  • Spam Killer
  • *
  • Posts: 469
  • Turrets: +63/-26
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #9 on: June 07, 2010, 04:58:57 am »
Code: [Select]
bind t "reset ui_saybuffer; menu say"

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #10 on: June 07, 2010, 11:40:36 pm »
Ah nice, I never knew that that existed.  What is the point of message mode then?

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #11 on: June 08, 2010, 03:21:04 am »
Ah nice, I never knew that that existed.  What is the point of message mode then?
messagemode is say. It's what happens when you press "t". messagemode2 is say_team basically, it's what happens when you press y.
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #12 on: June 08, 2010, 03:23:49 am »
Code: [Select]
bind t "reset ui_saybuffer; menu say"
Thank you. I'll see how that works.  ;D
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Is there a way to bind a key to "messagemode /" ?
« Reply #13 on: June 08, 2010, 03:29:24 am »
It works! KillerWhale, thou art my hero. :D
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.