How to Start Scripting in mIRC

Install mIRC http://www.mirc.com/, if you don't already have it., Connect to the server you wish to connect to. , Press 'Alt+R' or click the green box with /a in it to open the scripts menu., Before you start to make scripts in mIRC you should learn...

15 Steps 2 min read Advanced

Step-by-Step Guide

  1. Step 1: Install mIRC http://www.mirc.com/

    (In mIRC
    6.3+ it is now an image of a scroll.) ,,, Say "/help remote identifiers" for the help page that has a great list of them. , Type on *:, in the text area section of the Remotes window.

    That will make your script execute whatever the level (voice, halfop, operator, etc) of the user calling you for the script is.

    Type TEXT: right next to it.

    TEXT will specify that the script will look in text queries.

    You could have replaced it with ACTION for /me commands.

    There are also Join, Connect, Part, Kick, Ban, Op, Dope, and many many others.

    Type !pie*: next to that.

    That will specify the script to look for the word !pie followed with anything next to it (!pie hello will trigger the script as well as !pie face or simply !pie).

    The asterisk is a wildcard input, that tells the script to accept anything in it's place.

    Type #: to activate the script in every channels you are in.

    You could also specify a certain channel (I.E. #LifeGuide Hub:).

    You can substitute the # with a ? so it only responds to private messages (PM's) instead.

    Or use the wildcard input (Asterisk *) so it'll work for both.

    Type msg # $nick just gave $$2 a pie! to send a message on the channel where the query has been executed.

    You should now have a full script in your script.ini file. , When they type !pie (With someone's name) it should display the following sentence, replacing $nick with the name of the person who said "!pie" and $$1 with whatever they say after !pie as well.

    Example: ,,,,
  2. Step 2: if you don't already have it.

  3. Step 3: Connect to the server you wish to connect to.

  4. Step 4: Press 'Alt+R' or click the green box with /a in it to open the scripts menu.

  5. Step 5: Before you start to make scripts in mIRC you should learn about aliases.

  6. Step 6: Play with your alias tab to begin with

  7. Step 7: making simple commands such as: /j /join $$1 - This command will allow you to just say "/j #test" and join the #test channel.

  8. Step 8: Learn about identifiers!

  9. Step 9: Click the 'Remotes' tab to edit the script.ini file containing every scripts your client can use.

  10. Step 10: Press 'OK' and ask someone to type !pie and someone's name.

  11. Step 11: Test: !Pie Krystle

  12. Step 12: PieBot: Test just gave Krystle a pie!

  13. Step 13: If it doesn't work

  14. Step 14: make sure your script reads as follows: on :TEXT:!pie*:#:msg # $nick just gave $$1 a a pie!

  15. Step 15: Keep trying it out and experimenting.

Detailed Guide

(In mIRC
6.3+ it is now an image of a scroll.) ,,, Say "/help remote identifiers" for the help page that has a great list of them. , Type on *:, in the text area section of the Remotes window.

That will make your script execute whatever the level (voice, halfop, operator, etc) of the user calling you for the script is.

Type TEXT: right next to it.

TEXT will specify that the script will look in text queries.

You could have replaced it with ACTION for /me commands.

There are also Join, Connect, Part, Kick, Ban, Op, Dope, and many many others.

Type !pie*: next to that.

That will specify the script to look for the word !pie followed with anything next to it (!pie hello will trigger the script as well as !pie face or simply !pie).

The asterisk is a wildcard input, that tells the script to accept anything in it's place.

Type #: to activate the script in every channels you are in.

You could also specify a certain channel (I.E. #LifeGuide Hub:).

You can substitute the # with a ? so it only responds to private messages (PM's) instead.

Or use the wildcard input (Asterisk *) so it'll work for both.

Type msg # $nick just gave $$2 a pie! to send a message on the channel where the query has been executed.

You should now have a full script in your script.ini file. , When they type !pie (With someone's name) it should display the following sentence, replacing $nick with the name of the person who said "!pie" and $$1 with whatever they say after !pie as well.

Example: ,,,,

About the Author

J

Joshua Gray

Committed to making practical skills accessible and understandable for everyone.

37 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: