RADIO ONLINE (Click radio icon to listen)

Showing posts with label mIRC Addon. Show all posts
Showing posts with label mIRC Addon. Show all posts

Sunday 29 March 2020

mIRC Alias To Clear All Html Codes.

mIRC Alias To Clear All Html Codes.
mIRC Alias To Clear All Html Codes.


This page is about mIRC Alias To Clear All Html Codes. This alias called $nohtml.

When we do a script using socket, and we make the sockread into a webpage source, we oftenly need the only data after the html codes. So, this is one of the solution.

We all know that in mirc, the character of 32, or $chr(32) represent space. You may change the $chr(32) into $null, if you do not want the result data array with space. 

We have the simple addon for character. Refer here

Below is the script.


alias nohtml {
  var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$chr(32),%x), %x = $remove(%x,&nbsp;)
  return %x
}

That's All Folks..

What Is My Ip Address. mIRC Client Script With Socket Using whatismyipaddress.com

What Is My Ip Address. mIRC Client Script With Socket Using whatismyipaddress.com 

As we know, in mirc, there is a function called $sock or /sockwrite. So, below is the simple example for the chatter to know the current using ip.

You may change the echo -a  command to msg it to channel.

echo -a => Will return the IP result into your active window.
msg #mircop => Will return the IP result into channel #mircop.

 

Below is the script.

alias whatismyip {
  var %web whatismyipaddress.com
  var %port 443
  if ($sock(whatismyip)) sockclose whatismyip
  sockopen -e whatismyip %web %port
}

on *:sockopen:whatismyip: {
  if ($sockerr > 0)  { echo -a Sock Error! }
  Sockwrite -n $sockname GET / HTTP/1.0
  sockwrite -n $sockname User-Agent: Mozilla
  Sockwrite -n $sockname Host: whatismyipaddress.com
  Sockwrite -n $sockname $crlf
  Sockwrite -n $sockname $crlf
}

on *:sockread:whatismyip: {
  var %tmp
  sockread %tmp
  if (<strong>IPv4:</strong> isin %tmp) { echo -a $nohtml(%tmp)  }
  if (<strong>IPv6:</strong> isin %tmp) { echo -a $nohtml(%tmp)  }
}

To run the script, open mirc client and then do command /whatismyip

That's All Folks!!

Tuesday 13 January 2015

mIRC Addon Killapopups by DarkPrince

mIRC Addon Killapopups by DarkPrince
mIRC Addon Killapopups by DarkPrince

Writen By DaRkPrInCe
E-mail: Babyg210069@yahoo.com
Irc Server: chat.freedomchat.net 
INSTALL INFO:
  1. Unzip KillaPopUps.mrc to your main mIRC folder and type this "/load -rs KillaPopUps.mrc."
  2. Right click your channel window and there is the popups.

Sunday 11 January 2015

mIRC Addon mp3 Player by DarkPrince (DaRkMp3PlAyA Ver1.0)

DaRkMp3PlAyA Ver. 1.0 (addon) *Made By DarkPrince*
mIRC Addon mp3 Player by DarkPrince (DaRkMp3PlAyA Ver. 1.0)

Writen By DaRkPrInCe
E-mail: Babyg210069@yahoo.com
Irc Server: chat.freedomchat.net

DOWNLOAD: Click here

INSTALL INFO:
  1. Unzip DarkMp3Playa.mrc to your main mIRC folder and type this "/load -r DarkMp3Playa.mrc"
  2. Right click your channel window and there is the player select random or selected play and your done =)

Tuesday 9 December 2014

mIRC Addon Simple Auto PM


mIRC Addon Simple Auto PM
mIRC Addon Simple Auto PM

Author: AngelSorce
Created: 1998

Description:
This simple auto PM is one of AngelSorce's simple addon that created on 1998. There is no such function to echo on active screen or what, it is just a simple Auto PM with no security. You may rebuild this script for your own use (P/s: just make a counter of nickname and set the limit for security reason)

Function:
To tell the user that you will PM him/her back.

Script:
on 1:OPEN:?:{
/msg $nick Hello there, $+($nick,..) Please dont bug me. I am in [ $chan(0) ] $iif($chan(0) > 1, channels,channel) and I have [ $query(0) ] $iif($query(0) > 1,msg's,msg) so please wait till I'm done and I will pm you when i'm ready. :)
}

Monday 24 February 2014

mIRC Addon Simple Character System

Translate System Dialog

Author: AngelSorce
Created: 1998

Download linkSimple Character System

Description:
This simple character system is not a system for anything. It is just a name. This mIRC Addon is one of AngelSorce's simple addon that created on 1998. 

Function:
To find the character code
To find the character value

How to use??
Example: To find the ascii code for "@"

If you are in mIRC, and NOT USING this addon, you can type below command to get the character code.
//echo -a $asc(@)

If you are in mIRC, and USING this addon:
1. Key in the character value in the value field box. You will get like below picture.




2. Click the "FIND" button and you will get the character code for "@" and you are done!!



If you want to find for a character value, just simply key in the character code in the code field box.

Happy scripting!! Thank you :)