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.

server

Old posts that have not been replied to for several years.
Locked
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

server

Post by Kimmi »

Im looking for a script that displays what server the bot is on, with a trigger"!server" anyone out there that can help me...
Kimmi@EFnet
User avatar
TALES
Halfop
Posts: 59
Joined: Sun Nov 09, 2003 8:45 am
Location: Netherlands
Contact:

server

Post by TALES »

just like this:

Code: Select all

bind pub - !server pub:server

proc pub:server {nick host hand chan arg} {
 global server
  putserv "NOTICE $nick :Server: $server"
}
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

Post by Kimmi »

thanx... btw where did U learn tcl-scripting, U know of any tcl a-b-c manulas on the net?

well thanx again...
Kimmi@EFnet
b
bobjuh
Master
Posts: 268
Joined: Wed Oct 03, 2001 8:00 pm
Location: Netherlands
Contact:

Post by bobjuh »

http://www.suninet.nl/tclguide/
This is a good TCL guide
User avatar
TALES
Halfop
Posts: 59
Joined: Sun Nov 09, 2003 8:45 am
Location: Netherlands
Contact:

learning

Post by TALES »

with these sites:

http://www.suninet.nl/tclguide/

http://www.egghelp.org the tcl achive and look how other has done it and try to understand what they have code.

and the doc's that come with the eggdrop.
Locked