What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Noob - Need help developing scripts

Noob - Need help developing scripts
Author: Message:
fidoboy
New Member
*

Avatar

Posts: 7
52 / Male / –
Joined: Jul 2006
O.P. Noob - Need help developing scripts
I'm trying to create my first script for MPL but when i save it and click Apply it shows a message saying that the script is damaged or i have not enough permissions to execute scripts :S What is wrong??

Many thanks in advance,

.:FiDo:.

This post was edited on 07-04-2006 at 09:05 PM by fidoboy.
07-04-2006 09:05 PM
Profile PM Find Quote Report
tbcat
Junior Member
**


Posts: 51
Joined: Oct 2004
RE: Noob - Need help developing scripts
Something is not ok with the code syntax... for example check the "(" ")" and that kind of things if you think the code is correct...
07-04-2006 09:08 PM
Profile E-Mail PM Find Quote Report
fidoboy
New Member
*

Avatar

Posts: 7
52 / Male / –
Joined: Jul 2006
O.P. RE: Noob - Need help developing scripts
This is my code:

quote:
function OnEvent_ChatWndSendMessage(pChatWnd, sMessage){
    sMessage = sMessage.replace("do"," C ")
    sMessage = sMessage.replace("re"," D ")
    sMessage = sMessage.replace("mi"," E ")
    sMessage = sMessage.replace("fa"," F ")
    sMessage = sMessage.replace("sol"," G ")
    sMessage = sMessage.replace("la"," A ")
    sMessage = sMessage.replace("si"," B ")
    sMessage = sMessage.replace("Do"," C ")
    sMessage = sMessage.replace("Re"," D ")
    sMessage = sMessage.replace("Mi"," E ")
    sMessage = sMessage.replace("Fa"," F ")
    sMessage = sMessage.replace("Sol"," G ")
    sMessage = sMessage.replace("La"," A ")
    sMessage = sMessage.replace("Si"," B ")
     return sMessage;
}
07-04-2006 09:09 PM
Profile PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Noob - Need help developing scripts
Are you logged in as Administrator?

I think you need to be administrator to be abled to run scripts (not sure)

This post was edited on 07-04-2006 at 09:11 PM by Ezra.
[Image: 1-0.png]
             
07-04-2006 09:10 PM
Profile PM Web Find Quote Report
fidoboy
New Member
*

Avatar

Posts: 7
52 / Male / –
Joined: Jul 2006
O.P. RE: Noob - Need help developing scripts
Yes my user is administrator..
07-04-2006 09:11 PM
Profile PM Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: Noob - Need help developing scripts
well it's not the script... it didn't error when i tried it...
07-04-2006 09:17 PM
Profile E-Mail PM Find Quote Report
craig2k5
Junior Member
**


Posts: 64
Joined: Feb 2006
RE: Noob - Need help developing scripts
does this with me sumtimes :^) i just copy the code delete and start a new script, seems to work fine
07-04-2006 09:19 PM
Profile E-Mail PM Find Quote Report
fidoboy
New Member
*

Avatar

Posts: 7
52 / Male / –
Joined: Jul 2006
O.P. RE: RE: Noob - Need help developing scripts
quote:
Originally posted by craig2k5
does this with me sumtimes :^) i just copy the code delete and start a new script, seems to work fine


You are right, i've deleted the script and created it again and now it works fine. I think that there is a small bug in MPL.

.:FiDo:.
07-04-2006 09:45 PM
Profile PM Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: Noob - Need help developing scripts
Probably a problem with encoding / line endings...
07-05-2006 10:19 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Noob - Need help developing scripts
Where are the semi-colons?
[Image: spartaafk.png]
07-05-2006 10:53 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On