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.

little tcl

Old posts that have not been replied to for several years.
Locked
R
RaDoM
Voice
Posts: 17
Joined: Mon Mar 10, 2003 2:32 pm
Location: uNd3rGr0uNd C1Ty

little tcl

Post by RaDoM »

hi,

i need a !get <file> cmd and i have tried with some scripts from here, but don't convencing me,

ths in advance
.:: RaDoM ::.

The future is nearby!
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

If it's so little, why can't you make it yourself?

There are many examples of this, and I am sure you have not tried half of them.
User avatar
ReaLz
Op
Posts: 121
Joined: Sat Oct 19, 2002 5:33 am
Location: Athens, Greece

Post by ReaLz »

it's very simple as ppslim said....
try this simple code:

Code: Select all

bind pub o !send pub_send

proc pub_send {nick host handle chan args} {
set args [lindex $args 0]
set file [lindex $args 0]
putserv "PRIVMSG $chan :Sending $file to $nick..."
dccsend $file $nick
return 1
}
....from the tcl-commands.doc....
the filename must be specified either by full pathname or in relation to the bot's startup directory
«A fantastic spaghetti is a spaghetti that does not exist»
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Sometimes is more easier to ask than to look for.. guess this can be his reason. :)
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Having looked at my own phpBB forum, I found a way to disable searching, which isn't very handy, however, I couldn't disable the user_stupidity setting.
Locked