PDA

View Full Version : mIRC scripting.




WillEH
Apr 2, 2011, 09:09 PM
Many years ago (6 years) I started to learn scripting on mIRC, I got the basics of it, but stopped and all these years on I would like to try it again. As most of us know, we can't use mIRC with mac, I have linkius IRC client right now, but as far as I can tell I can't create scripts on it like you could with mIRC. Does anyone know of a client that's similar to mIRC in the sense I can create and test scripts, etc.

For those who might be confused: http://en.wikipedia.org/wiki/MIRC_scripting_language

Thanks ;)



subsonix
Apr 3, 2011, 12:09 AM
I think WeeChat is scriptable, not sure how it compares to mIRC though.

http://www.weechat.org/

WillEH
Apr 3, 2011, 03:38 AM
Thanks for the reply, I downloaded ircle in the end, but it's tricky. I want to do the same as I could with mIRC, directly be able to edit script and add things on. Seems complicated with mac. If anyone can give me a suggestion. If you understand what I mean. :)

WillEH
Apr 5, 2011, 12:27 PM
Any further information on scripting with mac? finding it extremely hard to even work out where to start...

ender land
Apr 5, 2011, 02:15 PM
can you script on colloquy?

WillEH
Apr 5, 2011, 06:08 PM
can you script on colloquy?

That's what I'm trying to work out... I'm not sure where to start. on mIRC you can just click a button and start scripting, so when people do commands your account responds. But I'm still clueless how to do it with mac, or any of the IRC programs for mac..

subsonix
Apr 5, 2011, 08:32 PM
That's what I'm trying to work out... I'm not sure where to start. on mIRC you can just click a button and start scripting, so when people do commands your account responds. But I'm still clueless how to do it with mac, or any of the IRC programs for mac..

What do you mean by scripting? Does mIRC contain a built-in editor or something? If you are talking about simply executing scripts that should be possible. In the case of WeeChat, it supports 5 scripting languages and extension modules written in C. It's a terminal program though, and it might not be what you are looking for.

Edit: Here's some examples from colloquy, http://colloquy.info/project/wiki/Documentation/AppleScripting

WillEH
Apr 5, 2011, 10:44 PM
What do you mean by scripting? Does mIRC contain a built-in editor or something? If you are talking about simply executing scripts that should be possible. In the case of WeeChat, it supports 5 scripting languages and extension modules written in C. It's a terminal program though, and it might not be what you are looking for.

Edit: Here's some examples from colloquy, http://colloquy.info/project/wiki/Documentation/AppleScripting

Thanks for the reply.

Yes, mIRC has a built in editer where you can script your own scripts, etc. See my first link to mIRC scripting.

I know of the scripts you can load, but I don't want this. I want to be able to write my own scripts and execute them on the client, which mIRC allows you to do.

subsonix
Apr 5, 2011, 11:31 PM
Thanks for the reply.

Yes, mIRC has a built in editer where you can script your own scripts, etc. See my first link to mIRC scripting.

I know of the scripts you can load, but I don't want this. I want to be able to write my own scripts and execute them on the client, which mIRC allows you to do.

The reason I'm bringing it up is that an inbuilt editor is not a requirement to write your own scripts. Instead you write your scripts with any text editor, then execute them.

WillEH
Apr 5, 2011, 11:39 PM
The reason I'm bringing it up is that an inbuilt editor is not a requirement to write your own scripts. Instead you write your scripts with any text editor, then execute them.

That would do also, but I don't understand how to execute them with mac. :(

Sydde
Apr 6, 2011, 01:54 PM
That would do also, but I don't understand how to execute them with mac. :(

As I recall, with Ircle, the scripts either respond to a message from the server (most often CTCP) or to a slash command from your inputline (which you might be able create a button or keyboard shortcut for). In applescript, you use "on" to specify what to respond to. For example, if your script begins with "on yell …", you would type "/yell" in your inputline to activate the script (there would probably be some sort of argument, I forget all the details of AS). You put the scripts into a specified folder in order to be able to use them.

I believe both Ircle and Snak have instructions and examples for creating scripts on their sites/with the program bundle.

WillEH
Apr 7, 2011, 03:03 PM
As I recall, with Ircle, the scripts either respond to a message from the server (most often CTCP) or to a slash command from your inputline (which you might be able create a button or keyboard shortcut for). In applescript, you use "on" to specify what to respond to. For example, if your script begins with "on yell ", you would type "/yell" in your inputline to activate the script (there would probably be some sort of argument, I forget all the details of AS). You put the scripts into a specified folder in order to be able to use them.

I believe both Ircle and Snak have instructions and examples for creating scripts on their sites/with the program bundle.

I'll check it out, and get back to you. Thanks.

pikester
Apr 7, 2011, 04:04 PM
Another option is that if you really like mIRC, trying installing Wine for Mac:
http://wiki.winehq.org/MacOSX/Installing

A little more effort, but if you are very familiar with mIRC, this will let you reuse any scripts if you have them.

Sydde
Apr 7, 2011, 05:04 PM
Another option is that if you really like mIRC, trying installing Wine for Mac:
http://wiki.winehq.org/MacOSX/Installing

A little more effort, but if you are very familiar with mIRC, this will let you reuse any scripts if you have them.

Or you could buy Crossover, which rates mIRC as highly compatible (http://www.codeweavers.com/compatibility/browse/name/?app_id=2158).

WillEH
Apr 7, 2011, 06:17 PM
Another option is that if you really like mIRC, trying installing Wine for Mac:
http://wiki.winehq.org/MacOSX/Installing

A little more effort, but if you are very familiar with mIRC, this will let you reuse any scripts if you have them.

Tried wine, see: http://forums.macrumors.com/showthread.php?t=1133061&highlight=

Or you could buy Crossover, which rates mIRC as highly compatible (http://www.codeweavers.com/compatibility/browse/name/?app_id=2158).

Trying now, thanks.

WillEH
Apr 8, 2011, 03:54 PM
Thanks to all the replies, I tried CrossOver and it works a treat. Thank you again. :)