mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 204
K
keeker Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
i have this code:
Code:
on *:RAWMODE:#:{
  if ($1 == +a) || ($1 == +o) {
    if ( $+(%,opnotice,%msgcnt,#,$2) == $null ) {
      notice $2 11,1Message From 8NEOKNIGHT:9,1 %opnoticemsg 11,1This is a one time message,$&
 you will not receive it again for this nick
      set $+(%,opnotice,%msgcnt,#,$2) 1
    }
  }
}

This is supposed to /notice an @/! when they come into the rooms, and do it only once, and it used to work, till i messed with it a little, now it dont even work. can yall look t it and tell me wherre i screwed up?
edit: added $& to look better in forumn

Last edited by keeker; 14/05/03 03:37 PM.

keek: Scots - intr.v. keeked, keek·ing, keeks
To peek; peep.
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Code:
 
on *:RAWMODE:#:{
  if ((( $1 == +a ) || ( $1 == +o )) && ( !$eval($+(%,opnotice,%msgcnt,#,$2),2) )) {
    notice $2 11,1Message From 8NEOKNIGHT:9,1 %opnoticemsg 11,1This is a one time message,$&
      you will not receive it again for this nick
    set $+(%,opnotice,%msgcnt,#,$2) 1
  }
}
 


Code:
//if ( khaled isgod ) echo yes | else echo no

Link Copied to Clipboard