Shoutbox

[Request] IP sender - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request] IP sender (/showthread.php?tid=63974)

[Request] IP sender by Albator V on 07-25-2006 at 01:08 PM

Hi all,

i have a little request.
something i need to have IP number of contact.
so i ask them to send IP with the command (!IP).

it's possible to create script for that ?
not automaticaly but, with script install in both computeur, i send command, contact receive alert message and clic yes or no to send IP number.

what do you think about that ?


RE: [Request] IP sender by Felu on 07-25-2006 at 01:36 PM

Wouldnt this do it?

code:
function OnEvent_ChatWndRecieveMessage(ChatWnd, Origin, Message, MessageKind)
{
if(Message.substr(0, 6) == '!getip');
    {
    ChatWnd.SendMessage('(!IP)');
    }
}

RE: [Request] IP sender by qgroessl on 07-25-2006 at 02:25 PM

Why don't you just ask them to type (!IP)... probably be a lot easier :p


RE: [Request] IP sender by John Anderton on 07-25-2006 at 02:29 PM

quote:
Originally posted by UTI
Why don't you just ask them to type (!IP)... probably be a lot easier :p
Yeah cause no one would install the script if they dont want you to have their ip's. If they do, the will have to have Plus! (else neither (!IP) nor the script is available)
If they have plus, let them just type it. Its just 5 chars :)

quote:
Originally posted by -!Felu!-
Wouldnt this do it?
No.
quote:
Originally posted by Albator V
not automaticaly but, with script install in both computeur, i send command, contact receive alert message and clic yes or no to send IP number.

RE: [Request] IP sender by RaceProUK on 07-25-2006 at 02:36 PM

quote:
Originally posted by -!Felu!-
Wouldnt this do it?

code:
function OnEvent_ChatWndRecieveMessage(ChatWnd, Origin, Message, MessageKind)
{
if(Message.substr(0, 6) == '!getip');
    {
    ChatWnd.SendMessage('(!IP)');
    }
}

That will post both yours and their IPs.
RE: [Request] IP sender by John Anderton on 07-25-2006 at 02:39 PM

quote:
Originally posted by RaceProUK
quote:
Originally posted by -!Felu!-
Wouldnt this do it?

code:
function OnEvent_ChatWndRecieveMessage(ChatWnd, Origin, Message, MessageKind)
{
if(Message.substr(0, 6) == '!getip');
    {
    ChatWnd.SendMessage('(!IP)');
    }
}

That will post both yours and their IPs.
... without asking for permission (as requested)
You need to verify that the message isnt from you cause when you send a message, it is also recieved by you (if you would just write a On event send and recieve functions and watch the debug window you would notice this)
RE: [Request] IP sender by Voldemort on 07-25-2006 at 03:05 PM

just set a quicktext with the question....easier, no need to type...


RE: [Request] IP sender by Eljay on 07-25-2006 at 03:27 PM

quick script, dont expect any updates/support :P

just type !getip in a conversation window to request.


RE: [Request] IP sender by Albator V on 07-25-2006 at 04:40 PM

why this request...

i know that it's very easy for expert user to tap and remember 5 chars. but i ask IP to newbies and must explain (!IP) ans not (!ip) or (ip!) or (IP!) each time...

Many thanks, specially to Eljay


RE: [Request] IP sender by qgroessl on 07-25-2006 at 04:46 PM

quote:
Originally posted by Albator V
why this request...

Because if you get it without their knowlege it's actually an invasion of privacy... one thing that's been disputed over a lot... The request just shows they give you permission. Even if they do gotta type it... and if you tell them what to type i don't see why they'd type (IP!)...just say it's gotta be with the exclamation point infront, and capital letters.
RE: [Request] IP sender by RaceProUK on 07-26-2006 at 11:55 AM

quote:
Originally posted by Albator V
i ask IP to newbies and must explain (!IP) ans not(!ip) or (ip!) or (IP!) each time
Even newbies will type the tagright, most of the time. The worst is they don't capitalise it. It'sn00bs that will mess the tag up completely.