Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



Getting started FAQ


45 replies to this topic * * * * * 2 votes

#46 Hardcore Til I Die

    Neowinian Senior

  • 2,875 posts
  • Joined: 18-February 07
  • Location: England

Posted 06 March 2013 - 17:18

I started off by using mIRC scripting; it's a very easy language to learn and teaches the basics, but it also has some things that may confuse people when they try to transition to another language; for example, everything in mIRC is a string. You don't need to enclose strings in quotes either.

alias test {
  var %x = abc, %y = 1
  echo -a $calc(%y * 10)
}

This creates an alias/function called 'test' which declares two variables (%x: abc and %y: 1) then outputs the value of %y times by 10.

It has functions, variables, loops, sockets, events, etc etc. I found it quite easy to transition from mIRC to C++. Obviously C++ is more complex, but syntactically it's not worlds apart.

I still use it today because it's an incredibly quick and easy language to write code for, so if I need to simplify a task at work I can whip up a script in minutes. I wrote a script in twenty minutes that takes names from a list and adds them to an Outlook calendar for each day in a month. It's to signify who is on call each night at work. Turned a job that usually takes about 20-30 minutes into a two minute one :D