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.

Newbie: Using TCL and WBS.

Help for those learning Tcl or writing their own scripts.
Post Reply
H
HumanTorch
Voice
Posts: 4
Joined: Mon Jul 28, 2008 2:12 pm

Newbie: Using TCL and WBS.

Post by HumanTorch »

Hi!

I am totally newbie at TCL scripting...

I've downloaded WinBot... It's not a real eggdrop but majority of it's scripts needs to be in TCL language, or something like it.

I need some help... Please, if you don't mind, tell me how to do the situations I'll describe or send links where I can find this information, either this forum or not.


1) Timer:
I would like to have a script where some commands has timer.
In mIRC language we can use:

Code: Select all

on *:connect: {
/timer 1 23 /join #channel
}
This means that at second 23 after conecting, my script automaticaly joins that channel.

I would like to know which is the code in .tcl or .wbs! :x


2) Timing messages:
For example, send an exactly message to this specific channel, ever X minutes. (.tcl or .wbs)


3) Random messages: (in .wbs or .tcl)
How to send messages to specifcs channels, randomly. I know those messages need to be in a .txt file, but I miss all the rest of code!


4) Adding 'commands' (in .wbs or .tcl)
For example, in this specific channel someone types a command, like !banana, and the bot sends to that person the message recorded to !banana.
Some requirements:
  • Add: !addtrigger name message
  • Remove: !remtrigger name
  • List: !listtrigger
  • If the user has status, he can send to the channel or to an user. Example:
    • Message to the channel: !forum
    • Notice to the user: !forum $nick
  • If the user hasn't status, he can only receive, typing only the command:
    • Notice to the user when is he typing and doesn't have status: !forum

If you know any website with tutorials or information for beginners that you think can help, please, tell me!!

Thanks for reading and help *.*
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

This forum is dedicated to eggdrop and tcl scripts which work in combination with an eggdrop. Where you figured winbot fit into this I'll never know. Mirc to tcl conversions are frowned upon. As well as winbot doesn't support tcl so your question is like a bare tree, fruitless....

Also, winbot doesn't run tcl scripts. It runs WinBotScripts (.wbs) or with use of a plugin it can run modified perl scripts (.pl). Also that bot is antiquated, deprecated and no longer being developed. You are much more better off with a real eggdrop and real tcl scripts.
Last edited by speechles on Mon Jul 28, 2008 2:50 pm, edited 1 time in total.
H
HumanTorch
Voice
Posts: 4
Joined: Mon Jul 28, 2008 2:12 pm

Post by HumanTorch »

Hmm sorry...

So, tell me, where I can find a good eggdrop?
I searched around and I found some information about shells... I don't really know what that works.. So I opted WinBot because isn't needed any configuration... Just run the .exe, open the program and conect...

Maybe if I keep with my mIRC bot would be better, but I don't want to quit of learning how to use eggdrop and tcl scripting!


Once again, sorry about spam and misunderstood.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

HumanTorch wrote:Hmm sorry...

So, tell me, where I can find a good eggdrop?
I searched around and I found some information about shells... I don't really know what that works.. So I opted WinBot because isn't needed any configuration... Just run the .exe, open the program and conect...

Maybe if I keep with my mIRC bot would be better, but I don't want to quit of learning how to use eggdrop and tcl scripting!


Once again, sorry about spam and misunderstood.
Read. There is power in reading. If your using windows, you will need a windrop (eggdrop compiled for windows). If you not using windows, you will need this. Which is a real eggdrop, latest version..

Also, an mirc bot is not a bot. It has a graphical user interface, and a way for a real user to interact with the client as well. This is not a bot. This is client script acting as if it were a bot. This will in no way be fast of efficient enough to handle most types of abuse. This is why people choose eggdrop.
H
HumanTorch
Voice
Posts: 4
Joined: Mon Jul 28, 2008 2:12 pm

Post by HumanTorch »

Yeah, I know that mIRC bot is not a real bot. It will never replace eggdrop. That's why I'm interested in changing all my mIRC scripts into .tcl so I can use them in an eggdrop bot.

I'm using Windows... If you don't mind, can you help me with is?
If you can't, I go look somewhere else, no problem ;)
H
HumanTorch
Voice
Posts: 4
Joined: Mon Jul 28, 2008 2:12 pm

Post by HumanTorch »

I've downloaded this windrop.

It has a 'read me' file... Says I need to configure the file eggdrop.conf, I opened it with Note Pad, but it's hard to understand! I'll give a try, just need to know what I should configure...

Then says:
Open a Command Prompt or MS-DOS Prompt
Change to the eggdrop's directory
For example, if the eggdrop was installed at D:\Windrop\ then type D: then cd D:\Windrop\
And run eggdrop in the userfile creation mode (If you have no userfile) with eggdrop -m
Let me see if I understood: I open cmd.exe, type C:\Windrop and press enter. Then I type eggdrop -m ??

Gosh, I really need help to start...

------------------
Edited:

The part of cmd.exe I got it... But it doesn't open... So I think it is because of the config file... :/

------------------
Edited 2:

I read now that I shouldn't use Note Pad to open eggdrop.config.
I've open with WinWord... I only need some tips in how to configure that...
Post Reply