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.

Looking for a script

Old posts that have not been replied to for several years.
Locked
j
jazmyne
Voice
Posts: 12
Joined: Tue Jul 15, 2003 1:44 am
Location: Pennsylvania

Looking for a script

Post by jazmyne »

I run a trivia bot and I've been looking for a script that will allow users to do a pub command to find out what server the bot is running on but I've had no luck in finding one. Can anyone out there HELP me!!

Thanks in advance.. :)
b
b34r
Voice
Posts: 35
Joined: Wed Jun 18, 2003 4:09 pm

Post by b34r »

You mean like a sysinfo script ?
j
jazmyne
Voice
Posts: 12
Joined: Tue Jul 15, 2003 1:44 am
Location: Pennsylvania

Post by jazmyne »

I don't believe a sysinfo script is what I need. I run the bot on irc and would like a simple pub command like !server and the users would know what irc server the bot is on so they could switch to that server to avoid lag. I've just had no luck in finding one.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

bind pub - !server my:server

proc my:server {nick uhost hand chan text} {
putserv "PRIVMSG $chan :I'm on $::server server.."
}
Once the game is over, the king and the pawn go back in the same box.
j
jazmyne
Voice
Posts: 12
Joined: Tue Jul 15, 2003 1:44 am
Location: Pennsylvania

Post by jazmyne »

Thank you caesar that is just want I wanted and needed. So simple for those who know what they are doing!! :D

Thanks again!!!
Locked