mIRC Home    About    Download    Register    News    Help

Print Thread
#77384 31/03/04 07:18 PM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
hello
i try to make notice on my theme, but i have one problem, when i open query to chat with my friend, notice from other people on channel show on my query window, now i need that notice not to show in any open window but only on channel who typed notice. i try with this code but i can't

on ^*:notice:*:#: {
echo -a blah blah
haltdef
}

also i try with
on !1:NOTICE:*:#:echo -a notice but is the same. if i open query notice show on it.

what echo -? need for that, for not show message on active

thanks in advance

#77385 31/03/04 07:36 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
on ^*:notice:*:#: {

try use on ^*:notice:*:#mychannel: {

put the name of your channel here




mess with the best
#77386 31/03/04 07:46 PM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
thanks, but how about i not join my channel and join on other channel, i think the problem is the same

#77387 31/03/04 07:48 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Options > IRC make sure (under show in active) notices is NOT checked


I refuse to engage in a battle of wits with an unarmed person. wink
#77388 31/03/04 08:16 PM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
i check it, and is un checked

#77389 31/03/04 10:10 PM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
ok dont worry, i think i fixed is my fault on some code thanks btw.

#77390 01/04/04 12:02 PM
Joined: Mar 2004
Posts: 54
Z
Zed Offline
Babel fish
Offline
Babel fish
Z
Joined: Mar 2004
Posts: 54
Here is a script working like mIRC defaults.
- If $chan exists, display in this channel window
- else display in every channel that user is on
- else display in status window

Code:
on ^*:NOTICE:*:*:{
  if ($chan) /echo -t $chan $1-
  else {
    var %tot = $comchan($nick,0), %i = 1
    if (%tot == 0) echo -ts $1-
    else {
      while (%i <= %tot) {
        echo -t $comchan($nick,%i) $1-
        inc %i
      }
    }
  }
  haltdef
}


Don't forget to insert your text style in the "/echo" commands


Link Copied to Clipboard