What does blockscripts affect?

JimydJimyd Join Date: 2003-02-08 Member: 13289Members
edited December 2006 in NS General Discussion
What commands does it affect? Need to convert my configs with the decline of ns servers lately.

I know _special doesnt work in any case.

Is it possible to use say like: bind p "exec marine.cfg"

If the exec command is blocked, is there another way to activate a differnt config for differnt class binds?

Comments

  • AnAkInAnAkIn Join Date: 2006-09-18 Member: 58020Members
    mp_blockscripts blocking:

    it block "wait", ";" and "exec" in binds.
    it ONLY allows to be bound :
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->"+attack","+attack2","+left","+right","+jump","+duck","+alt1","+forward","+back","moveleft","+moveright","+lookdown","+lookup",
    "+strafe","+speed","+movedown","+moveup","+score","+reload","+camout","+camin","+camyawright","+camyawleft","+campitchdown","+campitchup","+break","+graph","+klook"<!--c2--></div><!--ec2-->

    so you cant use some +commands in "alias"
  • JimydJimyd Join Date: 2003-02-08 Member: 13289Members
    So theres no possible way to have seperate configs?

    =/
  • AnAkInAnAkIn Join Date: 2006-09-18 Member: 58020Members
    Just type exec configname.cfg in console, but in binds it wont work, ah and it work in alias:
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->
    alias marinecfg "jointeamone;exec marines.cfg"
    bind F1 marinecfg<!--c2--></div><!--ec2-->


    try this
  • JazzXJazzX cl_labelmaps ∞ Join Date: 2002-11-19 Member: 9285Members, Retired Developer, NS1 Playtester
    Alright, I had to remove some posts, and I'm going to attempt to stop this before it starts. AnAkIn's summary is very good. Basically I think what you are trying to say is "Can I have seperate configs for different mp_blockscripts settings"

    The answer is yes, but when blockscripts is on, it might be easiest to just execute that script manually in the console. Something like: "exec scriptson.cfg".

    I am leaving the thread open but I just ask that anyone who wants to start a flamewar to just save everyone a lot of time and don't.
  • DuoGodOfDeathDuoGodOfDeath Join Date: 2002-08-01 Member: 1044Members
    I still think it is dumb when I made a simple bind as stated:

    bind "f" "impulse 116;say_team Watch out I am Fading and will die soon"

    And got a "Scripts are blocked on this server." I think I almost died laughing when I got that message for the first time.
  • coriscoris Join Date: 2003-07-08 Member: 18034Members, Constellation
    <!--quoteo(post=1592082:date=Dec 25 2006, 06:31 PM:name=DuoGodOfDeath)--><div class='quotetop'>QUOTE(DuoGodOfDeath @ Dec 25 2006, 06:31 PM) [snapback]1592082[/snapback]</div><div class='quotemain'><!--quotec-->
    I still think it is dumb when I made a simple bind as stated:

    bind "f" "impulse 116;say_team Watch out I am Fading and will die soon"

    And got a "Scripts are blocked on this server." I think I almost died laughing when I got that message for the first time.
    <!--QuoteEnd--></div><!--QuoteEEnd-->
    I think it will be ok if you alias it. blockscripts doenst allow you to bind a key to multiple commands, aliases is ok however.

    The impulse might break it though. :<
  • TheAdjTheAdj He demanded a cool forum title of some type. Join Date: 2004-05-03 Member: 28436Members, NS1 Playtester, Constellation
    You have to alias anything that includes a semi-colon in it. It also blocks any +/- commands, so +attack/+jump (for pistol/3jump script) won't work, even if aliased. So pretty much every script will work (when aliased correctly) except for a pistol script/3jump.
  • UnderwhelmedUnderwhelmed DemoDetective #?&#33; Join Date: 2006-09-19 Member: 58026Members, Constellation
    I have separate configs for mp 0 and 1 servers.

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->bind "F5" "scriptson"
    alias "scriptson" "exec scripts.cfg; bind F5 scriptsoff"
    alias "scriptsoff" "exec noscripts.cfg; bind F5 scriptson"<!--c2--></div><!--ec2-->
    Or something like that.
  • GreyFlcnGreyFlcn Join Date: 2006-12-19 Member: 59134Members, Constellation
    edited December 2006
    <!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--> name='DuoGodOfDeath' post='1592082' date='Dec 25 2006, 05:31 PM']
    I still think it is dumb when I made a simple bind as stated:

    bind "f" "impulse 116;say_team Watch out I am Fading and will die soon"

    And got a "Scripts are blocked on this server." I think I almost died laughing when I got that message for the first time.
    <!--QuoteEnd--></div><!--QuoteEEnd-->
    Just have to change how you script it.

    bind f "+fade"
    alias +fade "impulse 116"
    alias -fade "say_team Watch out I'm Fading and will die soon"
  • MrGunnerMrGunner Join Date: 2003-01-03 Member: 11757Members, Constellation
    Yeah I think how it's totally awesome how the only way to get around mp_bs 1 in order to have multiple things bound to one key is to script it. It should be mp_makesureyouusescriptstodosimplethings 1.
  • Splinter_SteveSplinter_Steve Join Date: 2005-03-20 Member: 45881Members
    It prevents marines/aliens from illegally exploiting the engine and evens the skill gap between competitive players and pubbers.

    AHAHAHAHA sorry i can't keep a straight face
  • digzdigz be still, maggot Join Date: 2002-05-07 Member: 588Members, NS1 Playtester, Forum Moderators, Constellation
    You guys really need to learn to control yourselves.
This discussion has been closed.