mIRC Home    About    Download    Register    News    Help

Print Thread
#103584 22/11/04 09:05 PM
Joined: Sep 2004
Posts: 17
_
Pikka bird
OP Offline
Pikka bird
_
Joined: Sep 2004
Posts: 17
on @*:NOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #Techchat))
{
mode #Techchat +R
msg #Techchat Techchat´s Register only key (+R) has been set by $nick $+ !
}

on *:UNOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #techchat))
{
mode #techchat -R
msg #techchat Techchat´s Register only key (+R) has been removed by $nick $+ !
}

Please can anyone recode it so it will work correctly..


*!*@help.me.if.you.can
Joined: Sep 2004
Posts: 17
_
Pikka bird
OP Offline
Pikka bird
_
Joined: Sep 2004
Posts: 17
on @*:NOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #Techchat))
{
mode #Techchat +R
msg #Techchat Techchat´s Register only key (+R) has been set by $nick $+ !
}

on *:UNOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #techchat))
{
mode #techchat -R
msg #Techchat Techchat´s Register only key (+R) has been removed by $nick $+ !
}

I have now refine the script but it still doesnt work??
What I want the script to do is: If any channel operator set/remove the +R key in my channel then a channel message should appear. Please help me out plz.


*!*@help.me.if.you.can
Joined: Sep 2004
Posts: 129
W
Vogon poet
Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
you are missing at the end } symbol(s)

on @*:NOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #Techchat)) {
mode #Techchat +R
msg #Techchat Techchat´s Register only key (+R) has been set by $nick $+ !
}
}

on *:UNOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #techchat)) {
mode #techchat -R
msg #Techchat Techchat´s Register only key (+R) has been removed by $nick $+ !
}
}

Last edited by Wragg; 22/11/04 10:18 PM.

Link Copied to Clipboard