Lol

By M[n]M on Sep 05, 2007

U have to say " Lol " to start it :)

on *:TEXT:lol:#: {
  /set %lol $rand(1,7)
  if (1 isin %lol) { /msg $chan :P }
  if (2 isin %lol) { /msg $chan =8 }
  if (3 isin %lol) { /msg $chan :] }
  if (4 isin %lol) { /msg $chan :$ }
  if (5 isin %lol) { /msg $chan (O_o }
  if (6 isin %lol) { /msg $chan o_o }
  if (7 isin %lol) { /msg $chan d-_-b }
}

Comments

Sign in to comment.
guest598594   -  Sep 05, 2007

well it should be == rather than isin

you could simplify it some

on *:text:lol: set %smileys :P :8 :] :$ (O_o) o_o d-_-b | msg $chan $gettok(%smileys,$r(1,7),32)

there, its now one line :P

 Respond  
M[n]M   -  Sep 05, 2007

i guess so ..

 Respond  
Ghost-lit Warder   -  Sep 05, 2007

@ Akishoot, It didn\'t look quite right because there were /\'s. ;)
@ M[n]M, you should either make it an input or change your introduction to \'Replies when someone else says lol\'.

 Respond  
Akishoot   -  Sep 05, 2007

I\'m not exactly sure: if (1 isin %lol) { /msg $chan :P } would work. Forgive me if I\'m wrong, but it didn\'t look quite right to me. You can also remove the /\'s and put .\'s :)

 Respond  
Akishoot   -  Sep 05, 2007

I believe you could do:

on *:TEXT:lol:#: {
  /set %lol $rand(1,7)
  if (%lol == 1) .msg $chan :P }
  if (%lol == 2) .msg $chan =8 }
  if (%lol == 3) .msg $chan :] }
  if (%lol == 4) .msg $chan :$ }
  if (%lol == 5) .msg $chan (O_o }
  if (%lol == 6) .msg $chan o_o }
  if (%lol == 7) .msg $chan d-_-b }
}
 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.