Well anyways nice work... and yeah it does indeed work... was just trying to show a other way to go about it.
First of all $strip($2) is pretty important in cases it's a link copied with color ect. not sure it will give the right link if you don't use strip. - But didn't test it...
And instead of using
http://tinyurl.com/create.php?source=indexpage&url= $+ $2 $+ &submit=Make+TinyURL!&alias=
you could use
$+(http://tinyurl.com/create.php?source=indexpage&url=,$2,&submit=Make+TinyURL!&alias=)
Looks cleaner I think... but the script does what it's suppose to ;D
on *:TEXT:!tiny*:#: {
if (http !isin $1-) || (. !isin $1-) { msg # ERROR! - Might just be Me... but $+(,$strip($2),) doesn't seem to be a link ? | halt }
msg # Congratulations $+($nick,!) Your current url of $+(,$strip($2),) has been shortened at $+(2,http://tinyurl.com/create.php?source=indexpage&url=,$strip($2),&submit=Make+TinyURL!&alias=,) - Thank's for using the script! }
NOTE: Above script is written here... it's not tested ( should still work ) it's just an example on how to go about it.