Results 1 to 9 of 9
  1. #1
    Shlomiee's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Is it possible to toggle your microphone key?

    Been looking around for a while, closest I have come to a digital toggle is putting my phone on top of a stack of pennies on the key. I have looked for console commands, lua's, Windows macros, and a bunch of other stupid garbage. Still new to lua as well or else I would do it myself. Any comments are greatly appreciated.

  2. #2
    derpze's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Cheerful
    +voicerecord, in console and when you wanna toggle it off -voicerecord

  3. #3
    Wasps's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    Just bind a key to +voicerecord and another to -voicerecord
    That's probably the easiest way to do it.

  4. #4
    Xxjay123xx's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    92
    Reputation
    18
    Thanks
    162
    Quote Originally Posted by Wasps View Post
    Just bind a key to +voicerecord and another to -voicerecord
    That's probably the easiest way to do it.
    *facepalm* Your Default X key is +voicerecord The only way to toggle it is though console / scripts.

  5. #5
    Wasps's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    Welp, My bad, Been up working for a while kinda retarded right now.
    He could use a macro, That's what I do.

    EDIT: Use this if you want to, whipped it up (though you could probably find a script for this anywhere)
    Code:
    local shouldTalk = false
    function stickyTalk()
    	if shouldTalk then
    		LocalPlayer():ConCommand("+voicerecord")
    	else
    		LocalPlayer():ConCommand("-voicerecord")
    	end
    end
    hook.Add("Think", "stickyTalk", stickyTalk)
    
    function toggleStickyTalk()
    	shouldTalk = not shouldTalk
    end
    concommand.Add("voicerecord", toggleStickyTalk)
    just bind a key to voicerecord and go nuts
    Last edited by Wasps; 06-29-2013 at 11:05 AM.

  6. #6
    Shlomiee's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Wasps View Post
    Welp, My bad, Been up working for a while kinda retarded right now.
    He could use a macro, That's what I do.

    EDIT: Use this if you want to, whipped it up (though you could probably find a script for this anywhere)
    Code:
    local shouldTalk = false
    function stickyTalk()
    	if shouldTalk then
    		LocalPlayer():ConCommand("+voicerecord")
    	else
    		LocalPlayer():ConCommand("-voicerecord")
    	end
    end
    hook.Add("Think", "stickyTalk", stickyTalk)
    
    function toggleStickyTalk()
    	shouldTalk = not shouldTalk
    end
    concommand.Add("voicerecord", toggleStickyTalk)
    just bind a key to voicerecord and go nuts

    Now how would I use this? It's not in the format for a command, would I use it in a .lua, or is that a raw macro?

    (Like I said, still new)

    Thanks for the replies also.

  7. #7
    wuat's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    122
    Reputation
    40
    Thanks
    1,475
    alias voiceon "+voicerecord; bind v voiceoff"
    alias voiceoff "-voicerecord; bind v voiceon"
    bind "v" "voiceon"
    Last edited by wuat; 06-29-2013 at 12:37 PM.

  8. The Following User Says Thank You to wuat For This Useful Post:

    D3M0L1T10N (06-29-2013)

  9. #8
    Wasps's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    Quote Originally Posted by Shlomiee View Post
    Now how would I use this? It's not in the format for a command, would I use it in a .lua, or is that a raw macro?

    (Like I said, still new)

    Thanks for the replies also.
    It's lua, read the stickies on how to run lua files on servers.

  10. #9
    D3M0L1T10N's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    1,364
    Reputation
    19
    Thanks
    656
    waiting for somebody to post that
    8:53 PM - Xenomorphic 1 hr 7 min cooldown: So is MPGH only exist so people can c+p from ************* and troll the gmod section?

    [IMG]https://i739.photobucke*****m/albums/xx38/jorroa5990/flatexch2_zpsec96a7e2.gif[/IMG]

Similar Threads

  1. Possible to add operation arrowhead key to Steam client?
    By DavidMan in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 2
    Last Post: 08-05-2012, 05:19 PM
  2. Trading my PoE beta key for your Minecraft key
    By wonjongyoo in forum Selling Accounts/Keys/Items
    Replies: 0
    Last Post: 02-23-2012, 02:57 PM
  3. [Help] Is it possible to change the menu key?
    By iHaxPanties in forum CrossFire Discussions
    Replies: 10
    Last Post: 09-08-2011, 01:02 AM
  4. Share your beta keys here
    By arunforce in forum Vindictus Discussions
    Replies: 28
    Last Post: 10-01-2010, 05:15 PM
  5. Get your beta key now.
    By Aquaman in forum Battlefield Heroes Hacks
    Replies: 2
    Last Post: 01-27-2009, 10:24 PM