mIRC Home    About    Download    Register    News    Help

Topic Options
#51165 - 24/09/03 06:41 PM on *:nick: event fails to trigger
lambroger Offline
Ameglian cow

Registered: 04/01/03
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.

Top
#51166 - 24/09/03 06:48 PM Re: on *:nick: event fails to trigger
MrPeepers Offline
Vogon poet

Registered: 05/08/03
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.

Top
#51167 - 24/09/03 06:59 PM Re: on *:nick: event fails to trigger
lambroger Offline
Ameglian cow

Registered: 04/01/03
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
  }
}
  

Top
#51168 - 24/09/03 07:01 PM Re: on *:nick: event fails to trigger
r0ck0 Offline
Fjord artisan

Registered: 22/06/03
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
}


Edited by r0ck0 (24/09/03 07:04 PM)

Top
#51169 - 24/09/03 07:10 PM Re: on *:nick: event fails to trigger
lambroger Offline
Ameglian cow

Registered: 04/01/03
Posts: 44
thank you, it's working now.

you are da man.

Top
#51170 - 24/09/03 07:10 PM Re: on *:nick: event fails to trigger
pheonix Offline
Hoopy frood

Registered: 06/05/03
Posts: 2265
you are da lamb.
_________________________
new username: tidy_trax

Top
#51171 - 24/09/03 07:11 PM Re: on *:nick: event fails to trigger
r0ck0 Offline
Fjord artisan

Registered: 22/06/03
Posts: 242
mp smile

Top
#51172 - 24/09/03 07:13 PM Re: on *:nick: event fails to trigger
pheonix Offline
Hoopy frood

Registered: 06/05/03
Posts: 2265
np = no problem
mp = my pleasure? *wild guess*
_________________________
new username: tidy_trax

Top
#51173 - 24/09/03 07:13 PM Re: on *:nick: event fails to trigger
r0ck0 Offline
Fjord artisan

Registered: 22/06/03
Posts: 242
yep smile

Top