What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Question] Randomizing captions

[Question] Randomizing captions
Author: Message:
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
O.P. RE: [Question] Randomizing captions
Well thanks for the help anyway :)

I loked through the MSDN library and didnt find anything about removing certain items from and array, but found a couple that returns (x) items from whatever start position you choose, as well as one that joins 2 or more arrays.

Using this I created a function that loops through the copy of the array until it finds the item to delete (storing each item in a third, temporary array). Then when it reaches the item to delete, it just adds all the remaining items after that to the temporary array, thus creating a copy of the array with the item removed :d

There are probably more effective methods, but this one seems to work, so I'm happy :)
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
06-30-2006 01:43 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Question] Randomizing captions - by pollolibredegrasa on 06-29-2006 at 07:04 PM
RE: [Question] Randomizing captions - by RaceProUK on 06-29-2006 at 09:39 PM
RE: [Question] Randomizing captions - by pollolibredegrasa on 06-29-2006 at 10:57 PM
RE: [Question] Randomizing captions - by RaceProUK on 06-30-2006 at 11:49 AM
RE: [Question] Randomizing captions - by pollolibredegrasa on 06-30-2006 at 01:43 PM


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