mIRC scripting.

Discussion in 'Mac Programming' started by WillEH, Apr 2, 2011.

  1. macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #1
    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 ;)
     
  2. macrumors 68040

    Joined:
    Feb 2, 2008
    #2
  3. thread starter macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #3
    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. :)
     
  4. thread starter macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #4
    Any further information on scripting with mac? finding it extremely hard to even work out where to start...
     
  5. macrumors 6502a

    Joined:
    Oct 26, 2010
    #5
    can you script on colloquy?
     
  6. thread starter macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #6
    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..
     
  7. subsonix, Apr 5, 2011
    Last edited: Apr 5, 2011

    macrumors 68040

    Joined:
    Feb 2, 2008
    #7
    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
     
  8. thread starter macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #8
    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.
     
  9. macrumors 68040

    Joined:
    Feb 2, 2008
    #9
    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.
     
  10. thread starter macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #10
    That would do also, but I don't understand how to execute them with mac. :(
     
  11. macrumors 68000

    Sydde

    Joined:
    Aug 17, 2009
    #11
    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.
     
  12. thread starter macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #12
    I'll check it out, and get back to you. Thanks.
     
  13. macrumors newbie

    pikester

    Joined:
    Feb 27, 2009
    #13
    Wine

    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.
     
  14. macrumors 68000

    Sydde

    Joined:
    Aug 17, 2009
    #14
  15. WillEH, Apr 7, 2011
    Last edited by a moderator: Apr 11, 2011

    thread starter macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #15
  16. thread starter macrumors 6502a

    WillEH

    Joined:
    Feb 8, 2011
    Location:
    United Kingdom
    #16
    Thanks to all the replies, I tried CrossOver and it works a treat. Thank you again. :)
     

Share This Page