Pickle's Random NickList Colors!!

By pickle16 on Jun 01, 2011

Meh haven't posted one in long time and was bored... so i written this entirly useless thing. XD
basicly, it replaces the nickcolors in the nicklist with a random one every 1 second. yay!
just type /rnc in a channel...
/rnc to stop :)

alias rnc {
  ;just type /rnc in a channel...
  ;/rnc to stop :)
  var %users $nick($active, 0)
  while (%users > 0) {
    cline  $rand(2,15) $nick($active, %users)
    dec %users 1
  }
  if ($1 != TIMER) {
    if ($timer(rnc  $+ $active) !isnum ) { timerrnc $+ $active -o 0 1 rnc TIMER  } 
    else if ($timer(rnc $+ $active).pause) { timerrnc $+ $active -r } 
    else {
      timerrnc  $+ $active -p 
      var %users $nick($active, 0)
      while (%users > 0) {
        cline  -r $nick($active, %users)
        dec %users 1
      }
    }
  }
}

Comments

Sign in to comment.
pickle16   -  Jun 04, 2011

@napa182 i haven't seen one, I was bored one night and saw cline in the help file and just wanted to see what it does and how to use it ;D

and for the timer, meh,I just did it to see if i could switch between timer statuses. ;p

 Respond  
blackvenomm666   -  Jun 01, 2011

nice

 Respond  
napa182   -  Jun 01, 2011

hmm i have seen a snippet kinda like this one. Don't get me wrong i am not saying in any way you ripped it. i am just saying i have seen one LIKE this. ;x

Why pause it instead of turning the timer off?

 Respond  
pickle16   -  Jun 01, 2011

when you start it, it randomly assigns a color to each nick in the nicklist and reassign every second until you type /rnc to pause it, and it returns back to default colors.

 Respond  
Bielie   -  Jun 01, 2011

So if you type /rnc it will start looping and if you type /rnc again it will stop on a random nick and will echo it to you?

 Respond  
Jethro   -  Jun 01, 2011

YOU FEEL LIKE YOUR ON SHROOMS!You mean Mushrooms? Are you high on mushrooms when you submit the snippet and write this comment? I'm just curious. :/

 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.