Cheerleader Snippet

By ReQueST on Jan 10, 2005

Its just a little thing i made when i was bored and desided to make people feel good. It sets the word as a cheer: "/cheer word" would give:
"" HooRaY! Give me a: w, Give me a: o, Give me a: r, Give me a: d, that gives: word !! HooRaY!""

alias cheer {
  var %a = 1, %b = $len($1)
  while (%a <= %b) {
    set %cheer %cheer 8Give me a: $chr(32) $+ 12 $+ $mid($1,%a,1) $+ 8, $+ $chr(32) 
    if (%a == %b) { say 8*12H7oo12R7a12Y7!8* %cheer 8that gives:12 $1 8!! 8*12H7oo12R7a12Y7!8* | unset %cheer }
    inc %a
  }
}

Comments

Sign in to comment.
shadow221   -  Oct 06, 2006

nice code but one quistion how can i make it as trigger for my bot?

 Respond  
Sasuke   -  Nov 04, 2005

Haha, completely deserves 6.0 ^__^

 Respond  
`Kazuma   -  Nov 03, 2005

Rofl. Makes me laugh everytime. :)

 Respond  
xDaeMoN   -  Jan 12, 2005

Nice lil code =)

 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.