Ok iŽll try it again. THX
but only i am using the script...
with Hi it worked..
but the script is stopped know...
what is wrong in this?
code:
*/
var hi = 'Hi +Origin (:'
var on = '1'
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
if (Origin != Messenger.MyName){
if (Message.substr(0,2) == 'Hi'){
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Hallo")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "hallo")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Hi@")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "hi@")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Hello")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "hello")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "hi*")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Seas")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "seas")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Zeas")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "zeas")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "huhu")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Huhu")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "moin")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Moin")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "morgen")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Morgen")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "servus")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Servus")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "tag")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Tag")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "servas")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
if (Message.substr(0,2) "Servas")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
}
}
}
if (Message.substr(0,
4) "hello")
{
ChatWnd.SendMessage('Hi '+Origin (: );
}
Something like this?
Im not a perfect coder so sry :/
Still a hobby