mIRC Home    About    Download    Register    News    Help

Print Thread
onjoin script #83248 16/05/04 08:15 PM
Joined: May 2004
Posts: 24
I
Infernal Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: May 2004
Posts: 24
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


<a href="irc://irc.uicn.net/infernalarts" target="_blank">irc://irc.uicn.net/infernalarts</a>
Re: onjoin script #83249 16/05/04 08:39 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: onjoin script #83250 16/05/04 08:45 PM
Joined: May 2004
Posts: 24
I
Infernal Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: May 2004
Posts: 24
yes, that is what i need


<a href="irc://irc.uicn.net/infernalarts" target="_blank">irc://irc.uicn.net/infernalarts</a>
Re: onjoin script #83251 17/05/04 04:17 AM
Joined: Aug 2003
Posts: 325
W
Wolfie Offline
Fjord artisan
Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
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.

Re: onjoin script #83252 17/05/04 06:49 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Perhaps posting the script might help people to understand exactly what it is you want changed. smile

Re: onjoin script #83253 17/05/04 03:52 PM
Joined: May 2004
Posts: 24
I
Infernal Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: May 2004
Posts: 24
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


<a href="irc://irc.uicn.net/infernalarts" target="_blank">irc://irc.uicn.net/infernalarts</a>