What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Script Question

Script Question
Author: Message:
GutterClown
New Member
*


Posts: 6
Joined: Aug 2006
O.P. Script Question
Simple question, requiring a simple answer.

Background info:
I run a small TeamSpeak server for a few guys.  Nothing too special.  just get in, and game.
But, I've got a dynamic IP.  so if my router resets, it locks the other guys out of the server until I get them the new IP.

now, I'm running the server on a dedicated machine, and it's annoying to constantly get my own IP (cmd => ipconfig /all) to send to them.


So, my question is as follows.  If I were to set up a small MSN account on the server, and had it just sitting there with selected contacts, could I set up a script to respond to them (for instance, contact says: .getIP) and have the server send it's current IP(s) to that contact?

And more importantly, has this been done before?

====================================

Alas, the elusive search function reveals that I could simply code an auto-talker to respond with "(!IP)"

Nevermind.

This post was edited on 01-17-2007 at 11:24 AM by GutterClown.
01-17-2007 11:14 AM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Script Question
You can write (!IP) in a message and that sends your IP address (this is a feature of Plus! itself and has been for a umber of versions).  For another method of making it easy on people you can have a look at the likes of http://www.no-ip.com which has a redirection capability to redirect a subdomain that you set up to a dynamic IP address, you just need to connect to them to tell the server your new IP.  I hope this is what you are after.
[Image: markee.png]
01-17-2007 11:22 AM
Profile PM Find Quote Report
GutterClown
New Member
*


Posts: 6
Joined: Aug 2006
O.P. RE: Script Question
Actually, I do still require an oppinion.

Is there a function to close a contact window?

ie: contact sends request for IP, server sends it, then closes the window

Otherwise there'll be MSN windows open all over the place, taking up useless RAM.

=========================================

...Damnit.  Why do I always finish posting before checking the search results tab.

This post was edited on 01-17-2007 at 01:20 PM by GutterClown.
01-17-2007 01:18 PM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: RE: Script Question
quote:
Originally posted by GutterClown
Is there a function to close a contact window?

quote:
Originally posted by Matty
code:
Interop.Call('user32', 'SendMessageW', ChatWnd.Handle, 0x0010/*WM_CLOSE*/, 0, 0);

Close a Chat Window

This post was edited on 01-17-2007 at 01:28 PM by Felu.
01-17-2007 01:24 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Script Question
or just set the auto-reply message to:

(!IP)
/close
<Eljay> "Problems encountered: shit blew up" :zippy:
01-17-2007 02:37 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On