Shoutbox

variables - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: variables (/showthread.php?tid=53205)

variables by Jupiter on 11-23-2005 at 01:31 AM

would there be a way to make something so that you could use variables?  Like in mirc how you can do "/set %whatever blah".  That would be cool if there was a way to do that for plus or a plugin....unless there already is and I don't know about it o.O


RE: variables by L. Coyote on 11-23-2005 at 11:32 AM

Well, there isn't a built-in way in Plus!.

But there's a plugin called Scripting Host, which lets you use VBScript and/or JavaScript scripts as plugins.

So you can create your own scripted commands without having to compile a whole plugin. Of course, it requires a previous knowledge of these scripting languages...


RE: variables by Purity on 11-23-2005 at 02:09 PM

Wait, so if I were to go make a msgplus plugin, i wouldn't be able to use variables at all? O.o


RE: variables by matty on 11-23-2005 at 02:22 PM

quote:
Originally posted by Purity
Wait, so if I were to go make a msgplus plugin, i wouldn't be able to use variables at all? O.o
No you can use variables inside the Plugin ones you declare but you cannot use the Plugin to create variables like

/xplugin %variable%=test

And everytime you typed %variable% it would be replaced with test thats what they are refering to. But that wouldn't work... well you could create a word filter at run time to do this but thats just dodgy cause you would have to remove it after as well....
RE: variables by Jupiter on 11-23-2005 at 04:41 PM

ok thanks.  that kinda led me to another question, is there a command or anything or a plugin with a command to change the quick texts?  Because they can kinda do it because you can use (!blah) for them.  That would kinda be the same idea