remote nick changes

By Korvin on Mar 06, 2007

if sum1 types !randnick it changes your nick to a series of random letters for 30 seconds
if sum1 types !setnick -nick- it changes your nick to what they've specifies for 30 seconds.

on *:TEXT:!knick*:#: { 
  if ($2 == $null) .notice $nick ? halt
  if (fuck isin $2-) halt
  if (%mynick != $null) notice $nick please wait 30 till my nick changes back.
  if (%mynick == $null) { set %mynick $me
    timer 1 2 nick $2-
    timer 1 30 nick %mynick | unset %mynick
  }
}
on *:TEXT:!randnick:#: { 
  if (%mynick1 != $null) notice $nick please wait 30 till my nick changes back.
  if (%mynick1 == $null) { set %mynick1 $me
    timer 1 2 nick $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) 
    timer 1 30 nick %mynick2 | unset %mynick
  }
}

Comments

Sign in to comment.
no_body21   -  Mar 07, 2007

set %x on
.timerxoff 1 30 unset %x

You may use:
^ set -u30 %x on

 Respond  
Lindrian   -  Mar 06, 2007

u shoul use something like:
$+($rand(a,z),$rand(a,z))
and so on.

And aswell, 1 text event works just fine.

Also, put a . infront of timer, and u get .timer
Makes it silent.

And u might wanna add a spam feature? So someone wont abuse it.
like
set %x on
.timerxoff 1 30 unset %x
and
if (%x == $null) {
and so on.
U know that :)

 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.