Shoutbox

Problem- Please help - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10)
+----- Thread: Problem- Please help (/showthread.php?tid=69030)

Problem- Please help by Asimo on 11-30-2006 at 11:57 PM

Hej good people...

I have one probblem..

Not a problem but I need one thimg which is immportant to me...

I want when someone from mycontact list come online,  get automaticly messages exp. "hi" no matter am I online or not...

So if this is possible please help...

If I do that by offline messages options there are time when I send that write, and i can t do it every time..so I want send that automaticly as like notifications...

Sorry about my bad english, I hope you understand what I want and somebody will help me...

Bye


RE: Problem- Please help by xJ + on 12-01-2006 at 12:17 AM

Just want to make one thing clear, do you mean by sending "hi" automatically to your contacts whenever they sign in?


RE: RE: Problem- Please help by Asimo on 12-01-2006 at 12:18 AM

quote:
Originally posted by xJ +
Just want to make one thing clear, do you mean by sending "hi" automatically to your contacts whenever they sign in?


yes
RE: Problem- Please help by xJ + on 12-01-2006 at 12:21 AM

It can be done with a script.
Please read this.


RE: RE: Problem- Please help by Asimo on 12-01-2006 at 12:24 AM

quote:
Originally posted by xJ +
It can be done with a script.
Please read this.


hm...

sorry i don t know way to put this script or what ??

how to do this ?
RE: Problem- Please help by DarkMe on 12-01-2006 at 12:26 AM

Plus! > Preferences > General > Scripts > Create New...
then paste the code and you're done :p


RE: RE: Problem- Please help by Asimo on 12-01-2006 at 12:29 AM

quote:
Originally posted by DarkMe
Plus! > Preferences > General > Scripts > Create New...
then paste the code and you're done :p


and what now?

how to I run this sript...and how to choose which person I want to send automat. message?
RE: Problem- Please help by DarkMe on 12-01-2006 at 12:32 AM

Just modify the code:

contacts = new Array("name@domain.com", "name2@doamin.com")//edit these to
function OnEvent_Signin(Email){
for(i=0; i<contacts.length; i++){
if(Email == contacts[i]){
Messenger.OpenChat(Email)
ChatWnd.SendMessage("Good Morning")
}
}
}
Modifiy the mails, and the message (in bold text)
Then just save it and close


RE: Problem- Please help by xJ + on 12-01-2006 at 12:34 AM

Or you can use a made-ready script by John.
It sends greetings automatically when you open a conversation window with a contact.
Here's the script link.


RE: RE: Problem- Please help by Asimo on 12-01-2006 at 12:35 AM

quote:
Originally posted by DarkMe
Just modify the code:
code:
contacts = new Array("name@domain.com", "name2@doamin.com")//edit these to
function OnEvent_Signin(Email){
for(i=0; i<contacts.length; i++){
if(Email == contacts[i]){
Messenger.OpenChat(Email)
ChatWnd.SendMessage("Good Morning")
}
}
}
Modifiy the mails, and the message
Then just save it and close


ok

and when i add new script i have this

function OnEvent_Initialize(MessengerStart)
{
}

function OnEvent_Uninitialize(MessengerExit)
{
}

what I need to do with this delete or?
RE: Problem- Please help by xJ + on 12-01-2006 at 12:38 AM

Don't have to delete.
The script will be actived when Messenger starts, and it will automatically deactive when Messenger Exits which is shown by function OnEvent_Initialize(MessengerStart)
{
}
and
function OnEvent_Uninitialize(MessengerExit)
{
}
Respectively.


RE: RE: Problem- Please help by Asimo on 12-01-2006 at 12:40 AM

quote:
Originally posted by xJ +
Don't have to delete.
The script will be actived when Messenger starts, and it will automatically deactive when Messenger Exits which is shown by function OnEvent_Initialize(MessengerStart)
{
}
and
function OnEvent_Uninitialize(MessengerExit)
{
}
Respectively.


ok but where to copy this

contacts = new Array("name@domain.com", "name2@doamin.com")//edit these to
function OnEvent_Signin(Email){
for(i=0; i<contacts.length; i++){
if(Email == contacts[i]){
Messenger.OpenChat(Email)
ChatWnd.SendMessage("Good Morning")
}
}
}

first this

contacts = new Array("name@domain.com", "name2@doamin.com")//edit these to
function OnEvent_Signin(Email){
for(i=0; i<contacts.length; i++){
if(Email == contacts[i]){
Messenger.OpenChat(Email)
ChatWnd.SendMessage("Good Morning")
}
}
}

then

The script will be actived when Messenger starts, and it will automatically deactive when Messenger Exits which is shown by function OnEvent_Initialize(MessengerStart)
{
}
and
function OnEvent_Uninitialize(MessengerExit)
{
}

or what ??
RE: Problem- Please help by DarkMe on 12-01-2006 at 12:43 AM

OnEvent_Initialize(MessengerStart)
{
}

contacts = new Array("name@domain.com", "name2@doamin.com")//edit these to
function OnEvent_Signin(Email){
for(i=0; i<contacts.length; i++){
if(Email == contacts[i]){
Messenger.OpenChat(Email)
ChatWnd.SendMessage("Good Morning")
}
}
}

function OnEvent_Uninitialize(MessengerExit)
{
}


RE: Problem- Please help by Asimo on 12-01-2006 at 12:49 AM

when I do this its write :

couldnt start script ...

this script may be defective or you do not have proper privileges to run script


i havnt luck :((

I have all privileges that is not problem..


RE: Problem- Please help by xJ + on 12-01-2006 at 12:52 AM

I have to advice you to find and use a Made-ready script instead of creating a new one if you have little or no knowledge on scripting.
My apology if you know lot of it, and my apology if you feel insulted.
Anyways, it advisable to find one, like what I've suggested which is created by John, here's the script


RE: RE: Problem- Please help by Asimo on 12-01-2006 at 12:54 AM

quote:
Originally posted by xJ +
I have to advice you to find and use a Made-ready script instead of creating a new one if you have little or no knowledge on scripting.
My apology if you know lot of it, and my apology if you feel insulted.
Anyways, it advicable to find one, like what I've suggested which is created by John, here's the script


i haven t any knoweledge about script :p

thanks man
RE: Problem- Please help by Asimo on 12-01-2006 at 08:53 AM

if somebody can make me a script which can send automessage only for ontract which I want I am be very glad...

I mean script which i can download and upload...


RE: Problem- Please help by Asimo on 12-01-2006 at 09:55 PM

nobody ?


RE: Problem- Please help by MicroWay on 12-02-2006 at 12:14 AM

Wait Asimo...
1) Copy the code given to you, create a new script, erase all that was writed (making a blank window) and paste the code.
2) If you read the code (ignoring the "special words") you gonna see...
contacts = new Array("name@domain.com", "name2@doamin.com")//edit these to
All you have to do is erase name@domain.com and put your buddy's e-mail like "asimosbuddy@hotmail.com", "anotherbuddy@hotmail.com"

Then, now you're going to set your message...
Keep reading the code till you get this...
ChatWnd.SendMessage("Good Morning") -> I highlighted the text for help you understand the code
You need to replace Good Morning to Hi for example: ChatWnd.SendMessage("Hi").
Than, you can save the changes and enjoy...

An example:

code:
contacts = new Array("asimosbuddy@hotmail.com", "anotherbuddy@hotmail.com")//edit these to
function OnEvent_Signin(Email){
for(i=0; i<contacts.length; i++){
if(Email == contacts[i]){
Messenger.OpenChat(Email)
ChatWnd.SendMessage("Hi")
}
}
}


;)

Edit: Don't forget that trying to change opitions on code is a way to learn and helps you understanding it (Y)
RE: Problem- Please help by markee on 12-18-2006 at 12:31 PM

I know it might be dodgy code and all but there will be an update before the scripting comp is finished, have a look at send on sign-in.  I'm sorry I didn't reply before but I must have not taken note of the thread.

P.S. Sorry about the thread revival but I took a link from a new thread and though it was worth noting my old script especially seeing as though there is going to be an update soon.