[Release] Imitate |
Author: |
Message: |
hmaster
Senior Member
Posts: 716 Reputation: 24
33 / /
Joined: Nov 2004
|
RE: [Release] Imitate
View the source of the script!
Nice
|
|
07-27-2006 11:40 AM |
|
|
mickael9
Full Member
Posts: 117 Reputation: 3
33 / /
Joined: Jul 2005
|
RE: RE: [Release] Imitate
You should use /text because if i type /text IP : (!IP), i will get the IP of my contact
So this is my version
code: var isEnabled = false;
function OnEvent_ChatWndReceiveMessage(ChatWnd, sOrigin, sMessage, nMessageKind)
{
if (sOrigin != Messenger.MyName && isEnabled)
{
ChatWnd.SendMessage("/text " + sMessage);
}
}
function OnEvent_ChatWndSendMessage(ChatWnd, sMessage)
{
if (sMessage == '!imitate')
{
if (!isEnabled)
{
isEnabled = true;
return '';
}
else
{
isEnabled = false;
return '';
}
}
}
This post was edited on 07-27-2006 at 01:21 PM by mickael9.
|
|
07-27-2006 01:20 PM |
|
|
NiteMare
Veteran Member
Giga-Byte me
Posts: 2497 Reputation: 37
37 / /
Joined: Aug 2003
|
RE: [Release] Imitate
quote: Originally posted by Chestah
quote: Originally posted by NiteMare
hahayeah i found a bug, i just typed "//nick i am stupid", and wj's nick became, "i am stupid"
lol is all this protection necessary ?
well yes, what if someone used the /run command
|
|
07-27-2006 04:30 PM |
|
|
foaly
Senior Member
Posts: 718 Reputation: 20
38 / /
Joined: Jul 2006
|
RE: [Release] Imitate
quote: Originally posted by NiteMare
(...)
well yes, what if someone used the /run command
and about, what if someone typed !imitate... that would make the entire script useless...
|
|
07-27-2006 04:35 PM |
|
|
markee
Veteran Member
Posts: 1622 Reputation: 50
36 / /
Joined: Jan 2006
|
RE: [Release] Imitate
quote: Originally posted by NiteMare
quote: Originally posted by Chestah
quote: Originally posted by NiteMare
hahayeah i found a bug, i just typed "//nick i am stupid", and wj's nick became, "i am stupid"
lol is all this protection necessary ?
well yes, what if someone used the /run command
On top of that, what if someone typed (!IP) to you? Wouldn't this be classed as an invasion of privacy or do you have a clause saying that people use at their own risk?
|
|
07-27-2006 04:42 PM |
|
|
elektra
Full Member
aka quacky
Posts: 210 Reputation: -3
– / / –
Joined: Jul 2006
|
RE: RE: [Release] Imitate
quote: Originally posted by AberNStein
is this just mocker that blocks doubleslashed messages?
yup it is but more easyier 2 use
This post was edited on 07-27-2006 at 05:06 PM by elektra.
|
|
07-27-2006 05:05 PM |
|
|
craig2k5
Junior Member
Posts: 64
Joined: Feb 2006
|
RE: [Release] Imitate
none of this stuff works 4 me
typing //nick blahh dosent change the other persons name it did earliar then it just stopped
My Scripts:
NickName Maker
|
|
07-27-2006 10:32 PM |
|
|
Huhu_Manix
Full Member
Upload me again... *salivate*
Posts: 106
– / / –
Joined: Jul 2006
|
RE: [Release] Imitate
replace
code: if (sMessage == '!imitate'){
if (isEnabled == false){
isEnabled = true;
return '';
}else{
isEnabled = false;
return '';
}
}
by
code: if (sMessage == '!imitate')isEnabled=!isEnabled;
replace
code: sMessage.substring(0,1)
by
code: sMessage.charAt(0)
and you can delete
code: function OnEvent_Initialize(bMessengerStart){}
function OnEvent_Uninitialize(bMessengerExit){}
"var objMyName;" ?
This post was edited on 07-27-2006 at 10:51 PM by Huhu_Manix.
|
|
07-27-2006 10:48 PM |
|
|
The_Joker
Full Member
TF
Posts: 125
Joined: Oct 2005
|
RE: RE: [Release] Imitate
quote: Originally posted by Huhu_Manix
replace
code: if (sMessage == '!imitate'){
if (isEnabled == false){
isEnabled = true;
return '';
}else{
isEnabled = false;
return '';
}
}
by
code: if (sMessage == '!imitate')isEnabled=!isEnabled;
It should be:
code: if (sMessage == '!imitate')
{
isEnabled=!isEnabled;
return '';
}
Or else it will send "!imitate" to the other contact.
Messenger Plus! 3.61 unofficial Hebrew translator
Messenger Plus! Live unofficial Hebrew translator
|
|
07-28-2006 08:46 AM |
|
|
Huhu_Manix
Full Member
Upload me again... *salivate*
Posts: 106
– / / –
Joined: Jul 2006
|
RE: [Release] Imitate
Yes sorry i forgot it ^^
|
|
07-28-2006 07:49 PM |
|
|
Pages: (3):
« First
«
1
[ 2 ]
3
»
Last »
|
|