Message Boards

Poll

Do you like this feature?

Yes
5 (100%)
No
0 (0%)

Total Members Voted: 5

Topic: Feature: enable/disable  (Read 8626 times)

Offline Russell

  • Developer
  • Posts: 70
    • View Profile
Feature: enable/disable
« on: July 23, 2007, 05:21:10 »
Here I have a patch that makes it easy for a user of odamex
to set console variables.

It allows the user to type, for example:

set cl_run enabled

or just

cl_run enabled

If the user just wants the value


] cl_run
"cl_run" is enabled.


With this patch, there is 1 issue that I know of:
enabled/disabled doesn't get saved to config (yet)

Test it out and vote if you like it or not. (the attached
file is a txt, rename it to a patch/diff extension)

Offline {BaRaKa}

  • Posts: 3
  • Member
    • View Profile
Re: Feature: enable/disable
« Reply #1 on: July 23, 2007, 14:22:32 »
Hey I just wanted to say I think your doing a great job there sir. Keep it up!

You are an inspiration to us all.

:)

Offline cSc

  • Posts: 14
  • Boom?
    • View Profile
    • CS-Net
Re: Feature: enable/disable
« Reply #2 on: July 23, 2007, 23:19:09 »
ooo sounds nice
If you can't stand the truth, get your ass back on the sofa.

Offline Nes

  • Developer
  • Posts: 31
    • View Profile
Re: Feature: enable/disable
« Reply #3 on: July 25, 2007, 02:47:00 »
Could you possibly make it a cvar flag to differentiate from cvars that would not be good for "disabled/enabled"?