Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1003118 // simpleChatWait - wait a bit (for chat bots)

JavaX fragment (include)

1  
static int simpleChatWait_delay = 3000; // ms
2  
3  
static void simpleChatWait() {
4  
  exitIfUnlicensed();
5  
  sleep(simpleChatWait_delay);
6  
}
7  
8  
// just forward to sleep function
9  
static void simpleChatWait(int delay) {
10  
  sleep(delay);
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003118
Snippet name: simpleChatWait - wait a bit (for chat bots)
Eternal ID of this version: #1003118/1
Text MD5: 4ae85ad35cbf6765c6d4b72b223783e6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-05-01 17:55:40
Source code size: 235 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 589 / 583
Referenced in: [show references]