mIRC Home    About    Download    Register    News    Help

Print Thread
on *:nick: event fails to trigger #51165 24/09/03 05:41 PM
Joined: Jan 2003
Posts: 44
L
lambroger Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Jan 2003
Posts: 44
anyone having problems with their nick events failing to trigger in 6.1?

mine are, all of them and they all worked under 6.3

i've tried rewriting them all to no avail. no luck. they just don't trigger.

Re: on *:nick: event fails to trigger #51166 24/09/03 05:48 PM
Joined: Aug 2003
Posts: 136
MrPeepers Offline
Vogon poet
Offline
Vogon poet
Joined: Aug 2003
Posts: 136
FIrst off it is 6.03 and could you show us your code you are using? Maybe it is simply a syntax error that you are over looking.


In Virginia, chickens cannot lay eggs before 8:00 a.m., and must be done before 4:00 p.m.
Re: on *:nick: event fails to trigger #51167 24/09/03 05:59 PM
Joined: Jan 2003
Posts: 44
L
lambroger Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Jan 2003
Posts: 44
Code:
on 1:NICK: {
  if ( $chan == #eve-chaos ) {
    if ( $nick(#eve-chaos,$nick,oh) || $nick(#eve-chaos,$newnick,oh) ) return
    var %chaos_mgt.source = $+(chaos\,$chaos_mgt.create_filename($nick),.ini)
    var %chaos_mgt.destination = $+(chaos\,$chaos_mgt.create_filename($newnick),.ini)
    copy -o %chaos_mgt.source %chaos_mgt.destination
    chaos_mgt.restore $newnick %chaos_mgt.destination
  }
}
  

Re: on *:nick: event fails to trigger #51168 24/09/03 06:01 PM
Joined: Jun 2003
Posts: 242
R
r0ck0 Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
if ( $chan == #eve-chaos ) {

remove that part and see if it works

Code:
on *:NICK: {
  if (($nick(#eve-chaos,$nick,oh)) || ($nick(#eve-chaos,$newnick,oh))) return
  var %chaos_mgt.source = $+(chaos\,$chaos_mgt.create_filename($nick),.ini)
  var %chaos_mgt.destination = $+(chaos\,$chaos_mgt.create_filename($newnick),.ini)
  copy -o %chaos_mgt.source %chaos_mgt.destination
  chaos_mgt.restore $newnick %chaos_mgt.destination
}

Last edited by r0ck0; 24/09/03 06:04 PM.
Re: on *:nick: event fails to trigger #51169 24/09/03 06:10 PM
Joined: Jan 2003
Posts: 44
L
lambroger Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Jan 2003
Posts: 44
thank you, it's working now.

you are da man.

Re: on *:nick: event fails to trigger #51170 24/09/03 06:10 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
you are da lamb.


new username: tidy_trax
Re: on *:nick: event fails to trigger #51171 24/09/03 06:11 PM
Joined: Jun 2003
Posts: 242
R
r0ck0 Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
mp smile

Re: on *:nick: event fails to trigger #51172 24/09/03 06:13 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
np = no problem
mp = my pleasure? *wild guess*


new username: tidy_trax
Re: on *:nick: event fails to trigger #51173 24/09/03 06:13 PM
Joined: Jun 2003
Posts: 242
R
r0ck0 Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
yep smile