[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. RE: [req] Automatic BRB by jmccarroll on 08-04-2006 at 03:23 AM
quote: 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... 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 RE: [req] Automatic BRB by mlevit on 08-04-2006 at 04:37 AM RE: [req] Automatic BRB by lizard.boy on 08-04-2006 at 04:45 AM
quote: 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) 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. RE: [req] Automatic BRB by RaceProUK on 08-04-2006 at 10:31 AM
quote:string.Match(/(^|\s)brb(\s|$)/g); string.Match(/(^|\s)bbl(\s|$)/g); 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! 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! 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 |