mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
II'm trying to make a notice popup script that will only show up if i'm in the channel and won't work if im not, but it doesn't seem to be working.

Notice #andr: if ($chan == #channelname) { /ov $$?="Enter Message" }

K
kof
kof
K
notice:if ($me ison #channel) { notice #channel $$?"enter msg " }

Joined: Dec 2002
Posts: 1,536
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,536
You could also do:

$iif($me ison #,Notice #):notice # $$?"enter msg "

This way the popup will only show up if you're in a channel (altho if you put it in the popups section of mirc you wouldnt need to do that except maybe under the following circumstance):

$iif($me ison #andr,Notice #):notice # $$?"enter msg "


Those who fail history are doomed to repeat it

Link Copied to Clipboard