fidoboy
New Member
Posts: 7
52 / / –
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;
}
|
|