Actually posted a similar command (i called it nameme) a while ago.
But its not the same code as mine............ [right][snapback]46140[/snapback][/right]
I saw it being used on Bot2012, Im not sure if thats your bot, anyway, i couldnt find the command on Bot-depot so i wrote one, Sorry, I didnt know you had already posted one
split(/\n/, "nothing"); # 1 element<br />split(/\n/, "something\n\n\n\n"); # A dozen of elements<br />split(/\n/, "\nsomething"); # 1 empty element, 1 normal element
[right][snapback]46193[/snapback][/right]
Splitting a single element with a newline in it? LOL Why not just drop it off the end? Not really the same thing, but I see your point. Was just giving the boy a hint to use common sense, that is...if he has any. _________________ Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com