Shoutbox

[Release] Auto status change - 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: [Release] Auto status change (/showthread.php?tid=64452)

[Release] Auto status change by mlevit on 08-04-2006 at 04:37 AM

As requested here i have made the small script to change the status.

It will change your current status depending on what your message is (in any case ie brb/Brb).


Message: brb
Status: Be right back

Message: bbl or bbs
Status: Away

Message: back or bak
Status: <your previous status>

Message: brb<space>/<space> phone
Status: Be right back
PSM: PHONE

Message: bbl<space>/<space>sleeping
Status: Away
PSM: SLEEPING

The words after "/" will be made into your PSM


New feature updated:

brb/bbs/bbl will be sent to all open chat windows as requested.

Please notify me of any bugs


Enjoy,

Suggestions are welcome


RE: [Release] Auto status change by lizard.boy on 08-04-2006 at 04:55 AM

My name is lizard.boy and I approve this Script!

Thanks alot!


RE: [Release] Auto status change by artfuldodga on 08-04-2006 at 05:32 AM

could you add 'bbl' in there & change that to just (Away)

i'd do it myself, but i have no idea what each status is using the code :P

im changing all mine to 'i'll brb' :) & 'i'll bbl' etc:P ... great script though:)!!!


RE: [Release] Auto status change by haydos on 08-04-2006 at 05:39 AM

Very nice script, super useful (y)


RE: RE: [Release] Auto status change by mlevit on 08-04-2006 at 06:39 AM

quote:
Originally posted by rockie
could you add 'bbl' in there & change that to just (Away)

i'd do it myself, but i have no idea what each status is using the code :P

im changing all mine to 'i'll brb' :) & 'i'll bbl' etc:P ... great script though:)!!!


Done. I have updated the first post with the new file
RE: [Release] Auto status change by Thor on 08-04-2006 at 10:39 AM

nice and very useful, thanks for making! (Y)


RE: [Release] Auto status change by Jimcando on 08-04-2006 at 05:52 PM

(Y) super useful. Well done


RE: [Release] Auto status change by Exca on 08-04-2006 at 06:04 PM

i type those commands all the time, so it's helpful for me indeed!


RE: [Release] Auto status change by snAke_LeAder on 08-05-2006 at 06:50 PM

kewl


RE: [Release] Auto status change by mlevit on 08-06-2006 at 01:48 AM

Hey all,

I was thinking of adding another small feature to this script.

I was thinking of something like this:

Message: brb phone
Status: Be right back
PSM: phone


What it would do is just take the words after brb and place them as your PSM. When you type back it would change your PSM back to your original one.

What do you think?


RE: [Release] Auto status change by Kenji on 08-06-2006 at 01:53 AM

quote:
Originally posted by mlevit
Hey all,

I was thinking of adding another small feature to this script.

I was thinking of something like this:

Message: brb phone
Status: Be right back
PSM: phone


What it would do is just take the words after brb and place them as your PSM. When you type back it would change your PSM back to your original one.

What do you think?
that would be cool, id like to see it in the newt version :cheesy:
RE: [Release] Auto status change by mlevit on 08-06-2006 at 02:24 AM

New feature updated


RE: [Release] Auto status change by Exca on 08-06-2006 at 08:16 PM

Can you tell me what does PSM stand for?


RE: [Release] Auto status change by Zahid™ on 08-06-2006 at 08:20 PM

quote:
Originally posted by Exca
Can you tell me what does PSM stand for?

Personal Message.
RE: [Release] Auto status change by Jimbo on 08-07-2006 at 10:18 AM

cool script


thanks a lot


RE: [Release] Auto status change by 4penguino on 08-07-2006 at 10:35 AM

well do this itll work
a script i really need is one that when you say brb or bbs ot bbl it sends to all the conversations ope  and changes your status to brb/away depends what it is
a example

brb=be right back
bbl, bbs=aaway

its a script that i really need

EDIT:Can The Creator of the script add this on...


RE: [Release] Auto status change by 4penguino on 08-07-2006 at 04:38 PM

anyone please can they make that ^^ please


RE: [Release] Auto status change by cloudhunter on 08-07-2006 at 05:57 PM

Don't double post. Wait until people reply themselves...

Cloudy


RE: [Release] Auto status change by Oxy on 08-07-2006 at 09:32 PM

Yeah super script!!! and penguino's idea wud be mega useful in that u can say it to one person and all the open conversations received it too... like linked chats!!:P


RE: [Release] Auto status change by mlevit on 08-07-2006 at 10:19 PM

Ok, ill give it a go.

Ill probably have it made by the end of the day


RE: RE: [Release] Auto status change by mlevit on 08-08-2006 at 01:30 AM

quote:
Originally posted by 4penguino
well do this itll work
a script i really need is one that when you say brb or bbs ot bbl it sends to all the conversations ope  and changes your status to brb/away depends what it is
a example

brb=be right back
bbl, bbs=aaway

its a script that i really need

EDIT:Can The Creator of the script add this on...


As requested, first post updated with new version.
RE: [Release] Auto status change by 4penguino on 08-08-2006 at 12:50 PM

great thats brill just what i needed thanks mate
no bugs so far


RE: [Release] Auto status change by Kenji on 08-08-2006 at 12:52 PM

to sened a message to every one you can type "/all brb" without th quotes ;)


RE: [Release] Auto status change by Oxy on 08-08-2006 at 01:16 PM

yes very true but still the script is a great idea he should launch it into the script dataase if he hasnt allready


RE: [Release] Auto status change by 4penguino on 08-08-2006 at 09:15 PM

BUG FOUND ALERT i found a bug when u type a sentence with brb,bbs,bbl in the spaces become commas
ex i,am,goin,to,the,toilet,brb,k


RE: [Release] Auto status change by mlevit on 08-08-2006 at 09:19 PM

Yeah, i knew that :)

Didnt think about looking for it, ill see what i can find.

Thanks


RE: [Release] Auto status change by Exca on 08-09-2006 at 09:02 AM

I don't have that bug? :s doesn't occur here, script works fine..


RE: [Release] Auto status change by mlevit on 08-09-2006 at 10:03 AM

quote:
Originally posted by 4penguino
BUG FOUND ALERT i found a bug when u type a sentence with brb,bbs,bbl in the spaces become commas
ex i,am,goin,to,the,toilet,brb,k

Sorry man, I've looked through the code but cannot seem to find it.

Im giving up on it :) if anyone wants to give it a crack you can, if not ive removed the code that sends to all, i can upload if people want it.
RE: RE: [Release] Auto status change by Oxy on 08-09-2006 at 10:10 AM

quote:
Originally posted by 4penguino
BUG FOUND ALERT i found a bug when u type a sentence with brb,bbs,bbl in the spaces become commas
ex i,am,goin,to,the,toilet,brb,k


Yes i have that bug it's not that bad its a bit annoying butnot impossible to live with :)
RE: [Release] Auto status change by 4penguino on 08-09-2006 at 10:12 AM

o well i just have to live with it is only in sentences with brb bbs bbl not bad as having it in every sentence


RE: [Release] Auto status change by mlevit on 08-09-2006 at 10:15 AM

Yeah its a bit annoying, plus you cannot use back in sentences because it will do the same thing

Thats why it would be quite annoying to fix it all.


RE: [Release] Auto status change by phalanxii on 08-09-2006 at 11:41 AM

First post! This is a really good script! ;)

quote:
Originally posted by mlevit
Im giving up on it :) if anyone wants to give it a crack you can, if not ive removed the code that sends to all, i can upload if people want it.

The problem is that the script converts the message into an array before it sends the message to everyone. The commas that you see separate each part of the array.
code:
function splitMessage(msg)
{
...
sentMessage = msg.split(" ");
...
}
To fix this, either don't change the message you send into an array (use another variable) or send the message before you convert it.

Unfortunately, in the one I've fixed, I've changed a lot of stuff to suit my preferences *-):
  • Changed the PSM system to "brb <new PSM>"
  • Removed the send to all function
  • Removed lower case formatting of sent message
  • Removed upper case formatting of custom PSM
  • Removed space deletion formatting of custom PSM
I have however fixed a few bugs that I found like changing status multiple times with PSM and other stuff like that, as well as reducing the overall filesize. I'll attach my script here and mlevit you can add in the other stuff if needed. :D



Update v1.1 - 11 August 2006
  • Fixed a bug where the script is disabled when WLM initializes
  • Added support for manual status changing when status has already been changed ("back" or "bak" will leave as changed status)
  • Added support for manual PSM changing when status has already been changed ("back" or "bak" will leave as changed PSM)

RE: [Release] Auto status change by Eddie on 08-09-2006 at 12:13 PM

Nice script :D and nice changes phalanx :D
Very useful script indeed :P


RE: [Release] Auto status change by phalanxii on 08-09-2006 at 01:19 PM

I just found a bug that I don't know how to fix... :(

It might just be me, but when I first start WLM (as in the program, not sign in), the Auto Status Change script (my one that I uploaded above) is stopped, but with a tick. Anyone else have this problem?

If someone knows how to fix it, that would be awesome. :)


RE: [Release] Auto status change by Exca on 08-09-2006 at 03:12 PM

no it still works fine


RE: [Release] Auto status change by phalanxii on 08-11-2006 at 06:10 AM

quote:
Originally posted by phalanxii
I just found a bug that I don't know how to fix... :(

It might just be me, but when I first start WLM (as in the program, not sign in), the Auto Status Change script (my one that I uploaded above) is stopped, but with a tick. Anyone else have this problem?

If someone knows how to fix it, that would be awesome. :)

Good news, I've fixed this bug AND added the ability to change your status or PSM when the status changer has already changed your status. Check the post above to download the new version (v1.1).

quote:
Originally posted by Exca
no it still works fine

I'm not sure what happened there but there was definitely a bug that needed to be fixed. :S

Just in case we misunderstood each other, the bug I was talking about was on my own version of the script (which is fixed now). If you were talking about mlevit's script, you might need to clear your cache to download the version (which had the "," bug).
RE: [Release] Auto status change by Exca on 08-11-2006 at 07:49 AM

no i was talking about your script :) but anyway...


RE: [Release] Auto status change by NiteMare on 08-11-2006 at 07:56 AM

i'm too lazy to reah this thread, can you make a GUI so we can set wather we want to message everybody or not? or something with that setting


RE: [Release] Auto status change by phalanxii on 08-11-2006 at 08:34 AM

quote:
Originally posted by NiteMare
i'm too lazy to reah this thread, can you make a GUI so we can set wather we want to message everybody or not? or something with that setting

I would if I could, but I don't know anything about how to store data/settings on a computer with scripting. If anyone wants to do this, feel free to edit my script.

Here is version 1.1 of my script with the group send function (directly from mlevit's script). If someone knows how to save settings and wants to make a toggled send to all function, the variable which controls the group send is "GroupSend" which is set to "true" at the start of the script.
RE: [Release] Auto status change by NiteMare on 08-11-2006 at 10:12 PM


quote:
Originally posted by phalanxii
If anyone wants to do this, feel free to edit my script.
quote:
Originally posted by script creater
mlevit
quote:
Originally posted by creater faker
phalanxii
umm its not your script
RE: [Release] Auto status change by step_on_hen on 08-11-2006 at 11:18 PM

his MOD then...   does it make a diference?


RE: [Release] Auto status change by phalanxii on 08-12-2006 at 12:32 AM

quote:
Originally posted by NiteMare

quote:
Originally posted by phalanxii
If anyone wants to do this, feel free to edit my script.
quote:
Originally posted by script creater
mlevit
quote:
Originally posted by creater faker
phalanxii
umm its not your script

:( This is what happens when you don't read the whole thread... :(

If you look a few pages back, you will see that mlevit could not fix a bug and let everyone else have a try at fixing it.
mlevit's reply to [Release] Auto status change

About 5 posts above your own post, I posted a version edited by me which fixed this bug, but changed some of the other functions.
phalanxii's reply to [Release] Auto status change

When I said "feel free to edit my script", I meant the version of mlevit's script in which I fixed a few bugs and changed other stuff. :$ Sorry about the confusion...
RE: [Release] Auto status change by mlevit on 01-27-2008 at 10:21 PM

Nice work on the scrip phalanxii

Just came back after some time away from these forums to see what's been happening with my old scripts :)

I see you've done some work on it and fixed a few things. I'll try the script out and see how it goes.