Editing Talk:2445: Checkbox

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 113: Line 113:
 
== Scripts ==
 
== Scripts ==
 
If your clicking abilities have dwindled since the invention of the vocal telephone, you may use this roughly written script in the webconsole as an aid
 
If your clicking abilities have dwindled since the invention of the vocal telephone, you may use this roughly written script in the webconsole as an aid
--- self edit: now that others pointed out BeepComic, I simplified it a bit.   ---
+
--- self edit: now that others pointed out BeepComic, I simplified it a bit. ---
 
<pre>
 
<pre>
 
  (async ()=>{
 
  (async ()=>{
   let delay
+
  BeepComic.hurryUp();
 +
   let delay = 100
 
   const asleep = async (dur) => new Promise(res=>setTimeout(res,dur))
 
   const asleep = async (dur) => new Promise(res=>setTimeout(res,dur))
 
   const send = async (...msgs) => {
 
   const send = async (...msgs) => {
 
     for await (const msg of msgs) {
 
     for await (const msg of msgs) {
 
       await BeepComic.send(morse.encode(msg))
 
       await BeepComic.send(morse.encode(msg))
       await asleep(delay)
+
       await asleep(100)
 
     }
 
     }
 
   }
 
   }
  // Break the immersion
 
  BeepComic.hurryUp();
 
 
   // How long to wait for server to reply, in ms. increase for laggy networks
 
   // How long to wait for server to reply, in ms. increase for laggy networks
 
   delay = 300
 
   delay = 300

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)