[release] PlusRemote v2.0a - 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] PlusRemote v2.0a (/showthread.php?tid=67396)
[release] PlusRemote v2.0a by Plan-1130 on 10-16-2006 at 09:18 PM
Hi,
I'm introducing to you: PlusRemote.
A script which mission is to provide the basic functions of Windows Live Messenger for anyone who is logged in.
With it you can 'link' a chatwindow to yours, so that everything is said is copied to the window it's linked to. You can set the name, the Personal Message, the display picture from file or from user, send files, send messages, retrieve all open windows, retrieve linked windows, retrieve all contacts, retrieve contacts with certain statusses, open windows, terminate windows, get information on contacts, get a contacts display picture, and block and unblock contacts.
It works with 1 central password, which can be changed with a command, by both the server (you, if you're running PlusRemote), and the user (a contact who is logged in).
For safety it's got a backdoor built in, the magic word. It will provide the ability for you to regain control at any time and cannot be changed with a command for safety reasons.
When the password is changed, everyone will be logged off, and if you want people to be able to log in again you need to inform the contacts yourself.
UPDATE v2.0a:
* Completely rewritten code.
* Much faster.
* Command recognition through Regular Expressions (much more advanced).
* Login by name (Custom name, perhaps).
* Completely revised !contact command.
If there are any suggestions, I'll be the first to hear, right?
Currently it has the (working) features:
code: !help
will show this help message
!login <password>
will log you in
!logoff
will log you off
!list window all
will list all the open conversations
!list window linked
will list all the conversations linked to yours
!list contact all
will list all contacts
!list contact not-offline
will list all contacts that aren't offline
!list contact <status>[,status][,status]
will list all contacts that are away/brb/busy/idle/online/offline/call/lunch (satusses may not be separated by spaces, just commas)
!chat open <email>
will open a conversation with <email>
!chat close <handle>
will terminate the conversation with handle <handle>
!chat link <handle>
will exchange all the messages between the conversation and conversation with handle <handle>
!chat unlink <handle>
will undo the linking from '!chat link'
!chat say <email/handle> <message>
will parse <message> to the contact <email> or the conversation with handle <handle> (<message> may contain spaces)
!chat file <email> <file path>
will send the file <file path> to <email> (<file path> may contain spaces)
!set nick <nickname>
will set the nickname to <nickname> (<nickname> may contain spaces)
!set psm <personal message>
will set the personal message to <personal message> (<personal message> may contain spaces)
!set pass <old password> <new password> <confirm password>
will set the password to <new password>
!set status <status>
will set the status to <status> (away/brb/busy/online/offline/call/lunch)
!set dp
will change the display picture to the one you have
!set dp <file>
will change the display picture to <file>(full path) or <file> in the My Received Files directory
!contact <option>[,option][,option] <email>[,email][,email]
will return info (<option>, can be: nick, psm, status, dp, blocked) about <email>, or if <option> is 'block' or 'unblock' preform the action on <email>
Will update commandlist soon...
I still need an interface, for that I need someone else to write... It could be you, who's name will be in the about...
RE: [beta] PlusRemote by prashker on 10-16-2006 at 09:27 PM
I have not tested it yet, but seems cool!
Maybe adding a
!listcommands
Which will list all the commands like you explained in a message to me (the user controlling the account from a friends)
RE: [beta] PlusRemote by Plan-1130 on 10-16-2006 at 09:36 PM
it has a !help command already, forgot to add, now added
RE: [beta] PlusRemote by prashker on 10-16-2006 at 10:11 PM
quote: Originally posted by Plan-1130
it has a !help command already, forgot to add, now added
Oh, great
Will test next time I go to a friends
RE: [beta] PlusRemote by Chris4 on 10-17-2006 at 10:09 PM
I'm not sure if I'm doing this right..
I type !login then my password, but it says I have no contacts?
RE: [beta] PlusRemote by Plan-1130 on 10-18-2006 at 10:47 AM
First of all, you can't login if you are on the server that runs PlusRemote.
Second, to find out who typed it it searches through all contacts in your list and checks if they have the same name as the Origin (who typed it), so Chat-Only-Names don't work.
Third, the one running PlusRemote may not have custom names, to make sure a contact doesn't have a custom name, select the contact, press F2, backspace and enter.
Hopefully this helps you out
RE: [beta] PlusRemote by mrmt32 on 10-20-2006 at 07:48 PM
Hmm interesting script, a few things could be changed bus so far so good . It would be a good idea maby to list parcipitants in a linked conversayion in the screename of the server, helps to know who is in the conversation. I do not know how this could be implimented though...
RE: [beta] PlusRemote by Plan-1130 on 10-20-2006 at 08:09 PM
Well, remember that you can't have conversationspecific nicknames.
If all participants are listed in the nickname, everybody would be able to see it.
RE: [beta] PlusRemote by mrmt32 on 10-20-2006 at 08:40 PM
Well maby just have it in the message or somthing like that... Just some way to see who is in the conversation.
RE: [beta] PlusRemote by Plan-1130 on 10-20-2006 at 08:41 PM
if you say !list convos, you get all conversations, with participants...
UPDATE: "!list convos" is now "!list window all", and with "!list window linked" you get all linked windows, with participants.
RE: [release] PlusRemote 1.1 by Plan-1130 on 10-24-2006 at 09:17 PM
Version 1.1 released, it no longer is in beta stage.
A few ideas I had for the next release is for configure what commands may be used, and what not may be used, also I'm thinkin of logging activities, and a nice GUI, for whatever i can come up with at that time.
A few ideas from you would also help a lot and eventually save the project, as I have a lack of imagination when it comes to new features...
RE: [release] PlusRemote 1.1 by beny333 on 01-13-2007 at 07:37 AM
How do i type password
RE: [release] PlusRemote 1.1 by Felu on 01-13-2007 at 08:23 AM
quote: Originally posted by beny333
How do i type password
keyboard ?
quote: Originally posted by Plan-1130
!set pass <old password> <new password> <confirm password>
will set the password to <new password>
RE: [release] PlusRemote 1.1 by verytheyoung on 03-18-2007 at 04:07 AM
can someone tell me how u use the magic password function?
i dunno how to reset my password with the magic password
RE: RE: [release] PlusRemote 1.1 by Plan-1130 on 04-14-2007 at 10:08 PM
quote: Originally posted by verytheyoung
can someone tell me how u use the magic password function?
i dunno how to reset my password with the magic password
just code: !set pass <magic word> <new password>
the magic word can be found and altered in the script file: Plus! > Preferences... > General > Scripts, select PlusRemote, click Edit..., scroll down untill you see "var magicword = "itsmagic";" and change itsmagic into whatever you like.
In case you haven't changed it, type "!set pass itsmagic mynewpassword".
RE: [release] PlusRemote 1.1 by MeEtc on 04-17-2007 at 05:14 PM
I found a bug in this script. If you have a custom nickname for a contact, that contact will not be able to log in. It will give a message "No contact found with name <nickname>"
RE: [release] PlusRemote 1.1 by Plan-1130 on 04-18-2007 at 05:35 PM
quote: Originally posted by MeEtc
I found a bug in this script. If you have a custom nickname for a contact, that contact will not be able to log in. It will give a message "No contact found with name <nickname>"
You're right, updated first post (it's very hard to fix...)
RE: [release] PlusRemote 1.1 by gawduranidiot on 06-18-2007 at 02:35 AM
I don't know how to use this and !help isn't helping
RE: [release] PlusRemote 1.1 by rapkyt on 11-06-2007 at 02:21 PM
Hello, first of all, I want to warn that I do not speak very well the English,
now I comment what i need
I need write some conversation in a .txt, but i don't need write the all conversation, only a few words, with a filter i select this words
please help me to change this script, or create a new script, thanks
RE: [release] PlusRemote 1.1 by Plan-1130 on 01-18-2008 at 03:16 PM
After some time of inactivity concerning PlusRemote, I decided to rewrite it. It will use a new way to extract commands and arguments, and therefor many features will improve dramatically.
Using Regular Expressions it will extract agruments in a way most programmers, and hopefully everyone will understand.
code: 1: var args = new Array(Message);
2: var re = /["](?:\\"|[^"])*["]|\S+/g;
3: while((match = re.exec(Message)) != null){
4: item = match.toString().replace(/(^")|("$)/g,"").replace(/\\"/g, "\"");
5: args.push(item);
6: }
As you can see, i've learnt Regular Expressions very well, because -if i may say so myself- it's a very intelligent script that does the following:
On line 1 it will create a new array that will soon contain the decrypted commands and arguments, with args[0] being the full, unencrypted string that was used for input.
On line 2 you will find the brain behind it all. It will split the message by the spaces, but leave strings with spaces in "string with spaces"-format fully intact. And can leave, in such a string the escaped quotation marks intact also.
For example, if someone types:
code: !command hello "my name is" "Harry \"freshman\" Johnson"
it will extractcode: !command
hello
"my name is"
"Harry \"freshman\" Johnson"
On line 3 it will loop for every arguments found (end at line 6)
On line 4 it will clean up the arguments, removing the first and last quotation mark, and will replace every escaped quotation mark, with just a quotation mark.
On line 5 it will put every single cleaned-up argument found in the array args[]
This piece of code you may use in your script free of charge, but as a thanks I would like to be noted on the Aboutscreen of your script
PS: further updates coming...
RE: [release] PlusRemote v2.0a by squomas08 on 04-16-2008 at 02:40 PM
Hey,
Im new to scripting and i thought this one would be good to download.
I dont quite understand what to do .... where do i type !help ? or how do i change my password!
i type !help into a conversation but nothing happens or if i type /prsetpass <----> <----> but it just sends it to the contact
I changed the magic word so my pc is not at risk but i need some help ...
ANYBODY ???
RE: [release] PlusRemote v2.0a by Toksick on 03-09-2009 at 07:47 PM
Hi i`ve downloaded it! but the thing is i try to change the password. but it says password incorect! so i was woundering what is the password!
RE: [release] PlusRemote v2.0a by pray2win on 03-10-2009 at 01:54 PM
A linked contact window are given by msn adress?
i want it by msn names?
|