egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie: Using TCL and WBS.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
HumanTorch
Voice


Joined: 28 Jul 2008
Posts: 4

PostPosted: Mon Jul 28, 2008 2:30 pm    Post subject: Newbie: Using TCL and WBS. Reply with quote

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:
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! Mad


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 *.*
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Jul 28, 2008 2:36 pm    Post subject: Reply with quote

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.
_________________
speechles' eggdrop tcl archive


Last edited by speechles on Mon Jul 28, 2008 2:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
HumanTorch
Voice


Joined: 28 Jul 2008
Posts: 4

PostPosted: Mon Jul 28, 2008 2:45 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Jul 28, 2008 2:53 pm    Post subject: Reply with quote

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.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
HumanTorch
Voice


Joined: 28 Jul 2008
Posts: 4

PostPosted: Mon Jul 28, 2008 3:18 pm    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
HumanTorch
Voice


Joined: 28 Jul 2008
Posts: 4

PostPosted: Mon Jul 28, 2008 3:34 pm    Post subject: Reply with quote

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:

Quote:
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...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber