demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Oct 10, 2005 10:15 pm Post subject: |
|
|
Code: |
#!/bin/sh
# This line continues for Tcl, but is a single line for 'sh' \
exec tclsh "$0" ${1+"$@"}
set s [socket irc.server.com 6667]
puts $s "nick foo\nuser bar x x moo"
puts $s "privmsg [lindex $argv 0] :[join [lrange $argv 1 e]]"
puts $s quit
close $s
|
(this might not work on servers that send ping cookie on connect and expect reply, registering client upon receiving it) _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|