<?xml version="1.0" ?><rss version="2.0">
    <channel>
	<title>ETF2L &#8211; Latest activity in &#8220;How to enforce script perform circular(nonstop) ?&#8221;</title>
	<link>https://staging.etf2l.org/forum/support/topic-7057/</link>
	<description><![CDATA[The latest posts to this topic.]]></description>
    	<item>
    	    <title>Reply by Salmon</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-2/?recent=109897#post=109897</link>
    	    <description><![CDATA[If you're using this for recording a demo, then you could do the following:
<code>
alias +attack "alwaysexec"
alias +attack2 "alwaysexec"
alias +alt1 "alwaysexec"
alias +alt2 "alwaysexec"
alias +back "alwaysexec"
alias +break "alwaysexec"
alias +campitchup "alwaysexec"
alias +campitchdown "alwaysexec"
alias +camyawleft "alwaysexec"
alias +camyawright "alwaysexec"
alias +camin "alwaysexec"
alias +camout "alwaysexec"
alias +cammousemove "alwaysexec"
alias +camdistance "alwaysexec"
alias +commandermousemove "alwaysexec"
alias +moveup "alwaysexec"
alias +movedown "alwaysexec"
alias +left "alwaysexec"
alias +right "alwaysexec"
alias +forward "alwaysexec"
alias +back "alwaysexec"
alias +lookup "alwaysexec"
alias +lookdown "alwaysexec"
alias +strafe "alwaysexec"
alias +moveleft "alwaysexec"
alias +moveright "alwaysexec"
alias +speed "alwaysexec"
alias +walk "alwaysexec"
alias +attack "alwaysexec"
alias +attack2 "alwaysexec"
alias +use "alwaysexec"
alias +jump "alwaysexec"
alias +klook "alwaysexec"
alias +jlook "alwaysexec"
alias +duck "alwaysexec"
alias +reload "alwaysexec"
alias +score "alwaysexec"
alias +showscores "alwaysexec"
alias +graph "alwaysexec"
alias +break "alwaysexec"
alias +zoom "alwaysexec"
alias +grenade1 "alwaysexec"
alias +grenade2 "alwaysexec"
alias +posedebug "alwaysexec"
alias +voicerecord "alwaysexec"
alias +showbudget "alwaysexec"
alias +vgui_drawtree "alwaysexec"
alias +showbudget_texture "alwaysexec"
alias +showbudget_texture_global "alwaysexec"
alias +showvprof "alwaysexec"
</code>

then make an alias called alwaysexec and in that you can put all the commands you want the game to exec.

So what this does is that whenever in the demo the player presses for instance "w", the +forward command will be execed. However now it has been assigned to a new alias. Now when you are watching the demo and the player presses "w" your commands will be executed.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109897</guid>
    	    <pubDate>Sun, 18 Oct 2009 18:20:48 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Admirable</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-2/?recent=109897#post=109262</link>
    	    <description><![CDATA[Generally its not possible because there is no way to terminate the loop.

But there was a "change respawn" script that created a loop to keep changing class that was able to terminate using the execution of one of the class configs.

It was in some American script pack a while back but not really useful outside of that specific situation. :)]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109262</guid>
    	    <pubDate>Fri, 16 Oct 2009 21:21:55 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by adam-skyride</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-2/?recent=109897#post=109188</link>
    	    <description><![CDATA[<blockquote><blockquote>If you're just looking to override peoples viewmodel settings..."" </blockquote>
not only :3</blockquote>

What i said was, well what else ARE you wanting to do?]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109188</guid>
    	    <pubDate>Fri, 16 Oct 2009 18:30:54 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by kluniQ</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-2/?recent=109897#post=109176</link>
    	    <description><![CDATA[<blockquote>I have found a solution nonetheless: Use a regular toggle-script, and then build one of these:

http://www.wissenschaft-shop.de/media/images/800343_1.jpg
http://www.solarradiometer.de/ebay/schluckanimation.gif

:D</blockquote>

lmfao :D]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109176</guid>
    	    <pubDate>Fri, 16 Oct 2009 17:58:02 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Relentless</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-2/?recent=109897#post=109170</link>
    	    <description><![CDATA[SKyride: Yea youre right. Snowie already said it;
<blockquote>you’re basically telling it to run the same command infinitely which is a bad idea with computers. </blockquote>

And it's not quite unreasonable to think if you want a computer to repeat something infinitely, you have to, well, order him to do something infinitely.

I have found a solution nonetheless: Use a regular toggle-script, and then build one of these:

http://www.wissenschaft-shop.de/media/images/800343_1.jpg
http://www.solarradiometer.de/ebay/schluckanimation.gif

:D]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109170</guid>
    	    <pubDate>Fri, 16 Oct 2009 17:37:37 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by I-I05t@ge</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-2/?recent=109897#post=109168</link>
    	    <description><![CDATA[<blockquote>If you're just looking to override peoples viewmodel settings..."" </blockquote>
not only :3]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109168</guid>
    	    <pubDate>Fri, 16 Oct 2009 17:34:34 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by adam-skyride</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109161</link>
    	    <description><![CDATA[<blockquote>EDIT: Okay wait, I think it is the same, just overcomplicated... I have to think about this again.</blockquote>

Honestly, don't waste your time. The bottom line is that if TF2 is given a console command, it will stop everything else (graphical calcs, physics calcs, taking keyboard/mouse input) until the command has finnished executing. So if you do create an infinite loop, TF2 is going to crash. Also, everytime you run an alias you iterate deeper into the tree and therefore increase memory usage. So even if it DID work, youd still just end up with TF2 using all your RAM and then BSODing. :P

Think of aliases as like brackets in maths.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109161</guid>
    	    <pubDate>Fri, 16 Oct 2009 17:14:48 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by deeznuts</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109156</link>
    	    <description><![CDATA[If you're just looking to override peoples viewmodel settings and whatnot for movies you could do alias r_drawviewmodel "" for example.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109156</guid>
    	    <pubDate>Fri, 16 Oct 2009 17:06:24 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Relentless</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109155</link>
    	    <description><![CDATA[<blockquote><blockquote><code>alias command1 "commandcvar1here; alias commandcircle command2; commandcircle"&#60;
alias command2 &#34;commandcvar2here; alias commandcircle command1; commandcircle&#34;</code>

Start with command1.

I'm not entirely sure if this would work out and cant be bothered to think about it properly (and I also cant test it right now :P). I guess its best to trial &#38; error.</blockquote>

Snowie already posted that, it works but it crashes TF2. :P</blockquote>

No, I'm re-aliasing the aliases in between so it's not actually the same. It *might* work out, but then again I'm not entirely sure.

EDIT: Okay wait, I think it is the same, just overcomplicated... I have to think about this again.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109155</guid>
    	    <pubDate>Fri, 16 Oct 2009 17:04:33 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by adam-skyride</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109154</link>
    	    <description><![CDATA[<blockquote><code>alias command1 "commandcvar1here; alias commandcircle command2; commandcircle"&#60;
alias command2 &#34;commandcvar2here; alias commandcircle command1; commandcircle&#34;</code>

Start with command1.

I'm not entirely sure if this would work out and cant be bothered to think about it properly (and I also cant test it right now :P). I guess its best to trial &#38; error.</blockquote>

Snowie already posted that, it works but it crashes TF2. :P]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109154</guid>
    	    <pubDate>Fri, 16 Oct 2009 17:02:41 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Relentless</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109152</link>
    	    <description><![CDATA[<code>alias command1 "commandcvar1here; alias commandcircle command2; commandcircle"
alias command2 "commandcvar2here; alias commandcircle command1; commandcircle"</code>

Start with command1.

I'm not entirely sure if this would work out and cant be bothered to think about it properly (and I also cant test it right now :P). I guess its best to trial &#38; error.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109152</guid>
    	    <pubDate>Fri, 16 Oct 2009 17:01:52 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by adam-skyride</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109151</link>
    	    <description><![CDATA[<blockquote>Well yeah I expect that would happen, you're basically telling it to run the same command infinitely which is a bad idea with computers. Most programs will either refuse to allow you to do it or will crash.</blockquote>

Yes, Im struggling to see why you would want to have a loop in a basic scripting language anyway (if you can even call it a language).

To be honest, what your asking is a B &#62; C question. You want to achieve C so are asking us how to do B, but first we really need to know what A is.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109151</guid>
    	    <pubDate>Fri, 16 Oct 2009 16:56:08 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Animal</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109148</link>
    	    <description><![CDATA[:owned

start "cmd".exe
start "cmd".exe

goto :owned]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109148</guid>
    	    <pubDate>Fri, 16 Oct 2009 16:52:39 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by fallen seraph</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109140</link>
    	    <description><![CDATA[<blockquote>Well yeah I expect that would happen, you're basically telling it to run the same command infinitely which is a bad idea with computers. Most programs will either refuse to allow you to do it or will crash.</blockquote>

I have a program you might be interested in. It takes the source-code of another program and analyses it and tells you if it'll run infinitely or not.

That might help stop the crashing.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109140</guid>
    	    <pubDate>Fri, 16 Oct 2009 16:41:54 +0200</pubDate>
    	</item>
    	<item>
    	    <title>Reply by kitty jones</title>
    	    <link>https://staging.etf2l.org/forum/support/topic-7057/page-1/?recent=109897#post=109127</link>
    	    <description><![CDATA[duh i'm master in creating infinite loops.

java rocks :P]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=support&#038;topic=7057&#038;post=109127</guid>
    	    <pubDate>Fri, 16 Oct 2009 16:21:41 +0200</pubDate>
    	</item>
    </channel>
</rss>