Downloads

ping.tcl

FREE

Ping Command Script v1.0 ------------------------------------------------------------------------ This script provides a public !p command to perform ping tests on IPv4, IPv6 addresses, or hostnames from the bot's host...
user-avatar

Author: BLaCkShaDoW
Version: 1.0
Downloads: 3
Added: 2025-10-03
Last Updated: 2025-10-03

Description

Ping Command Script v1.0
------------------------------------------------------------------------
This script provides a public !p command to perform ping tests
on IPv4, IPv6 addresses, or hostnames from the bot's host system.
It includes throttling, admin controls, and optional diagnostics.

>>> PUBLIC COMMANDS:

!p - Pings a target (IPv4, IPv6, or domain)
!p help - Shows this help message (if enabled)

>>> ADMIN COMMANDS:

!p status - Shows how many pings a user made recently
!p reset - Resets throttle for a user

>>> THROTTLING:

• Users can run max 3 ping commands every 30 seconds
• Throttle resets automatically after 30 seconds
• Throttled users will get a warning message

>>> TECHNICAL NOTES:

• Uses system 'ping' with -4 / -6 flags depending on input
• Compatible with Unix/Linux environments
• Periodic cleanup of old user data (every 60 seconds)
• Requires Eggdrop with Tcl enabled

Author: BLaCkShaDoW
Version: 1.0
License: Free to modify and distribute (add your license if needed)

Usage: Place this script in your Eggdrop's scripts directory and load
it via your eggdrop.conf file with:
source scripts/ping.tcl

BLaCkShaDoW Production
Powered by ChatGpT

0 Reviews for ping.tcl

Add a review

Your Rating

55150

Character Limit 400