IRC bots

Any other programming language that is not covered in the Web Scripting category.

IRC bots

Postby royteeuwen on Sat Jun 10, 2006 3:21 pm

Well, does anyone know if its possible that when u made scripts in mIRC that u make sort of a bot and put it on shell and that u can run like mIRC and let the scripts work, so that u would always have the bot in your channel. Because i never made .tcl scripts yet, and it would be easier if i could just use my mIRC scripts instead of haveing to make all new scripts. If it aint possible with Shell, is it possible with something else? like haveing a dedicated server.
royteeuwen
Contributer
Contributer
 
Posts: 24
Joined: Sat Jun 10, 2006 3:03 pm

Postby Rommaster on Sat Jun 10, 2006 7:07 pm

You can't use .mrc extended scripts for linux irc clients...
You will have to port your .mrc script to perl, c++ or anything else that works.
SwiftIRC - irc.swiftirc.net - #phoenix
Phoenix-Network

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Rommaster
Phoenix Veteran
Phoenix Veteran
 
Posts: 960
Joined: Thu Mar 10, 2005 1:05 pm
Location: The Netherlands

Postby royteeuwen on Sun Jun 11, 2006 8:40 am

And if u wuld get like a windows OS dedicated server, would it be possible to put mIRC on there and let it run all the time with the scripts? or something like that?
royteeuwen
Contributer
Contributer
 
Posts: 24
Joined: Sat Jun 10, 2006 3:03 pm

Postby biohazard on Sun Jun 11, 2006 11:54 am

yes you can probably i mean once i tried a win32 client with my bot scripts i coded but it wont run, you need to code .tcl scripts they are the main scripts for most irc bots
biohazard
Newbie
Newbie
 
Posts: 13
Joined: Sun Jun 11, 2006 11:34 am

Postby Rommaster on Sun Jun 11, 2006 2:04 pm

royteeuwen wrote:And if u wuld get like a windows OS dedicated server, would it be possible to put mIRC on there and let it run all the time with the scripts? or something like that?


Probably, yes. But the dedicated server should have a good uptime and connection. Or you would have a bot that pings out too often.
SwiftIRC - irc.swiftirc.net - #phoenix
Phoenix-Network

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Rommaster
Phoenix Veteran
Phoenix Veteran
 
Posts: 960
Joined: Thu Mar 10, 2005 1:05 pm
Location: The Netherlands

Postby royteeuwen on Sun Jun 11, 2006 6:47 pm

hmm k Confused , i guess ill just learn tcl scripts
royteeuwen
Contributer
Contributer
 
Posts: 24
Joined: Sat Jun 10, 2006 3:03 pm

Postby tomyssj4ever on Mon Jun 12, 2006 6:36 pm

Eggdrops are cool if u configure them rigth.

Try itt
tomyssj4ever
Contributer
Contributer
 
Posts: 21
Joined: Sun Jun 11, 2006 11:49 am
Location: Romania

Postby royteeuwen on Tue Jun 13, 2006 12:34 pm

yea , but is it possible to make every script that u can make on mirc, also on tcl? like sockets and stuff?
royteeuwen
Contributer
Contributer
 
Posts: 24
Joined: Sat Jun 10, 2006 3:03 pm

Postby De Kus on Wed Jun 14, 2006 10:36 am

I doubt mIRC can anything that you cannot reproduce on TCL, probably it's rather the other way. Many of the unix commands cannot be repoduced on mIRC, since you would need to write thousands lines of code Very Happy.
Only thing is, that you cannot convert them straight, since there are other predefined "aliases" with total diffrent syntax. So in most caes swriting a new script from scratch with the functionalitiy idea of the remote script, is in most cases easier (since TCL programer usually dont know much about mirc scripting).
Oh stop... there is one thing TCL doesnt support... thats UDP... but you can use unix commands or call an PERL script or something liek that to query UDP data, so it isnt that big of a deal.
And in worest case, you simply write your own C app to get the fucntionalitity you need (I actually did that to get error reporting of low level sockets for server statuses) and call it out of eggdrop/irssi/whatever ^-^.
Image
User avatar
De Kus
Phoenix Veteran
Phoenix Veteran
 
Posts: 305
Joined: Mon Mar 14, 2005 2:15 pm
Location: Germany

Postby De1Rekt0n on Thu Jun 15, 2006 1:28 am

First of all there is no point putting mIRC on some "windows shell" because u can always put eggdrop that got everything as some mIRC script.
And yes, you have TCL scripts witch u can use on eggdrops and get everything u need.

I am rather for programming your own eggdrop in C or Delphi if u are using windows, if u need some source let me know.
De1Rekt0n
Contributer
Contributer
 
Posts: 31
Joined: Thu Jun 15, 2006 1:25 am

Postby royteeuwen on Fri Jun 16, 2006 7:16 pm

thx for all the help :p
royteeuwen
Contributer
Contributer
 
Posts: 24
Joined: Sat Jun 10, 2006 3:03 pm

Postby Rommaster on Fri Jun 16, 2006 9:43 pm

De1Rekt0n wrote:First of all there is no point putting mIRC on some "windows shell" because u can always put eggdrop that got everything as some mIRC script.
And yes, you have TCL scripts witch u can use on eggdrops and get everything u need.


There is a point for him to put it on a "windows shell", because he wants to run his current .mrc scripts on a mIRC client. He doesn't know .tcl so it's easier for him to run it on a "windows shell" then porting everything to .tcl.
SwiftIRC - irc.swiftirc.net - #phoenix
Phoenix-Network

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Rommaster
Phoenix Veteran
Phoenix Veteran
 
Posts: 960
Joined: Thu Mar 10, 2005 1:05 pm
Location: The Netherlands

Postby royteeuwen on Sat Jun 17, 2006 12:10 pm

jup, thats what i was asking for :p, but tim said it would take so mutch energy of a shell account that practicly no one would allow it, u woulda llready need a dedicated server thats about 90$ or something :s, so i guess ill just try to learn tcl, anyone got any good guides in makeing tcl scripts? :s
royteeuwen
Contributer
Contributer
 
Posts: 24
Joined: Sat Jun 10, 2006 3:03 pm

Postby De1Rekt0n on Sat Jun 17, 2006 2:18 pm

Yes but he could learn TCL, its really not problem to port it on TCL.
Why all are going on easy ways...
De1Rekt0n
Contributer
Contributer
 
Posts: 31
Joined: Thu Jun 15, 2006 1:25 am

Postby Rommaster on Sat Jun 17, 2006 9:26 pm

royteeuwen: http://johoho.eggheads.org/eggdrop/other/guide2tcl.html
A simple google. Wink

De1Rekt0n: It really depends on the amount of scripts he has and how big they are...
SwiftIRC - irc.swiftirc.net - #phoenix
Phoenix-Network

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Rommaster
Phoenix Veteran
Phoenix Veteran
 
Posts: 960
Joined: Thu Mar 10, 2005 1:05 pm
Location: The Netherlands

Next

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron