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
}
}
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!