Welcome Guest.   Make a donation to an author on the site November 23, 2014, 02:41:39 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Kamel's little mIRC snippets  (Read 7220 times)
Kamel
Honorary Member
**
Posts: 138


View Profile Give some DonationCredits to this forum member
« on: December 04, 2008, 09:54:26 PM »

I seriously doubt any of these will be huge ground breaking things, but it turns out I always have some very basic snippets that I always use since many of these things mIRC should have included.

I will start with the one I just noticed I didn't have today and quickly wrote. No doubt this has been made by many authors before, but I did make it on my own and would like to share. I will update this post as I find myself using more simple things such as this.

How to use these:

If the 'code' part begins with "/alias", copy+paste that line in to any open mIRC window with an input box. Upon successful completion, you should get a message saying either "Added X alias" or "Updated X alias", X being the name of the alias (in this example, the alias name is topic). If it looks like code which does not have a / or /alias at the beginning, then you insert it by hitting alt+r for remote editor, and then add it to the bottom of the text (if any) in the window that alt+r brings up.

[copy or print]
/alias topic if (!$isid) { if ($1) topic $$1- | else echo -a $chan(#).topic } | else topic $1-

Explanation: If you type /topic without anything else, it will echo to you the current topic. If it is called as an identifier (is this even possible?) it will act as normal. If you type /topic with anything after it, it will act as standard mIRC would act.
« Last Edit: December 30, 2008, 02:51:30 PM by Kamel » Logged

I'm the guy you yell at when your DSL goes down...
Kamel
Honorary Member
**
Posts: 138


View Profile Give some DonationCredits to this forum member
« Reply #1 on: December 30, 2008, 02:43:26 PM »

Note: The following functions only work on networks with services like nickserv and chanserv etc. The donation coder IRC channel is not currently on a network with those types of services, so these functions while it will not hurt to have them will likely not be used by you unless you are using a network which uses these types of services.

[copy or print]
/alias identify .msg nickserv identify $$1-

Usage: /identify password

Explanation: Simply adds a /identify function that allows you to identify to nickserv without it showing your password on your screen after typing it. You could replace "$$1-" with your password in order to just type /identify and it type your password for you, but i personally prefer not to include my password in mIRC anywhere so that it isn't stolen by some external program.

[copy or print]
/alias ns msg nickserv $1-
/alias cs msg chanserv $1-
/alias hs msg hostserv $1-
/alias ms msg memoserv $1-

Usage: /ns text to send to nickserv

Explanation: type /ns /cs etc for common network services, such as nickserv, chanserv, etc. many networks support this by default, but not all of them. This is good for a couple of reasons, first being if you accidentally typo /msg nickserve identify password for instance, someone could be on the nickname "nickserve" and end up receiving your password. The other advantage is obviously the ease of typing way less characters to get done what you would like to do.
« Last Edit: December 30, 2008, 02:47:51 PM by Kamel » Logged

I'm the guy you yell at when your DSL goes down...
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.022s | Server load: 0.05 ]