scripts icon indicating copy to clipboard operation
scripts copied to clipboard

new script Ipinfo.tcl : Retrieve informations about an IP

Open crazycatdevs opened this issue 3 years ago • 1 comments

Script info

  • Script name: ipinfo.tcl
  • Version: 1.0
  • Requirements: none
  • Min WeeChat version: 3
  • Script tags: 

Description

Retrieve informations about an IP Usage: /ipinfo <ip.address>

Checklist (new script)

  • [x] Single commit, single file added
  • [x] Commit message: New script name.py: short description…
  • [x] No similar script already exists
  • [x] Name: max 32 chars, only lower case letters, digits and underscores
  • [x] Unique name, does not already exist in repository
  • [x] No shebang on the first line
  • [x] Comment in script with name/pseudo, e-mail and license
  • [x] Only English in code/comments
  • [x] Pure WeeChat API used, no extra API
  • [x] Function hook_process is used for any blocking call
  • [ ] For Python script: works with Python 3 (Python 2 support is optional)
  • [x] Score 100 / 100 displayed by weechat-script-lint

Checklist (script update)

  • [ ] Author has been contacted
  • [ ] Single commit, single file added
  • [ ] Commit message format: script_name.py X.Y: …
  • [ ] Script version and Changelog have been updated
  • [ ] For Python script: works with Python 3 (Python 2 support is optional)
  • [ ] Score 100 / 100 displayed by weechat-script-lint

Checklist (script deletion)

  • [ ] Author has been contacted
  • [ ] Single commit, single file deleted
  • [ ] Commit message format: Remove script name.py with reasons in description

crazycatdevs avatar Feb 26 '22 15:02 crazycatdevs

Changed timeout to 5000 Added a check on return from ip-api to avoid errors when service is down

crazycatdevs avatar Mar 10 '22 14:03 crazycatdevs

Merged.

flashcode avatar Nov 11 '22 11:11 flashcode