Discussion:
mIRC Scripting .NET
(too old to reply)
Graham
2005-03-27 19:03:58 UTC
Permalink
Hi, All

I've just started horsing around with mIRC scripting. I have a script (bot)
written which is capable of identifying people who come into a channel, and
greeting them with a specific greeting. This list, as well as what greeting
should be used, is however, hard coded.

What I'd like to do is to be able to pump this list into a SQL database, and
allow the user to add/modify/remove their greetings by issuing commands to
the bot. The basic ON TEXT instructions, I believe I have. The database
instructions I do not.
I have already written the database, as well as a .NET component with
methods like AddGreeting, ModifyGreeting, DeleteGreeting, etc. What I'd like
to know is if there's a way in mIRC to consume this .NET class library from
script. I know that mIRC can consume COM objects (Although I don't really
know how yet), but what about .NET?

Failing this, is there a way I can access an ODBC compliant data source from
mIRC-Script?

Thanking the group in advance...

Cheers
Graham
--
http://www.communicate.za.net/
(Remove "at" from my e-mail address to reply)
Chiisai
2005-03-29 17:42:36 UTC
Permalink
Post by Graham
Hi, All
I've just started horsing around with mIRC scripting. I have a script (bot)
written which is capable of identifying people who come into a channel, and
greeting them with a specific greeting. This list, as well as what greeting
should be used, is however, hard coded.
What I'd like to do is to be able to pump this list into a SQL database, and
allow the user to add/modify/remove their greetings by issuing commands to
the bot. The basic ON TEXT instructions, I believe I have. The database
instructions I do not.
I have already written the database, as well as a .NET component with
methods like AddGreeting, ModifyGreeting, DeleteGreeting, etc. What I'd like
to know is if there's a way in mIRC to consume this .NET class library from
script. I know that mIRC can consume COM objects (Although I don't really
know how yet), but what about .NET?
Failing this, is there a way I can access an ODBC compliant data source from
mIRC-Script?
Thanking the group in advance...
Cheers
Graham
I believe there was some kind of MySQL client for mIRC. You should look
at www.mircscripts.org. If you can't find something like that, you could
write a simple DLL. Read mIRC's help file.

- Chiisai, the not-so-helpful helper

Loading...