There are a few times where I've wanted to reverse text but couldn't, so I made this. Pretty much what I did was turn it into an identifier so you can use it with all your scripts.
For example, $reverse(hello) will return olleh
Enjoy!
alias reverse {
var %string $replace($1-,$chr(32),$chr(96))
var %count 1
var %length $len(%string)
while (%count <= %length) {
var %backwards %backwards $right(%string,1)
var %string $left(%string,-1)
inc %count
}
return $replace(%backwards,$chr(32),$null,$chr(96),$chr(32))
}
Many people will still stick with the old versions because the scripts they've installed were specifically written under them. For that matter, they don't wanna risk their chances of getting their scripts screwed up and all that. :p This is also the main reason why Khaled keeps all these outdated versions available out there.
@napa is that the whole thing? When I tried that it wasn't working properly for me
@Jethro_ sorry, I didn't search hawkee to see if someone already posted something like this. If theirs is better, I guess I can delete this. If you're saying I copied this, though, I didn't. I don't even see the point of stealing a script as simple as this since I wouldn't get any praise for it...Yes, I posted this so other people could use it, but most people here are better at mSL than I am anyway, so they could make it themselves. The only other reason people post their scripts here is because they are proud of them, and I wouldn't be proud of something I didn't do...