mIRC Home    About    Download    Register    News    Help

Print Thread
try simple on NOTICE, but no luck! #263232 17/06/18 02:16 PM
Joined: Jun 2018
Posts: 5
D
doronbachar Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jun 2018
Posts: 5
on *:notice:*:#nacknic: {
msg $chan $1-
}

try mirc 6/7 version not work, please help..
another queastion, if i want send notice for all users in channle, there simple way or script to ?

Re: try simple on NOTICE, but no luck! [Re: doronbachar] #263233 17/06/18 02:21 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Try place it in new file on your mIRC Script Editor.

ALT+R -> File -> New

EDIT: That code is working only on #nacknic channel.

Also you can read the full ON NOTICE event help file description /help on notice or from the online (unofficial) wiki https://en.wikichip.org/wiki/mirc/on_events/on_notice

Last edited by westor; 17/06/18 02:24 PM.
Re: try simple on NOTICE, but no luck! [Re: westor] #263234 17/06/18 03:00 PM
Joined: Jun 2018
Posts: 5
D
doronbachar Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jun 2018
Posts: 5
Originally Posted By: westor
Try place it in new file on your mIRC Script Editor.

ALT+R -> File -> New

EDIT: That code is working only on #nacknic channel.

Also you can read the full ON NOTICE event help file description /help on notice or from the online (unofficial) wiki https://en.wikichip.org/wiki/mirc/on_events/on_notice


i know only in #nacknic channle [im new, in mirc scripting]
but so mad i write the code like he needed to be and not work.
and i try do new file before because i search problem like tht , and that what they said, open new file, but not work

Last edited by doronbachar; 17/06/18 03:02 PM.
Re: try simple on NOTICE, but no luck! [Re: westor] #263235 17/06/18 03:11 PM
Joined: Jun 2018
Posts: 5
D
doronbachar Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jun 2018
Posts: 5
Originally Posted By: westor
Try place it in new file on your mIRC Script Editor.

ALT+R -> File -> New

EDIT: That code is working only on #nacknic channel.

Also you can read the full ON NOTICE event help file description /help on notice or from the online (unofficial) wiki https://en.wikichip.org/wiki/mirc/on_events/on_notice


you have another idea ? new file not works for me

Re: try simple on NOTICE, but no luck! [Re: doronbachar] #263236 17/06/18 03:15 PM
Joined: Jan 2004
Posts: 1,187
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,187
This works only for a notice created like:

/notice #nacknic test

It does not trigger if the other person happens to be one of the nicks in that channel when they send a notice to you. It also does not trigger your mIRC if you are the one doing the notice.

Re: try simple on NOTICE, but no luck! [Re: maroon] #263237 17/06/18 03:25 PM
Joined: Jun 2018
Posts: 5
D
doronbachar Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jun 2018
Posts: 5
Originally Posted By: maroon
This works only for a notice created like:

/notice #nacknic test

It does not trigger if the other person happens to be one of the nicks in that channel when they send a notice to you. It also does not trigger your mIRC if you are the one doing the notice.


ok, i now in my channle [have op],
and do /notice #nacknic test.
i dont recive the word test again, why ?

and another qeuastion, if i want listen to notice from user,
i do like that:

Code:
on *:notice:*:#nacknic: {
  if (*[P]nacknic* iswm $nick) {
    msg $chan $1-
  }
}


Last edited by doronbachar; 17/06/18 03:29 PM.
Re: try simple on NOTICE, but no luck! [Re: doronbachar] #263239 17/06/18 03:37 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Note: You cannot test out these events by typing text to yourself. They can only be initiated by someone else saying something in a channel or in a private message.

If you read the links above that i gave you you are gonna find out why it doesn't working.

Re: try simple on NOTICE, but no luck! [Re: doronbachar] #263240 17/06/18 05:58 PM
Joined: Jan 2004
Posts: 1,187
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,187
You quoted the answer to your question. This event does not trigger when you are the one creating the notice.
And your 2nd question is not clear, is the other user doing "/notice #nacknic test" or "/notice YourNick test" ?
And like Westor said, you really need to read the link he gave you.