[TUTORIAL] mIRC Scripted Version Changer

Tutorials and How-Tos
User avatar
p455w0rd
Site Admin
Site Admin
Posts: 283
Joined: Wed Sep 14, 2005 12:00 am
Contact:

[TUTORIAL] mIRC Scripted Version Changer

Postby p455w0rd » Tue Nov 13, 2012 8:41 am

Well...this script has been around since before the introduction of DLL support in mIRC. It used to be a well kept secret, why is beyond me. But it has worked all these years and still does...

Code: Select all

on *:connect:{
  .debug -i NUL version_changer
  .ignore -t *
}
alias version_changer {
  tokenize 32 $1
  var %nick = $right($gettok($2, 1, 33), -1)
  if ($2 == $server) { %nick = $me }

  if ($1 == <- && $3 == PRIVMSG && ($4 == $me || $4 ischan)) {
    if (:VERSION* iswm $5) {
      echo $colour(ctcp) -at [[ $+ %nick VERSION]
      ;*****EDIT HERE: change the next line starting at (myScriptName)******
      .ctcpreply %nick VERSION (myScriptName) mIRC v7.27 Khaled Mardam-Bey
      halt
    }
  }
}
Image
Image
User avatar
Chamberly
Double Kill
Double Kill
Posts: 56
Joined: Wed Dec 28, 2011 12:00 am
Location: Knoxville, TN
Contact:

Postby Chamberly » Mon Jan 26, 2015 10:49 pm

Haha nice.

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest