mIRC Home    About    Download    Register    News    Help

Print Thread
#103524 22/11/04 04:07 AM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
I'm trying to make a auto removal when services go offline but not sure if this is fully correct, i would imagine i would need to add something to let the script know i'm an op either @ or !

on *:NOTIFY: {
if ($network == PhaZeNet) && ($nick == ChanServ) && ($me isin #celticmyst) { mode $chan +R }
}

on *:UNOTIFY: {
if ($network == PhaZeNet) && ($nick == ChanServ) && ($me isin #celticmyst) { mode $chan -R }
}

#103525 22/11/04 04:35 AM
N
Naz
Naz
N
on @*:NOTIFY: {
if (($network == PhaZeNet) && ($nick == ChanServ) && ($me ison #celticmyst)) { mode #celticmyst +R }
}

on *:UNOTIFY: {
if (($network == PhaZeNet) && ($nick == ChanServ) && ($me ison #celticmyst)) { mode #celticmyst -R }
}

#103526 22/11/04 06:14 PM
_
_Patrik_
_Patrik_
_
Ohh nice, script :-)
I was just wondering if it´s possible to add a channel message to it?

#103527 26/11/04 04:23 AM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
Naz is there a way to add something to the script that if i update my notify list it doesn't re add the mode if it's already on the channel as it makes it think that ChanServ has logged back online lol

on @*:NOTIFY: {
if (($network == PhaZeNet) && ($nick == ChanServ) && ($me ison #mp3_classic_rock)) { mode #mp3_classic_rock +R | msg #mp3_classic_rock 1,7 ChanServ has logged back online, now adding channel mode +R  }
if (($network == XtC-Dreams) && ($nick == ChanServ) && ($me ison #andr^private)) { mode #celticmyst +R | msg #celticmyst 1,7 ChanServ has logged back online, now adding channel mode +iR  }
}

on *:UNOTIFY: {
if (($network == PhaZeNet) && ($nick == ChanServ) && ($me ison #mp3_classic_rock() { mode #mp3_classic_rock -R | msg #mp3_classic_rock 1,7 ChanServ has logged offline, now removing channel mode -R  }
if (($network == XtC-Dreams) && ($nick == ChanServ) && ($me ison #andr^private)) { mode #celticmyst -R | msg #celticmyst 1,7 ChanServ has logged offline, now removing channel mode -iR  }
}

#103528 27/11/04 09:43 PM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
For some reason the last coding i put in doesn't seem to allow me having more then 1 network in there blush(

Unless it's getting confused in the notify part


Link Copied to Clipboard