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.

Safe Eggdrop tcl coding

Old posts that have not been replied to for several years.
Locked
D
Damnation85
Voice
Posts: 19
Joined: Sun Dec 19, 2004 2:31 pm

Safe Eggdrop tcl coding

Post by Damnation85 »

Hello, i am want to start coding tcl scripts into my eggdropt bot, i know eScript, C - intermediate(learnt from books), C++ - beginner (learnt from books) and some tcl still reading it from this book - Practical programming in Tcl and Tk second edition -Brent B. Welch

i once ran a eggdrop bot but used other peoples scripts so now i want to do it all myself so that i know exactly what it does how it does it, so i can fix the bugs, and add features etc etc. a few things i want to know is.

i onced used a code called windrop or somthing, it mimiced some irc servers commands its in the script database here somewhere. also some of mc_8's codes but unfortunatly, if somone spamed it would ban them thats the good bit but the downside was if someone was to write one line whilst that person spamed the bot would ban as well. is this a flaw in the bot or the code. if so i can code so that it takes out the spammer and not the innocent party?


now to the main subject line. my bot, got my k-lined from a irc server because (i am allowed on now) i didn't know how to shut it down as its name wasn't its true name so when i tried to dcc chat it or /msg it i couldn't and well on my windows i could kill the process unfortunatly because it kept changing its name to like windropbot12345 etc etc it got me baned because the administrator thought it was a attack to the server. i am wondering if i should host a local host irc server to test the scripts if so could u advise me as to how (i am on windows, might switch to linux when i get a external hd (run linux from that) so i can go back to windows for playing games when i have the total free time and dont want to code)
the irc server i will run this bot eventually on is irc.darkmyst.org it uses chanserv and nickserv. so if any help is given and using an irc server is safest bet for testing. could i be possibly linked to a irc server script set that uses those services so i can match the bot to that.

do you think it would be a good idea to email the admin of darkmyst.org and ask him specific questions about his server, and build the bot around those. if so could u suggest some questions. i am a complete newbie, i can do basic operations in windrops/eggdrops nothing more.

so any information or help would be very helpful and taken with the upmsot gratitude.

(i have check the faq's and did a search i didn't find information i needed so sorry if this sort of post has been asked and replied to before)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

as long as your bot behaves (doesn't flood the server with changing NICKs, STATS or LINKS requests or some other rapidly repeating commands) - and eggdrop will behave, unless loaded with some really stupid/idiotic script - you don't have to inform (ask for permission) anyone about it (of course, on servers that allow bots)
Locked