Disable Script Command?

ShadowSlayShadowSlay Join Date: 2003-09-19 Member: 21009Members
<div class="IPBDescription">HELP</div> OK...im just fooling around with scripts and i know how to get them to work and stuff(using the cfg files).but is there a way to turn off scripts in game? theres a command for turning them on ("exec blah blah blah") but is there one to turn them off?? for example i have my 5 key bound to "exec weapon.cfg". i need a command that i could bind to another key that would disable it(ive tried "disable weapon.cfg" as the command and it didnt work).
~anything will help~

Comments

  • EvoEvo Join Date: 2003-01-11 Member: 12180Members
    Configs don't quite work that way actually. All your regular config does is execute a whole series of commands that define your controls and settings. When you exec another file in game, its basically doing the same thing: entering a list of commands to change your controls and settings. So, since config files aren't really "loaded" (stored) by the game, you can't actually "unload" them. All you can do is exec another file (a list of commands) to change your settings back to the way you want them.


    Hope that makes sense <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • ShadowSlayShadowSlay Join Date: 2003-09-19 Member: 21009Members
    thanx i got it to work right
Sign In or Register to comment.