Announcement

Collapse
No announcement yet.

IF, IF NOT, & THEN console commands?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Legend
    started a topic IF, IF NOT, & THEN console commands?

    IF, IF NOT, & THEN console commands?

    Are there any quake console commands that work like the IF, IF NOT, and THEN commands in qbasic? Like "IF +w4 THEN +w4a". Something like that. Does anyone know if there is a way to do something similar? A way to carry out one command or another depending on whether or not another specific command has already occurred.

    -Legend

  • Canadian*Sniper
    replied
    People who build firewalls using shell scripts can get pretty complex. But it's scripting ^_^

    Leave a comment:


  • =peg=
    replied
    true allthough u can do some pretty complicated stuff with just a few aliases (or a lot)

    Leave a comment:


  • Canadian*Sniper
    replied
    scipting is totally not coding

    Leave a comment:


  • foq
    replied
    I don't code, I just play =]
    The most I've ever coded was autoexec.cfg:
    Code:
    +mlook         
    cl_backspeed 400      
    cl_forwardspeed 400  
    cl_sidespeed 400
    cl_upspeed 400
    crosshair "1"
    cl_bob 0.00
    cl_rollangle 0.
    v_kickpitch 0.0
    v_kicktime 0.0
    v_kickroll 0.0
    gl_triplebuffer 1
    gl_flashblend 0
    gl_texturemode GL_LINEAR_MIPMAP_LINEAR
    r_wateralpha .6
    r_waterwarp 0
    r_novis 1
    pq_waterblend 0
    pq_fullpitch 0
    pq_drawfps 1
    If you call that coding anyway.

    Leave a comment:


  • Verybadloser^XJ
    replied
    the_f0qer is living in pre-q1-source days LOL.

    btw peg, as you know qw removed the "impulse 1/2" switching with the drop best weapon pack function

    Leave a comment:


  • foq
    replied
    Not sure but i googled Quake console commands; this seemed to be the best page...
    http://www.zedtoo.demon.co.uk/quake/q3.html

    Leave a comment:


  • =peg=
    replied
    nothing new...

    Leave a comment:


  • RocketGuy
    replied
    Originally posted by R00k View Post
    i smeel a hack ;O

    if health < 1 switch to axe... ie empty backpacks
    Yeah good going r00k give them ideas

    Leave a comment:


  • =peg=
    replied
    u can make ur config to switch to axe all the time ur not firing anyways..

    Code:
    alias AXE "impulse 1"
    alias SG  "impulse 2"
    alias SSG "impulse 3"
    alias NG  "impulse 4"
    alias SNG "impulse 5"
    alias GL  "impulse 6"
    alias RL  "impulse 7"
    alias LG  "impulse 8"
    
    bind "1" "alias selected AXE"
    bind "2" "alias selected SG "
    bind "3" "alias selected SSG"
    bind "4" "alias selected NG "
    bind "5" "alias selected SNG"
    bind "6" "alias selected GL "
    bind "7" "alias selected RL "
    bind "8" "alias selected LG "
    
    alias +fire "selected;+attack;AXE"
    alias -fire "-attack"
    
    bind "MOUSE1" "+fire"
    Last edited by =peg=; 01-30-2007, 06:59 AM.

    Leave a comment:


  • R00k
    replied
    i smeel a hack ;O

    if health < 1 switch to axe... ie empty backpacks

    Leave a comment:


  • Verybadloser^XJ
    replied
    im not sure about netquake clients, but this defo exists in qw clients

    Leave a comment:

Working...
X