Revision as of 18:20, 18 April 2014 by Blob8108 (talk | contribs) (→‎Faulty (?) Workaround)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Bad Example Use

The second example use doesn't use the actual block that the article is about.
Mathfreak231 (talk | contribs) 21:40, 18 January 2013 (UTC)

So go change it!
Scimonster (talk | contribs) 20:01, 19 January 2013 (UTC)

New Workaround

UPDATE: This will work, even not at the end of a script:

if <condition>
action goes here
broadcast [continue v]
stop script
other action goes here
broadcast [continue v]
when I receive [continue v]
continuation of script

I'll add it now.
Mathfreak231 (talk | contribs) Updated 21:48, 2 February 2013 (UTC)

Faulty (?) Workaround

I believe I have removed this workaround before, but I'm bringing it up hear so we can discuss it (since it appears to have been re-added).


This fails to properly simulate an if-else block because the script in the first condition can (and often does) change inputs in the condition itself. Consider:

if(x > 2)

set x to 0


say "hi"

If one were to use the workaround above, BOTH scripts run.
-unsigned comment by MoreGamesNow (talk | contribs)

Agree. This might be more sensible:
set [condition v] to <<...> and <...>>
if <(condition)=[true]>
if <(condition)=[false]>

blob8108 (talk | contribs) 18:20, 18 April 2014 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.