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.

creating commands

Old posts that have not been replied to for several years.
Locked
C
CIDER

creating commands

Post by CIDER »

Hi i am completely new to eggdrops and the TCL language, i was told to read this guide http://www.suninet.nl/tclguide/ which i have done, have also read alot of other sites and frankly the whole concept is beyond my capabilites :( i just dont get code :( anyway to the reason i am here, i have an info bot which has been coded in mIRC Script (if thats the language) anyway people can execute a command like !modes and it connects to an ini file on the bots client which then spits out various info, another ie,

!staff - "-aocab`Serv- AOCAB Staff - AOCAB's often demanding duties requires the most versatile, commited and talented group of members. If you would like to find out who these people are please type the following in the channel window. !staff.managing.director , !staff.directors , !staff.managers , !staff.co-ordinators , !staff.personnel. For more details please visit our website http://aocab.net."

now im looking at converting the bot to an eggdrop for various reasons, 1 main reason is we can run it of our webserver, so my question is how would one go about creating commands like !staff with the info connected to it, im thinking all i would really need is one bit of code which i can then copy and paste and change the info for each command to suit, anyway if anyone could help or point me to somewhere which actually explains how one would do that i would be greatful.

Thanks in advance

Michael

p.s. i did search but its a little hard to when you dont really know what to search for :(
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

You should see the tcl-commands.doc file from the doc/ dir and this TCL Manual. Also, a lil forum search should give you some start tips.
Once the game is over, the king and the pawn go back in the same box.
C
CIDER

Post by CIDER »

thanks caesar but what would i look for? :(
User avatar
arcane
Master
Posts: 280
Joined: Thu Jan 30, 2003 9:18 am
Location: Germany
Contact:

Post by arcane »

bind pub
puthelp "NOTICE $nick
puthelp "PRIVMSG $chan
file open
file read
aVote page back online!
Check out the most popular voting script for eggdrop bots.

Join the metal tavern!
C
CIDER

Post by CIDER »

that doesnet really mean anything to me, the topic titles dont even come close to what i search and because i have no idea what to look for or how to start it makes it even harder, is there no one out there who has done this and can help me out?
Locked