Scripting

killer_oliekiller_olie Join Date: 2002-12-20 Member: 11209Members
i need to know a repeat command i got

"+jump; (loads of waits); -jump; (more waits); now here i need a repeat command"


i don't know one if anyone does pls tell me <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->

Comments

  • DefconDefcon Join Date: 2002-11-20 Member: 9402Members
    jump;wait;wait;jump;wait;wait;
  • killer_oliekiller_olie Join Date: 2002-12-20 Member: 11209Members
  • AaronAaron vroom vroom der party startah Join Date: 2002-11-05 Member: 7020Members
    Lerk auto-fly script ehh?
  • killer_oliekiller_olie Join Date: 2002-12-20 Member: 11209Members
    maybe <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • AaronAaron vroom vroom der party startah Join Date: 2002-11-05 Member: 7020Members
    maybe you can bind another alias

    alias fly "jump;wait;wait;fly"

    dunno, try it
  • killer_oliekiller_olie Join Date: 2002-12-20 Member: 11209Members
    oh yer.... didn't think of that! ty! ty!
  • MMZ_TorakMMZ_Torak Join Date: 2002-11-02 Member: 3770Members
    lol

    how about: "Jump; fly; win game"
  • Dauntl3ssDauntl3ss Join Date: 2002-11-08 Member: 7737Members
    edited December 2002
    I always use this: <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind mouse1 "fps_max 1; cl_latency 999; rate 1; cl_rate 1; r_drawhud 0; say I AR ELEET!!1; gamma 0; unbindall; kill"<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    nah just kidding..

    i think you could put that into an alias..
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1--> alias jumpy "+jump; (loads of waits); -jump; (more waits)"
    bind space +jumpy<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    and you have to bind another button to stop..
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind alt -jumpy<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    EDIT: Test it, im not sure at all, but it might work..
  • CForresterCForrester P0rk(h0p Join Date: 2002-10-05 Member: 1439Members, Constellation
    Please DO NOT use a lerk auto-fly script, this is extremely annoying! Learn to fly manually!
  • Dauntl3ssDauntl3ss Join Date: 2002-11-08 Member: 7737Members
    nope it didnt work, i dunno how to make it work..
    flying manually is much funnier too <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • InsidiousInsidious Join Date: 2002-11-21 Member: 9553Members
    edited December 2002
    Here's your autofly script

    alias "autofly" "+jump;wait;wait;-jump;wait;wait;autofly"
    bind "X" "autofly"

    (If you don't get the joke, try it out sometime, but don't say I didn't warn you <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo--> )


    Oh, and to seriously make a suggestion, write your own repeat command. Just rename whatever it is you want as an alias, and insert that instead. For example, when you want a LOT of waits in an alias

    alias "w2" "wait;wait"
    alias "w4" "w2;w2"
    alias "w8" "w4;w4"
    alias "w16" "w8;w8"
    alias "w32" "w16;w16"
    alias "w64" "w32;w32"
    alias "w128" "w64;w64"

    And using a combination of those and good ol' waits, you can use as many waits as you want with only a few keystrokes.
  • killer_oliekiller_olie Join Date: 2002-12-20 Member: 11209Members
    problem with that one...
    it'll go on forever and you won't be able to move or exit
  • MMZ_TorakMMZ_Torak Join Date: 2002-11-02 Member: 3770Members
    <!--QuoteBegin--Insidious+Dec 20 2002, 05:58 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Insidious @ Dec 20 2002, 05:58 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Here's your autofly script

    alias "autofly" "+jump;wait;wait;-jump;wait;wait;autofly"
    bind "X" "autofly"

    (If you don't get the joke, try it out sometime, but don't say I didn't warn you  <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo--> )<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    The man lives up to his name!

    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
  • InsidiousInsidious Join Date: 2002-11-21 Member: 9553Members
    edited December 2002
    If you want to see something trippy, my personal favorite is to go alien in a crowded room, and use the following

    Alias "trippy" "impulse 100;wait;trippy"

    then type trippy in the console and watch everything flash at hyper speed. Or you can do it as marine and YOU flash at hyper speed <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->

    Finally, a use for enchanced sight! <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
  • killer_oliekiller_olie Join Date: 2002-12-20 Member: 11209Members
    whats that one do?

    also do you know of a like kill command, one that just stops all commands the script is running?
  • BeetlejuiceBeetlejuice Join Date: 2002-11-07 Member: 7542Members
    There is no such thing as an autofly script in ns because with hl scripting while a script runs you can not press any keys, which means you will be forced to do this kind of movement you did as you hit the "autofly" button (turn left/turn right/forward/backward) as long as the script runs. That is why ANY scripts who run longer than half a second allways hinder you more than they help you.
  • ShingyBoyShingyBoy Join Date: 2002-11-17 Member: 9086Members
    wot exactly are u trying 2 accomplish?
  • killer_oliekiller_olie Join Date: 2002-12-20 Member: 11209Members
    actually i wasn't making a lerk 'autofly' script. Someone said that not me. I was making it for soemthing else.
    yes i know it'll never work for flying, i'm not stupid.

    Does that satisfy you?
  • BeetlejuiceBeetlejuice Join Date: 2002-11-07 Member: 7542Members
    <!--QuoteBegin--killer_olie+Dec 20 2002, 05:26 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (killer_olie @ Dec 20 2002, 05:26 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->actually i wasn't making a lerk 'autofly' script. Someone said that not me. I was making it for soemthing else.
    yes i know it'll never work for flying, i'm not stupid.

    Does that satisfy you?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Actually it neither satisfies me if you are stupid nor does it if you are not. I can ensure you that my level of satisfaction is in no way linked to your intelectual capacities. In fact i just wanted to help you with your question for a repeat command in scripts. Due to the lack of an if command in hl scripts a repeat command would allways cause an endless loop. But as clever as you are of cause you knew this. And as you said yourself you are clever enough to know that during this endless loop you can't make any input. So you are obviously clever enough to write a script which completely takes over controll over your alter ego letting you do nothing to influence its behaviour. That really is incredibly clever, i myself am to stupid to ever get this idea myself, me stupid beeing allways played the game myself instead of letting the computer play it with repeating the same series of commands forever.

    A really impressed

    Beetlejuice
  • Rabid_LlamaRabid_Llama Join Date: 2002-11-02 Member: 4340Members
    A couple of things. One, it's not possible to have a working auto-repeat bind in halflife -- it crashes the game, or at the very least isn't stoppable. Second, in my experience, a bunch of waits in a bind crashes NS. It works in every other mod, but not NS. More than two crashed my NS, but I'm not totally sure.
    And I dislike movement binds like that. If you're going to bunnyhop or fly or whatever, do it manually. It's better in the long run, you get l33t3r sk1llz <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo--> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
  • killer_oliekiller_olie Join Date: 2002-12-20 Member: 11209Members
    of cause! it all makes sense now!

    It allways makes me wonder why people in forums are so angry and have to put people down using large words and complicated sentance structure. What was this all about again? Oh i remember, it was me asking a question, silly me, i must never do such a thing again.
    Are you a depressed person? Do you get pleasure off making other people feel bad? Well if you do you sure are **obscenity**.

    As in the importal words of beatlejuice, Killer-Olie
  • MMZ_TorakMMZ_Torak Join Date: 2002-11-02 Member: 3770Members
    <!--QuoteBegin--killer_olie+Dec 20 2002, 10:16 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (killer_olie @ Dec 20 2002, 10:16 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->of cause! it all makes sense now!

    It allways makes me wonder why people in forums are so angry and have to put people down using large words and complicated sentance structure. What was this all about again? Oh i remember, it was me asking a question, silly me, i must never do such a thing again.
    Are you a depressed person? Do you get pleasure off making other people feel bad? Well if you do you sure are **obscenity**.

    As in the importal words of beatlejuice, Killer-Olie<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    wow, just wow.
  • RuriRuri Join Date: 2002-11-02 Member: 4709Members
    Well I was planning on "get pleasure" and write your script for you, but I uhh think I'll go THIS *points off* way now.
  • BeetlejuiceBeetlejuice Join Date: 2002-11-07 Member: 7542Members
    <!--QuoteBegin--killer_olie+Dec 20 2002, 09:16 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (killer_olie @ Dec 20 2002, 09:16 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->of cause! it all makes sense now!

    It allways makes me wonder why people in forums are so angry and have to put people down using large words and complicated sentance structure. What was this all about again? Oh i remember, it was me asking a question, silly me, i must never do such a thing again.
    Are you a depressed person? Do you get pleasure off making other people feel bad? Well if you do you sure are **obscenity**.

    As in the importal words of beatlejuice, Killer-Olie<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I am not angry in any way, are you? And about you asking questions, in fact if you bother to look up some posts you will see that i answered yours. But instead of saying thank you (or nothing at all) you decided to complain about me answering your question, telling me that i would take satisfaction out of your scripting efforts in a similar way you now want to tell me that i would take pleasure of making other people feel bad.
    So to answer your questions, no i am in no way satisfied by you scripting or not, beeing stupid or not, calling me censored words or not, in fact i could not care less :o). And i am no depressed person either, in fact i live on the sunny side of life (and i don't even need drugs for it :o). But reading your posts i am beginning to doubt that this goes for you as well :o(.

    p.s.: Oh, btw, my name has nothing to do with famous pop groups...
Sign In or Register to comment.