This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

PortCheck2.0.tcl additions/changes help needed

Old posts that have not been replied to for several years.
Locked
C
Crossfire

PortCheck2.0.tcl additions/changes help needed

Post by Crossfire »

Hi there. Im using this script to check the status of my game server.
The problem is, that server uses 3 ports. So i need to use 3 different commands to see if its completely up. e.g. !portcheck ipadress port1, then
!portcheck ipadress port2, and finally !portcheck ipadress port3.

Is there a way to add these 3 commands into 1 simple command, something like !status? And then show wich one of the ports has a problem, or not. Or a better / easier script for it :)
Here is the script in txt form for your ease.

Portcheck

Thanks in advance!

*if this was awnsered before, im sorry*
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Here is the public bind, you can use:

Code: Select all

bind pub n "!portcheck" my:proc

proc my:proc {nick uhost hand chan text} {
 #your stuff here
  return 0
}
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Locked