Top

3 Aliases: /gnick, /restart, /reconnect


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Jan 19, 2008
Last Updated  Jan 19, 2008
Tags  alias  aliases  cmd  cmds  command  commands  gnick  irc  mirc  reconnect  restart  script 
  Bookmark and Share

Introduction

These are 3 very small aliases I wrote, just for general use.

Command: /gnick
Version: 1.2
Author: XTZGZoReX

Command: /restart
Version: 1.0
Author: XTZGZoReX

Command: /reconnect
Version: 1.0
Author: XTZGZoReX

Usage of /gnick: Simply type /gnick <new_nick> and it will change your nickname on all active connections.

Usage of /restart: Type /restart followed by your quit message, and mIRC will quit all connections and restart.

Usage of /reconnect: Just type /reconnect followed by your quit message, and you will be reconnected to the server.

Enjoy!

Grab the Code

Comments

  (5)  RSS
[DX]
Comments: 20
 
mIRC Snippet:  3 Aliases: /gnick, /restart, /reconnect
Posted on Jan 20, 2008 1:48 am
will this be

Code:
alias reconnect {
  if ( $server ) {
    quit $1-
    server $server
    halt
  }
  else {
    echo -a * /reconnect: not connected to server
  }
}


???
Korvin
Comments: 238
 
mIRC Snippet:  3 Aliases: /gnick, /restart, /reconnect
Posted on Jan 20, 2008 2:30 am
[dx] if youd notice the halt, it doesnt need the else {
XTZGZoReX
Comments: 5
 
mIRC Snippet:  3 Aliases: /gnick, /restart, /reconnect
Posted on Jan 20, 2008 7:40 am
Yup. You just copy and paste the alias and you're set.
:)
mountaindew
Comments: 1,645
 
mIRC Snippet:  3 Aliases: /gnick, /restart, /reconnect
Posted on Jan 21, 2008 2:36 pm
i dont believe u have to quit on the reconnect, just "server $server"
XTZGZoReX
Comments: 5
 
mIRC Snippet:  3 Aliases: /gnick, /restart, /reconnect
Posted on Jan 28, 2008 9:05 am
The point of the quit is that you can specify a quit message when reconnecting.

Also, please note: IRC opers need to change the alias into something else, as this alias interferes with the IRCd /restart command.

Please Register or Login to start posting comments.
Bottom