Shoutbox

[req] Automatic BRB - 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: [req] Automatic BRB (/showthread.php?tid=64447)

[req] Automatic BRB by lizard.boy on 08-04-2006 at 02:57 AM

Last time I went to take a leak, it hit me. Howabout a script that picks up when you tell a contact that you'll brb and changes your online status to be right back, and then when you tell one of your contacts your back it'll set your status back online.

And perhaps if you tell a contact you'll bbl (be back later) it can change your status to away, because in general bbl is a longer time than brb.

One thing to improve functionality would to have a customizeable list of phrases  for brb, bbl, and i'm back, so that people with different talking/IMing styles can all use the script with equal ease.


RE: [req] Automatic BRB by jmccarroll on 08-04-2006 at 03:23 AM

quote:
Originally posted by lizard.boy
Last time I went to take a leak, it hit me. Howabout a script that picks up when you tell a contact that you'll brb and changes your online status to be right back, and then when you tell one of your contacts your back it'll set your status back online.

And perhaps if you tell a contact you'll bbl (be back later) it can change your status to away, because in general bbl is a longer time than brb.

One thing to improve functionality would to have a customizeable list of phrases  for brb, bbl, and i'm back, so that people with different talking/IMing styles can all use the script with equal ease.


Pretty sure you can do this with quicktexts... 'brb' as the shortcut and '/brb' as the message.  Same with anything else.  Then anything that you would say when you come back and set the message to '/online'
RE: [req] Automatic BRB by cloudhunter on 08-04-2006 at 03:30 AM

Yes, but then your contact wouldn't get the message brb, unless you added both of them as the quick text. Either way, it wouldn't be hard to write a script for it...

Cloudy


RE: [req] Automatic BRB by lizard.boy on 08-04-2006 at 03:33 AM

Hmm, i suppose that would work, but my idea was to pick out the word (words? acronym?) brb out of a sentace and change the status, so that it would work without 500 quicktext, ie it would work for
"brb i'm thirsty"
and
"someones at the door brb"
without having to go and make. "/brbdrink", "/brbdoor" etc.

hmm.. i'll take a look at the scripting documents, scripting can't be that hard. if anyone else wants to take a stab go right ahead.


RE: [req] Automatic BRB by mlevit on 08-04-2006 at 04:37 AM

Script released


RE: [req] Automatic BRB by lizard.boy on 08-04-2006 at 04:45 AM

quote:
Originally posted by mlevit
Done

I used javascripts split() function to split the message

Use "brb" to set status to Be right back

Use "back" to set status to your previous one

Awesome, thats exactly what i was aiming for! Thanks alot, can i have your permission to play around with your code and possibly re-release it?

(oh, and i couldnt get your plsc to work:S)
RE: [req] Automatic BRB by mlevit on 08-04-2006 at 04:50 AM

Umm yeah go for it, ive updated the file. It should work now


RE: [req] Automatic BRB by rob_botch on 08-04-2006 at 09:11 AM

I have also created a script like this one. It is slightly different. It changes the status to BRB when you send a message containing "brb", "be right back" or any combination, like "b r back" with or without spaces, in any case.

If there is the need, I will also add bbl.

Hope you like it

Robert


RE: [req] Automatic BRB by RaceProUK on 08-04-2006 at 10:31 AM

quote:
Originally posted by lizard.boy
I used javascripts split()
string.Match(/(^|\s)brb(\s|$)/g);
string.Match(/(^|\s)bbl(\s|$)/g);
:P
RE: [req] Automatic BRB by rob_botch on 08-04-2006 at 05:41 PM

Yes, that is very similar to the one that I used. Regular Expressions are the way forward!

:D


RE: [req] Automatic BRB by Lukeyy19 on 08-06-2006 at 02:34 PM

oh wow what a grerat script i have always wanted that to do that, nice work people! :D


RE: [req] Automatic BRB by Jarrod on 09-04-2006 at 07:57 AM

i know u found the script but  this is the way i use i have messenger set to send a brb message when eva i lock it then a bak message when i unlock it and i just hit the lock hot-key and that works pretty well