scripts
scripts copied to clipboard
new script Ipinfo.tcl : Retrieve informations about an IP
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_processis 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.pywith reasons in description
Changed timeout to 5000 Added a check on return from ip-api to avoid errors when service is down
Merged.