Love-O-Meter For Bots

By TMFKSOFT on Jun 01, 2011

The script is the same as my other script but this time its been adapted for use with a bot.

Type !love NICK
And it will mtch you to the other nick

With local Vars now.

alias love {
  ;TMFKSOFTs Love-o-meter
  set -l %amnt $calc($len($2)/2)
  set -l %low $calc(10-%amnt)
  msg # $1 is matched to $2 $+([,$str( 4<3 , %amnt ), $str( - , %low ),]) $+(%amnt,/,10)
}
on 1:TEXT:!love *:#:{ love $nick $2 }

Comments

Sign in to comment.
dma   -  Jan 19, 2016

short but sweet, still working in 2016

 Respond  
Jethro   -  Jun 01, 2011

No, it won't be confusing because it's not an intricate update. With an added explanation, you could update your original one successfully.

 Respond  
TMFKSOFT   -  Jun 01, 2011

Good point but i decided it could confuse some people.

 Respond  
napa182   -  Jun 01, 2011

you could have just added it as an update to ur old snippet. =/

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.