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.

eggdrop accepting files?

Old posts that have not been replied to for several years.
Locked
g
gatty

eggdrop accepting files?

Post by gatty »

hey guys
I am fairly new to tcl and eggdrops - I am wondering is there anyway for me to 'tell' a eggdrop a command and it will execute commands such as:

/ctcp xdcc USER send #2
/msg USER xdcc send #1

etc?

The bot would then idle in the chan until the transfer is complete then leave - is this possible or not?

Thanks allot guys..
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Code: Select all

bind msg - command launch:cmd

proc launch:cmd {nick host handle text} {
unbind msg - command launc:cmd
# make here your treatments
bind msg - command launch:cmd
}
g
gatty

Post by gatty »

ummmmm

remeber i am stupid :p
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

if your new i gues you need to adjust your bot little

first add user load share mod not sur on that one and filesystem module add user xfer set host to the xdcc bot or *@* set flag +x
change this set max-filesize 1024 = 1mb so if you wana enable bigger files you need to increase this figur or beter yet set it to 0 for unlimited file size if you don't the bot won't be able to download a movie for example cause the filesize is realy big if you don't add user xfer and set it to x the bot won't accept the file also if you don't add the users host the bot won't reconize the the xdcc file server as xfer and will still reject the file so its crutial to set the host on xfer

;) suggestion in case you didn't know all commands like privmsg can be done from party line so actualy you don't need a script to leech from the bot you could easely do .msg botnick whatever

so :
- load filesystem module (eggdrop.conf) and set the settings
- adduser xfer (.+user xfer) set host *@* (.+host xfer *@*) and flag to x (chattr xfer +x)
- rehash (.rehash) the bot and type .msg xdccbot xdcc send #?
XplaiN but think of me as stupid
g
gatty

Post by gatty »

thanks allot mate - i will try it asap :)
Locked