What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Another Little Problem! For u no problem!

Another Little Problem! For u no problem!
Author: Message:
NorteX
New Member
*


Posts: 8
Joined: Mar 2009
O.P. Another Little Problem! For u no problem!
Hey,

i have already 2 scripts who tell the ppl random 25 sentences automatically when i type /sc1 and /sc2 that are the 2 scripts for conversations... Example: I type with my best friend and type /sc1 then i press the enter button and the script replace it with a random sentence from my script....

now thats the problem ....i wanted to do a third script that when i type for exemple /both that he replaces this with either /sc1 or /sc2 ... i have made such a script... he also replaces and types but then when i use this script ... he only types /sc1 or /sc2 and sends it .... not even replace it ... (u know? ^^) then when i would type with my fingers the /sc1 or /sc2 ... its as normal (replaced through random sentences...)


so i ask u why its not working?




my script for the /both is:

function OnEvent_ChatWndSendMessage(ChatWnd,Message){
var rn_txt = new Array();

rn_txt[1] = "hmmm...";
rn_txt[2] = "/sc1";
rn_txt[3] = "Hey This is a Bot ";
rn_txt[4] = "/sc2";


var i = Math.round(4*Math.random());
var RANDOMISM = Message.replace(/\/both/,rn_txt[i]);
return RANDOMISM;
}




Hope someone can help me in both Topics
03-25-2009 04:51 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Another Little Problem! For u no problem! - by NorteX on 03-25-2009 at 04:51 PM
RE: Another Little Problem! For u no problem! - by matty on 03-25-2009 at 05:25 PM
RE: Another Little Problem! For u no problem! - by NorteX on 03-25-2009 at 05:59 PM
RE: Another Little Problem! For u no problem! - by CookieRevised on 03-26-2009 at 02:23 AM


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