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

13
LINES

< > BotCompany Repo | #1010793 // Post to Chat on new UAIP

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (5040L/34K).

1  
!7
2  
3  
p {
4  
  ai1lol_onNewUAIP_noLookback(10, f blubb);
5  
}
6  
7  
svoid blubb(S ua, S ip, bool hasCookie) {
8  
  if (!hasCookie) ret;
9  
  print("  => " + ua + " at " + ip + " in the house!");
10  
  S line = "Hello " + (hasCookie ? "cookieful" : " cookieless") + " " + ua + " from " + or2(expandCountryCode(ipToCountry(dropAfterComma(ip))), "somewhere") + "!";
11  
  //lines.add(line);
12  
  postToStefansChat(line);
13  
}

Author comment

Began life as a copy of #1010792

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010793
Snippet name: Post to Chat on new UAIP
Eternal ID of this version: #1010793/8
Text MD5: 9a5a12dd01c3430113ac7f4c9cfeb968
Transpilation MD5: ea26bb7c7839657fc3e50089f363f711
Author: stefan
Category: javax / networking
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-09 02:19:32
Source code size: 401 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 531 / 1788
Version history: 7 change(s)
Referenced in: [show references]