1. Post #1
    Gold Member
    SGTNAPALM's Avatar
    October 2007
    21,617 Posts
    I need help writing an autoexec config. It's designed to take advantage of those SourceMod servers.

    Code:
    alias spam "sm_health ;sm_ammo ;sm_metal ;sm_uber; repeat"
    alias repeat "wait 2; spam"
    I'm looking for a toggle so I can turn it off. I'm pretty much stumped here, I've had no past experience.
    Help would be appreciated!

  2. Post #2
    Gold Member
    Wingedwizard's Avatar
    October 2007
    7,106 Posts
    wait what exactly are you trying achieve with this script

  3. Post #3
    Gold Member
    SGTNAPALM's Avatar
    October 2007
    21,617 Posts
    wait what exactly are you trying achieve with this script
    On a server that allows sm_health, you can bind it to a key, keep pressing it, and be virtually invincible.

    I wrote a script that automatically repeats the command so I don't need to worry about pressing a button.

    Even though I did this, I am looking for a way to turn off the script. (stops spamming the console commands)

  4. Post #4
    Gold Member
    xpod1's Avatar
    February 2009
    18,248 Posts
    Excellent, NAPALM. You have learned much....

    What kind of server does this, anyways?

    Edited:

    And while I don't know much myself, possibly hitting it once starts it, hitting it again would stop it.

    Or bind n repeat 1, bind n repeat 0.

  5. Post #5
    Gold Member
    SGTNAPALM's Avatar
    October 2007
    21,617 Posts
    None of those work.
    Problem is, I like being invincible, but I'm tired of a normally stable server crashing, probably because of command spam.

  6. Post #6
    PCRShade's Avatar
    May 2009
    1,083 Posts
    :butt: