-->

相爱容易相处难,相处容易相信难,相信容易相谅难。相信是最难的,但是包容对方又会更难。夫妻之道忠恕而已,忠于自己,忠于对方,宽恕对方,宽恕错误。
干干净净的离了,再干干净净的找。干净的爱情,每个人都有资格拥有,无论你的过去是什么样子。我想说:我们所要面对的事情,是现在和将来。过去,仅是历史,何必纠结。

"On" message

This is my 2st script for MIRC.
When user A deop other user B, user B dont hv op edi and need to op B self by click "op" button or part 1st join back. lazy do it?
I hv create script that is auto get op back after deop by users. Here the script....

on *:DEOP:#: {
IF ($me == $opnick) {
chanserv op # $me
}
}

This can be used for all channels. If u wan use this script for 1 channel, just add the channel bside #, e.g. #leonlee . You can add more channels, e.g. #leonlee, #shoutout, #penang .

The other script, I hv idea users can get op, deop, voice, devoice by typing mssg without click on nicklist(right click on nick). When users type !op, !deop, !voice & !devoice, users will get @ & v. Here the script:-

on *:text:!op:#:{
IF ($nick == $opnick) { return }
mode # +o $nick
}

on *:text:!deop:#:{

mode # -o $nick
}

on *:text:!voice:#:{
mode # +v $nick
}

on *:text:!devoice:#:{
mode # -v $nick
}

The other words, u can +o, -o,+v, -v on users if u r op user.
Here the scripts:-

on *:text:*:#:{
if (!op* iswm $1) {
mode # +o $+ $iif($2,o) $+ $iif($3,o) $$1 $2-
}
if (!deop* iswm $1) {
mode # -o $+ $iif($2,o) $+ $iif($3,o) $$1 $2-
}
if (!voice* iswm $1) {
mode # +v $+ $iif($2,v) $+ $iif($3,v) $$1 $2-
}
if (!devoice* iswm $1) {
mode # -v $+ $iif($2,v) $+ $iif($3,v) $$1 $2
}
}

0 Opinions: