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).

!7

p {
  ai1lol_onNewUAIP_noLookback(10, f blubb);
}

svoid blubb(S ua, S ip, bool hasCookie) {
  if (!hasCookie) ret;
  print("  => " + ua + " at " + ip + " in the house!");
  S line = "Hello " + (hasCookie ? "cookieful" : " cookieless") + " " + ua + " from " + or2(expandCountryCode(ipToCountry(dropAfterComma(ip))), "somewhere") + "!";
  //lines.add(line);
  postToStefansChat(line);
}

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: 419 / 1522
Version history: 7 change(s)
Referenced in: [show references]