What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » req:when someone send message to me, i will change my status automatic appear offline

Pages: (2): « First « 1 [ 2 ] Last »
req:when someone send message to me, i will change my status automatic appear offline
Author: Message:
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
RE: req:when someone send message to me, i will change my status automatic appear off
No
"2" === 2 would be true. 3 '='s means it has to be identical. Which it is.

(in php)

quote:
Originally posted by php.net

$a === $b    Identical     TRUE if $a is equal to $b, and they are of the same type.


This post was edited on 06-22-2007 at 06:41 PM by Nathan.
Touch Innovation - touch friendly programs/applications for the windows mobile!


06-22-2007 06:40 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: req:when someone send message to me, i will change my status automatic appear offline
http://en.wikipedia.org/wiki/Bitwise_operation
06-22-2007 06:47 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: req:when someone send message to me, i will change my status automatic appear off
quote:
Originally posted by Napbree
No
"2" === 2 would be true. 3 '='s means it has to be identical. Which it is.

You can test it yourself, "2" and 2 are not identical as the first one is a string (char array) and the second one is an integer.

Simple test:
code:
function testit()
{
    "2" === 2 ? Debug.Trace("TRUE") : Debug.Trace("FALSE");   
}
[Image: 1-0.png]
             
06-22-2007 08:44 PM
Profile PM Web Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: req:when someone send message to me, i will change my status automatic appear offline
from looking @ the code

why is it _origin equal to your name?

shouldn't it be != instead?

because then only you (when you send a message) will appear offline when you send
[quote]
Ultimatess6
: What a noob mod
06-23-2007 04:11 PM
Profile PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: req:when someone send message to me, i will change my status automatic appear off
quote:
Originally posted by roflmao456
from looking @ the code

why is it _origin equal to your name?

shouldn't it be != instead?

because then only you (when you send a message) will appear offline when you send
Correct. Therefore, you should use "!==" (not the same value and same type) or "!=" (not the same value).
quote:
Originally posted by Napbree
No
"2" === 2 would be true. 3 '='s means it has to be identical. Which it is.
No, the first part is a string and the second is an integer. In the case of comparing names, it isn't really necessary to check if the types are equal to. Messenger.MyName would only return a non-string when you're not signed in, but I can't think of a case where _origin is a non-string. But, for the sake of avoiding the smallest glitch, it's recommend to use "===" if you're sure the types are equal, otherwise something weird happened and you better make the script don't respond on weird things. :P
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
06-23-2007 05:30 PM
Profile E-Mail PM Web Find Quote Report
akyyy
Junior Member
**


Posts: 32
Joined: Apr 2005
O.P. RE: req:when someone send message to me, i will change my status automatic appear offline
well?:(

but i just change status, when xxx@msn.com write to me

no all:)

(example: http://shoutbox.menthix.net/showthread.php?tid=74676 )
07-05-2007 03:02 PM
Profile E-Mail PM Find Quote Report
toddy
Veteran Member
*****

Avatar
kcus uoy

Posts: 2573
Reputation: 49
– / Male / Flag
Joined: Jun 2004
RE: req:when someone send message to me, i will change my status automatic appear offline
quote:
Originally posted by akyyy
well?:(

but i just change status, when xxx@msn.com write to me

no all:)

(example: http://shoutbox.menthix.net/showthread.php?tid=74676 )
can you repeat that in english please ?
07-05-2007 03:06 PM
Profile PM Find Quote Report
akyyy
Junior Member
**


Posts: 32
Joined: Apr 2005
O.P. RE: req:when someone send message to me, i will change my status automatic appear offline
when someone send message to me, i will change my status automatic appear offline


and

when someone sing out, i will change my status automatic online
07-05-2007 05:58 PM
Profile E-Mail PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
RE: req:when someone send message to me, i will change my status automatic appear offline
quote:
Originally posted by akyyy
when someone send message to me, i will change my status automatic appear offline


and

when someone sing out, i will change my status automatic online

[Off-topic]
What is the point of that :s
[/Off-topic]
07-05-2007 06:04 PM
Profile E-Mail PM Find Quote Report
Screeny²
Junior Member
**

Avatar

Posts: 30
Reputation: 1
35 / Male / Flag
Joined: Jan 2007
RE: req:when someone send message to me, i will change my status automatic appear offline
I assume that he wants only when a specific person sends him a message, his status should automatically set itself to 'Appearing offline' to make this person believe he's gone, and when he or she finally signs-out, his status should be online again.

akyyy: You could try the "Block Talking" feature of StuffPlug 3.

This post was edited on 07-05-2007 at 06:49 PM by Screeny².
07-05-2007 06:46 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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