What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » Search » Results

Search Results
Subject Author Forum Time
RE: Help creating my first script
Doesn't matter just don't put it in another function.
SilentdragonScripting07-22-2006 at 07:00 PM
RE: pop-up
Have a look here http://shoutbox.menthix.net/showthread.php?tid=615 78&pid=678399#pid678399
SilentdragonScripting07-22-2006 at 02:58 AM
RE: newb @ work...
You can only have one MenuClicked event. You need to do all the work in that one event. And if statements without {} only work for the next line. So do this [code]function OnWndTestEvent_CtrlClicked(Wnd, ControlId) { if(ControlId == "BtnOK"...
SilentdragonScripting07-19-2006 at 07:44 PM
RE: Should the auto-hey and auto-Im-Ok scripts work with ? or !
if(origin != Messenger.MyName) { //do the stuff } As for the punctuation well I dunno the code or how it does it, but something like message.match(/^hey\b/i) or something like that should do a check for hey with punctuation.
SilentdragonScripting07-19-2006 at 12:40 AM
RE: [Help]Windows for your Script
Btw it needs to be Unicode 16 - Wordpad saves as this - but most programs I've used save it as Unicode 8, which I haven't seen work.
SilentdragonScripting07-18-2006 at 08:18 PM
RE: [BETA Release] Statistics v0.5
You could get the display name, iterate a list of your contacts, and apply a check for display name. The bad thing is, thats quite a bit to do each time you want to log a message with a contact, and it'll break if you have two contacts with the same...
SilentdragonScripting07-18-2006 at 02:28 AM
RE: [help] strip newline chars
Message = Message.replace(/\n|\r/g,""); That should do it for you.
SilentdragonScripting07-18-2006 at 02:17 AM
RE: [Release] Programming Language Keywords Script
Well since he never decided to release the update, I will. [n] [/n] tags will omit parsing for colors for everything inside. Configuration Menu lets you style your Default, String, Comment, Keyword colors manually or through the little color dialog. ...
SilentdragonScripting07-17-2006 at 06:00 AM
RE: [Help!] Menu Troubles
[code]function OnAboutEvent_CtrlClicked(Wnd, ControlId) { if(ControlId == "BtnClose") Wnd.Close(1); }[/code] Thats assuming the window in the xml file is called About
SilentdragonScripting07-17-2006 at 03:09 AM
RE: [Help!] Menu Troubles
Is the xml saved as Unicode? Open in wordpad then save as unicode. If it still doesn't work then its a problem with your xml.
SilentdragonScripting07-17-2006 at 02:12 AM
RE: [Help!] Menu Troubles
I don't think that'll work. It shouldn't matter, and I'm not sure if ' is valid for xml. This code should work, I can't exactly test it as I dont' have plus at the moment but I'm 99% sure its valid. [code]function OnGetScriptMenu(Location) { ...
SilentdragonScripting07-17-2006 at 01:53 AM
RE: [Help!] Menu Troubles
[code]function OnEvent_MenuClicked (MnuId, Location, OriginWnd) { if(MnuId == "MnuAbout") MsgPlus.CreateWnd('Window.xml', 'About'); }[/code] You can't have quotes where a variable should be, but the above should make sense.
SilentdragonScripting07-17-2006 at 01:35 AM
RE: XML Help needed
Shouldn't [code]xmlDoc.getElementById(Messenger.MyUserId) == "null"[/code] be [code]xmlDoc.GetElementById(Messenger.MyUserId) == null[/code] MSDN says jscript for GetElementById should be capitalized like that. And most things when you check for n...
SilentdragonScripting07-16-2006 at 11:24 PM
RE: Slang Replacer
Hmm wouldn't this be better? [code]/\bbr\b/mgi[/code] Doesn't need to check if its at the begining or not or space character as it looks for word boundries, And works with punctuation. Plus it doesn't chop out the space. Also the writer should ...
SilentdragonScripting07-16-2006 at 11:11 PM
RE: help me fix my script please
Yeah..I got carried away, but you should be able to tell whats changed. [code]var TheFile = MsgPlus.ScriptFilesPath + "\\log.txt"; var fso = new ActiveXObject("Scripting.FileSystemObject"); var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")...
SilentdragonScripting07-14-2006 at 09:42 PM
RE: Window does not show up
Did you save it as a Unicode document? Open and save in wordpad should do it. Although I just skimmed through the code, but try the Unicode first.
SilentdragonScripting07-14-2006 at 09:05 AM
RE: [Help]Returning the inside of a string...
It doesn't work for you because the way you wrote the RegExp. It will return an array of matches. Your code should be like this [code]var text = Message.match(/((\[b\](.*?)\[\/b\](.*?))|(\[ u\](.*?)\[\/u\]))/g);[/code] This should work as w...
SilentdragonScripting07-13-2006 at 09:56 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol)
My script detects links and ignores them when apply the text modifications.
SilentdragonScripting07-12-2006 at 07:25 PM
RE: "Style"
This might be relevant to the topic. http://shoutbox.menthix.net/showthread.php?tid=630 77&pid=692420#pid692420
SilentdragonScripting07-11-2006 at 11:48 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol)
Hmm you can look at this if you want. I wrote it awhile ago, but decided not to release it. Anyway if you want to use it look at the Al Bhed talker in the talkers folder otherwise you can look at the code for your own idea.
SilentdragonScripting07-11-2006 at 11:46 PM
RE: [Release] Programming Language Keywords Script
I think he means if its not a keyword make that text black instead of it being the regular font color, I mean hey I know plenty of people who use blue which would defeat the purpose of syntax highlighting. And I think I deserve a bit more credit than...
SilentdragonScripting07-10-2006 at 07:49 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
Hmm that be an interesting idea, wouldn't mind seeing it. Just don't get got looking at porn =P
SilentdragonScripting07-10-2006 at 10:31 AM
RE: How long is my word?
rPass.length
SilentdragonScripting07-09-2006 at 09:48 PM
RE: [Release] Poke Script!
MsgPlus.ScriptRegPath + Messenger.MyUserId + key Make sure key starts with \ might need to double it, not sure. But that should work.
SilentdragonScripting07-07-2006 at 06:14 AM
RE: [Request] AntiMock
[code]function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin, Message, MessageKind) { if(Origin == Messenger.MyName) { lastMessage = Message; return Message; } if(antiMock == '1') { if (Message == lastMessage) { return ""; }...
SilentdragonScripting07-07-2006 at 03:26 AM
[Hide Excerpts] Pages: (6): « First « 1 2 3 4 [ 5 ] 6 » Last »