mIRC Homepage
Posted By: Infernal onjoin script - 16/05/04 08:15 PM
i don' t know, maybe someone posted this before, but i found a scruipt in the mIRC FAQ, when you join or part the channel, an aytomessage appears, but it always appears in the channel itself. now, how do i make a pop up of this??
<a href="irc://irc.uicn.net/infernalarts" target="_blank">irc://irc.uicn.net/infernalarts</a>
the link to my channel, so you can see
Thx already
Infernal
Posted By: sparta Re: onjoin script - 16/05/04 08:39 PM
I guess the simplest way si to creat a dialog for it.. then call the dialog when you join a channel.. if thats what you need?
Posted By: Infernal Re: onjoin script - 16/05/04 08:45 PM
yes, that is what i need
Posted By: Wolfie Re: onjoin script - 17/05/04 04:17 AM
I think what you are looking for is something to take notices and treat them like private messages. There is another thread that does this, but I think also (I could be mistaken) there is an option already to do this. Might not be though.
Code:
on ^*:notice:*:?:{
  var %w = $+(@,$nick), %n = $+(-,$nick,-), %c = $color(notice).dd
  if ($window($nick)) { echo %c -t $nick %n $1- }
  else { if (!$window(%w)) { window -R %w } | echo %c -t %w %n $1- }
  haltdef
}

See if that's what you want.
Posted By: Iori Re: onjoin script - 17/05/04 06:49 AM
Perhaps posting the script might help people to understand exactly what it is you want changed. smile
Posted By: Infernal Re: onjoin script - 17/05/04 03:52 PM
nevermind, i already got it:
on 1:JOIN:#infernalarts:/msg $nick Hi $nick - Rules: Don't spam, swear, use clones, send virusses or links with illegal, pornographic or discriminating contents <== Permanent BAN!!

on 1:PART:#infernalarts:/msg $nick Thanks for visiting #Infernalarts, see you back soon.

just needed to replace the /notice with /msg
© mIRC Discussion Forums