mirc wizards around?
•
11 Dec 2007, 20:35
•
Journals
I'm in need of a script..
on *:open:?:*:{ if ($istok(#randomchannel ,$nick,32)) | else echo decem
so basically what I want it to do is check on query open, if the user is on the selected channel(s), if not it will echo "decem"
someone help, thx!?
random pic:
on *:open:?:*:{ if ($istok(#randomchannel ,$nick,32)) | else echo decem
so basically what I want it to do is check on query open, if the user is on the selected channel(s), if not it will echo "decem"
someone help, thx!?
random pic:
just modifie the shit that shows matching channels on nns.
not that easy to code on a default mirc, i think.
so it would be:
on *:open:?:*:{ if $snick(#channel #channel #channel #channel,1) | else echo decem
?
on *:open:?:*:{
var %x = 1, %y = $numtok(%chans,44), %t = $false
while (%x <= %y) {
if ($snick($gettok(%chans,%x,44) == $nick) { var %t = $true }
inc %x
}
if (%t) { echo decem }
}
ison nickname v1 is on channel v2
isop nickname v1 is an op on channel v2
ishop nickname v1 is a halfop on channel v2
isvoice nickname v1 has a voice on channel v2
isreg nickname v1 is a normal nick on channel v2
ischan if v1 is a channel which you are on.
isban if v1 is a banned address in internal ban list
if you need help to figure it out pm me on irc after 19:00 gmt