Jul 6, 2008

Control Parts Of Msn Through Mirc

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Others

free web hosting

Control Parts Of Msn Through Mirc

imacul8
Control your MSN, or return various information such as nickname, status, etc..
Usage: $msn(valuetype)

Valuetypes : returnvalue
online : $true or $false indicating wheter your signed in or not (actually $true indicates status but was added to have an independent online checker)
status : returns the status of MSN (Busy,Online,Invisible etc)
nickname : your nickname
email : your email

ie. //echo -a $msn(nickname) will return ur msn nickname.

user [ added syntax $msn(user,method,N,command) ] : $true when succesful $false when not

Methods:
Blocked [returns a boolean for weather you have the contact blocked]
CanPage [returns a boolean for weather the contact can recieve pager messages]
FriendlyName [returns the contacts friendly name]
IsSelf [reutns a boolean for weather the contact is the local user]
PhoneNumber [returns the phone number of the MPHONE_TYPE specified]
ServiceId [returns the contacts service id, this will be {9b017612-c9f1-11d2-8d9f-0000f875c541}]
ServiceName [returns the name of the service the contact is using, this will be .NET Messenger Service]
SigninName [returns the signin name of the contact, this will be an email]
Status [returns the contacts status as MISTATUS]

N
you can specify a command to perform on the Nth address in your msn.
use 0 to get the total ammount of contacts in which case total command paremeter is ignored
or -1 to perform on all your contacts

Command if command isnt specified echo -a <m> is assumed.
ie $msn(user,SigninName,2,echo -a <m> stinks!)
<m> will hold the email address or whatever else you specified as method

Other Commands
/msn -l <email address> [password]
Sign in to Msn Messenger dialog ( password might be omited by the messengerAPI)
/msn -c
sign out to Msn Messenger
/msn <email address>
Opens a chat window to the person
/msn -a [email address]
Opens the Add a Contact wizzard if a email is specified it will go to the 2nd page with the specified email filled in
/msn -i
Opens your inbox
/msn -o
Opens the MSN Messengers Options Dialog


CODE
alias  msn {
  .comopen msn Messenger.UIAutomation
  if ($comerr) { return $false }
  if $isid {
    if ($1 == user) {
      .comclose msn $com(msn,MyContacts,3,dispatch* items)
      if $com(items) {
        var %t = $com(items,Count,3) , %t2 = $com(items).result , %t3 = 1 , %c = $4
        if (!%c) { %c = echo -a <m> }
        if ($3 == 0) { .comclose items | return %t2 }
        if ($3 == -1) {
          while (%t3 <= %t2) {
            var %x = $comval(items,%t3,$2)
            $($replace(%c,<m>,%x),2)
            inc %t3
          }
        }
        elseif $3 <= %t2 { var %x = $comval(items,$3,$2) | $($replace(%c,<m>,%x),2) }
        .comclose items
        halt
      }
      else { return $false }
    }
    if ($1 == status)  || ($1 == online) {
      var %t2 = $com(msn,MyStatus,3) , %t = $com(msn).result , $&
        %return = $iif($v1 == status || %t != 1,$replacex(%t,10,Busy,66,Out For Lunch,0,unknown,14,Be Right Back,18,Away,1,Offline,2,Online,6,Invisible,34,Away,50,On The Phone),$false)

    }
    if ($1 == nickname) { var %t = $com(msn,MyFriendlyName,3) , %return = $com(msn).result }
    if ($1 == email) { var %t = $com(msn,MySigninName,3) , %return = $com(msn).result }
    .comclose msn
    return %return
  }
  if (*@* iswm $1) { var %t = $com(msn,InstantMessage,1,bstr,$1) }
  if (-a == $1) { var %t = $com(msn,AddContact,1,uint,0,bstr,$2) }
  if (-i == $1) { var %t = $com(msn,OpenInbox,1) }
  if (-o == $1) { var %t = $com(msn,OptionsPages,1,uint,0,bstr,0) }
  if (-l == $1) { var %t = $com(msn,Signin,1,uint,0,bstr,$2,bstr,$3) }
  if (-c == $1) { var %t = $com(msn,Signout,1) }
  .comclose msn
}



Have fun with this!! smile.gif

 

 

 


Reply

lemonwonder
Ok, ok.

I real thoroughly and I do not understand what to do, what is Mirc, you should be more specific coz i am interested

Reply

imacul8

if u dont know what mirc is then u shouldnt be worrying about this at all... was aimed at people with mirc thats y in the topic is says "through mirc"

But just to let u know, mirc is an internet relay chat program in which u can code things to change the way your mirc operates and the things it can do....

www.mirc.co.uk for a download

Reply

AlternativeNick
hey, thats mighty nifty there... ive seen something like that before, but since i dont really use msn that much, i dont really use it... ive really been interested in com objects, just to sorta see what can be done with them...

maybe sometime you could show me the ropes

its pretty cool seeing someone on here that uses mirc, what server/channel u usually on? and ur nick?

Reply

rldowling03
Wow this seems really handy, I will give this a try and get back to you. Have you actually got it working yourself?

Reply

imacul8
QUOTE(rldowling03 @ Aug 11 2006, 12:21 PM) *

Wow this seems really handy, I will give this a try and get back to you. Have you actually got it working yourself?


Yea i had it working before... its not really that much use though, just something to play around with smile.gif

and wow another member from adelaide SA, where bouts in adel u from?? Pm me smile.gif

Reply

Urza
Pretty nice, even if it's not really much use for anything other than playing around. although im sure some people would have a good use for it.

COM objects are one thing in mirc i never really learned how to use. The mirc commands themselves look easy enough, just never had experience with COM objects in general so i have no idea there

Reply

tractor
i dont have MSN but that looks nice. For anyone with MIRC and MSN it would be awsome

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. cache:7cdafipxk0ij:www.trap17.com/index.php/mirc-snippets_t31578.html code away input mirc - 374.79 hr back.
  2. msn busy backwards - 390.04 hr back.
  3. msn invisible checker - 5.88 hr back.
  4. msn invisible status checker - 257.74 hr back.
Similar Topics

Keywords : control, parts, msn, mirc

  1. Need Help With Mirc
    (0)
  2. I Am Looking For Ideas For A Mirc Addon
    I want your ideas (1)
    Well im currently between 2 projects that im scripting and im bored with them haha!! Just
    looking for ideas for something else i can make... Maybe just sumthing little that u want made, i
    will make it for you and release it here. I have a fairly wide range of scripting knowledge and i
    will try to make most things... Always looking to learn more things also Ta....
  3. Mirc 3d Rendering
    (0)
    QUOTE ======================================================================5/26/2006===
    Talons Simple 3D Tutorial irc.webchat.org:6667 in
    #mIRC,#help.mIRC ==================================================================================
    As a programmer, I often find myself trying to write things that already exist. It gives some
    satisfaction to say, "I did this on my own." even if it is not as good as what is already out there.
    Nothing is more impressive than your own work, even if it is not as good. It's an accompli....
  4. Socket Status Addon For Mirc
    (2)
    This addon will display the status of your open sockets (if there is any) Displays displays the
    Name, IP, Port, Status - Bytes sent/received & last Sent/recieved Has options to refresh the status,
    close a socket and close all sockets. Copy and paste this code below into your remotes (alt + r) To
    run the dialog u can simply type /sockstats or u can add a popup to your menubar or wherever to open
    it. ie. &Socket Status:/sockstats in your status popup section (alt + p) **IF you have no active
    sockets it wont open the dialog, it will just return no open sockets in your ....
  5. Sockets Help (mirc)
    (8)
    hello, i was wondering if someone would be able to help me out a bit. Im looking to get some info
    from my forums using sockets and mIRC, however the info i want requires that you be logged in. I
    know that it would require sockwrite POST something, but im not really sure how to use that :S
    anyways, here is the source to the login section (HTML) HTML form action ="
    http://www.altscripts.trap17.com/forum/index.php?action=login2 " method=" post " style="
    margin: 3px 1ex 1px 0pt; text-align: right; "> input name =" user " size=" 10 "
    type=" text ">....
  6. How To Customize The Look Of Your Mirc Events Part 2
    (6)
    Well in part 1 of How To Customize The Look Of Your Mirc Events i covered some channel events, so
    now i will cover the events for in a private chat. Plus some extra stuff.... ** To change the look
    of the other persons text u again use a on text event CODE on ^*:TEXT:*:?: {
      echo -t $query($nick) ( $+ $nick $+ ) $1-   halt }
    ** To change the look of your own input CODE on *:INPUT:?: {   if
    ($left($1,1) != /) {     .msg $active $1-     echo....
  7. How To Customize The Look Of Your Mirc Events
    (4)
    Well im sure that a lot of you just use mIRC for chatting and do not realise that you can actually
    use it to code cool stuff. You can also change the way your events look and i am going to explain
    how here. Starting with the on join event - which triggers when you and other users join a channel.
    Instead of having just the plain * Now talking in #channel and * nick has joined #channel you can
    make it look fancy ie. (Join/nick) (nick@address) and its not hard to do. CODE on
    ^*:JOIN:#: {   echo -t $chan (Join/ $+ $nick $+ ) (....
  8. Few Mirc Snippets I Have Scripted
    (19)
    Just a few things that may come in handy /smile.gif" style="vertical-align:middle" emoid=":)"
    border="0" alt="smile.gif" /> Backwards text snippet : will revers the text u input CODE bck {
      var %x = 1,%bck   while (%x <= $len($1-)) { %bck =
    $mid($1-,%x,1) $+ %bck | inc %x }   return %bck } Usage: $bck(text)
    ie. //echo -a $bck(hello everyone) Returns: enoyreve olleh Random letter/number generator :
    creates a random letter/number combo for the length specified. CODE rx {   if ($1 == &....
  9. Mirc Snippets
    Some snippets for IRC Chatters :) (10)
    You can find them on: www.hawkee.com www.mircscripts.org www.mircscripts.com www.mirc.net ... Here
    are somones...: CODE ; Repeat flood protection ; Change #channel with the name of your channel
    :) ; It will ban+kick after 3 repeats i 8 secs. on *:text:*:#klinci: {  if
    ($nick == $me) || ($nick isop $chan) || ($nick ishop
    $chan) { halt }  else {    var %text =
    $hash($strip($1-),32)    var %stari.text = %rp. [ $+ [
    $chan ] $+ . &#....

    1. Looking for control, parts, msn, mirc

Searching Video's for control, parts, msn, mirc
advertisement



Control Parts Of Msn Through Mirc



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE