Shoutbox

An easy script - 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)
+----- Thread: An easy script (/showthread.php?tid=83616)

An easy script by Nemok on 05-09-2008 at 11:15 AM

I would want to know how you can make a script that if you say room it makes all possible cases for that

example:

input: room
output: room*Room*ROOM*rOOm*rOoM*RooM...

Or is there already some thing you can do this with?


RE: An easy script by Volv on 05-09-2008 at 11:40 AM

The resources required to calculate and store (in memory) all possible case variations of a string any larger than about 10 alphabetical characters will take quite a very long time.


RE: An easy script by foaly on 05-09-2008 at 01:17 PM

quote:
Originally posted by Volv
The resources required to calculate and store (in memory) all possible case variations of a string any larger than about 10 alphabetical characters will take quite a very long time.
The output would be 10*9*8*7*6*5*4*3*2 = 3 628 800 times 10 characters = 36 288 000. And that is without the separator *...

MP!L increases  the max chars in a message to 1100, stuffplug to 5000.
So you would see how unrealistic that would be...

I think 5 (600 chars) would be the maximum amount you should use... 6 already uses 4320 chars...