SeeMasks2

By Marshtomp on May 19, 2007

Copy/paste in remotes and read help

menu nicklist {
  -
  SeeMasks2
  .Help: helpmask Using SeeMasks2: Right-Click on the person's name you want to show the mask of. Select SeeMasks2, then Get Mask of $1 and then, pick a number. Saving a mask: Saving a mask isused when that person is not online and youwant to see his/her mask. | echo Aliases: /mask -ge <nick> <network> echos <nick>s mask, /mask -gs <nick> <network> <chan> says <nick>s mask to <chan>, /mask -s <nick> <network> saves <nick>s Mask, and /mask -sc <chan> <network> saves ALL of the masks in <chan>.
  .Get Mask of $1: 
  ..0 nick!*user@host:
  ...Echo: /mask -ge $1 0
  ...Say to chan: /mask -gs $1 0 $chan
  ..1 *!*user@host: 
  ...Echo: /mask -ge $1 1
  ...Say to chan: /mask -gs $1 1 $chan 
  ..2 *!*@host: 
  ...Echo: /mask -ge $1 2
  ...Say to chan: /mask -gs $1 2 $chan 
  ..3 *!*user@*.host: 
  ...Echo: /mask -ge $1 3
  ...Say to chan: /mask -gs $1 3 $chan 
  ..4 *!*@*.host: 
  ...Echo: /mask -ge $1 4
  ...Say to chan: /mask -gs $1 4 $chan  
  ..5 nick!user@host: 
  ...Echo: /mask -ge $1 5
  ...Say to chan: /mask -gs $1 5 $chan  
  ..6 nick!*user@host: 
  ...Echo: /mask -ge $1 6
  ...Say to chan: /mask -gs $1 6 $chan  
  ..7 nick!*@host: 
  ...Echo: /mask -ge $1 7
  ...Say to chan: /mask -gs $1 7 $chan 
  ..8 nick!*user@*.host: 
  ...Echo: /mask -ge $1 8
  ...Say to chan: /mask -gs $1 8 $chan  
  ..9 nick!*@*.host: 
  ...Echo: /mask -ge $1 9
  ...Say to chan: /mask -gs $1 9 $chan  
  .Save the Mask of $1 for later use: /mask -s $1 $network 
  .Save the Mask of the Entire channel for later use: /mask -sc $chan $network 
  -
} 
alias mask {
  if ($1 == -gs) {
    if ($3 == 0) {
      msg $4 $2 $+ 's mask in the form *!user@host is $address($2,0) $+ .
    }
    if ($3 == 1) {
      msg $4 $2 $+ 's mask in the form *!*user@host is $address($2,1) $+ .
    }
    if ($3 == 2) {
      msg $4 $2 $+ 's mask in the form *!*user@*.host is $address($2,2) $+ .
    }
    if ($3 == 3) {
      msg $4 $2 $+ 's mask in the form *!*user@*.host is $address($2,3) $+ .
    }
    if ($3 == 4) {
      msg $4 $2 $+ 's mask in the form *!*@*.host is $address($2,4) $+ .
    }
    if ($3 == 5) {
      msg $4 $2 $+ 's mask in the form nick!user@host is $address($2,5) $+ .
    }
    if ($3 == 6) {
      msg $4 $2 $+ 's mask in the form nick!*user@host is $address($2,6) $+ .
    }
    if ($3 == 7) {
      msg $4 $2 $+ 's mask in the form nick!*@host is $address($2,7) $+ .
    }
    if ($3 == 8) {
      msg $4 $2 $+ 's mask in the form nick!*user@*.host is $address($2,8) $+ .
    }
    if ($3 == 9) {
      msg $4 $2 $+ 's mask in the form nick!*@*.host is $address($2,9) $+ .
    }
  }
  if ($1 == -ge) {
    if ($3 == 0) {
      echo $2 $+ 's mask in the form *!user@host is $address($2,0) $+ .
    }
    if ($3 == 1) {
      echo $2 $+ 's mask in the form *!*user@host is $address($2,1) $+ .
    }
    if ($3 == 2) {
      echo $2 $+ 's mask in the form *!*user@*.host is $address($2,2) $+ .
    }
    if ($3 == 3) {
      echo $2 $+ 's mask in the form *!*user@*.host is $address($2,3) $+ .
    }
    if ($3 == 4) {
      echo $2 $+ 's mask in the form *!*@*.host is $address($2,4) $+ .
    }
    if ($3 == 5) {
      echo $2 $+ 's mask in the form nick!user@host is $address($2,5) $+ .
    }
    if ($3 == 6) {
      echo $2 $+ 's mask in the form nick!*user@host is $address($2,6) $+ .
    }
    if ($3 == 7) {
      echo $2 $+ 's mask in the form nick!*@host is $address($2,7) $+ .
    }
    if ($3 == 8) {
      echo $2 $+ 's mask in the form nick!*user@*.host is $address($2,8) $+ .
    }
    if ($3 == 9) {
      echo $2 $+ 's mask in the form nick!*@*.host is $address($2,9) $+ .
    }
  }
  if ($1 == -s) {
    if ($exists(Masks2\) == $false) { mkdir Masks2\ }
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,0)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,1)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,2)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,3)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,4)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,5)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,6)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,7)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,8)
    writeini Masks2\ $+ $network $+ .ini $2 0 $address($2,9)
    echo Done recording $2 $+ 's Mask. 
    inc %i
  }
  if ($1 == -sc) {
    var %i 1
    while (%i <= $nick($2,0)) {
      if ($exists(Masks2\) == $false) { mkdir Masks2\ }
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),0)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),1)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),2)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),3)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),4)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),5)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),6)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),7)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),8)
      writeini Masks2\ $+ $network $+ .ini $nick($2,%i) 0 $address($nick($2,%i),9)
      inc %i
    }
    echo Done with recording $chan $+ 's Masks. 
  }
}
alias helpmask {
  echo $1-
}

Comments

Sign in to comment.
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.