.ei,.topic etc.

By `[-Alex-] on Oct 14, 2007

commands r simple.. .ei (just .ei for urself and .ei ) .topic
.add .del .highlight nick .ban .k .kb .v .op .

on *:INPUT:#: {
  if ($1 == .eI) && (!$2) {
    mode $chan +eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2)
  } 
  if ($2) && ($1 == .eI) {
    mode $chan +eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  }
  if ($1 == .add) || ($1 == .del) || ($1 == .list) {
    cs access $chan $remove($1,.) $2-
  }
  if ($1 == .add) && ($3 isnum) {
    mode $chan $iif($3 == 3,+v)  $iif($3 == 4,+h-v) $iif($3 isnum 5-9,+o-hv) $iif($3 > 9,+ao-hv) $str($2 $+ $chr(32),5)
  }
  if ($left($1,1) == +) || ($left($1,1) == -) {
    $iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2))
  }
  if ($1 == .inv) {
    invite $2 $chan
  }
  if ($1 == .v) {
    mode $chan +v $2
  }
  if ($1 == .k) {
    kick $chan $2-
  }
  if ($1 == .op) {
    mode $chan +o $2
  }
  if ($1 == .kb) {
    mode $chan +b $address($2,2)
    kick $chan $2 $read(kick.txt)
  }
  if ($1 == .unban) {
    mode $chan -b $2
    mode $chan -b $address($2,2)
    /ban -r $chan $2
  }
  if ($1 == .ban) {
    mode $chan +b $address($2,2)
  }
  if ($1 == .deop) {
    mode $chan -o $2
  }
  if ($1 == .topic) {
    msg $chan The topic is: $chan($chan).topic
  }
  if ($1 == .highlight) {
    msg $chan $2 <-- Highlight
    msg $chan $2 <-- Highlight
    msg $chan $2 <-- Highlight
    msg $chan $2 <-- Highlight
    msg $chan $2 <-- Highlight
  }
}

Comments

Sign in to comment.
zonirc   -  Oct 17, 2007

lol ;p

 Respond  
`[-Alex-]   -  Oct 15, 2007

lol ;D

 Respond  
FRISH   -  Oct 15, 2007

ye i prefer on input for 1 thin one less character to type, lazyness is great init ;p

 Respond  
`[-Alex-]   -  Oct 15, 2007

i dont like using alias most of the time cuz it can mess up stuff some times :P

 Respond  
zonirc   -  Oct 15, 2007

Just wonder why we need to typing a text in channel window to issuing some command? Well maybe it might look something great(especially when you want to brag to other people\'s that you can control yours mIRC :P) but in my opinion it is better be used as a custom command/aliases. Since this will prevent you from sending a messages to channel, for example when you using \'.eI\', you will be sending two command to the server which is \'/msg\' and \'/mode\' rather when you used it as custom command/alias that only send 1!

 Respond  
guest598594   -  Oct 14, 2007

u shuld check if theres $2, and make it on @*: (which is $me isop $chan), and if ($active ischan), and ur missing a } at the end

 Respond  
`[-Alex-]   -  Oct 14, 2007

feel free to comment :)

 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.