I need help to convert this code

By Charmer on Jul 16, 2020

Hey Guys Long time

I have been absent for no more than seven years, and I cannot remember much about the New of "mSL". I hope from the experts to convert this code and that the posting be in the channel and not on the private WINDOW,I need who join channel with access @op notice channel why this nickname or user @op and /cs why #channel nick have access like this one ...

and thanks for help

Old code is :

On ^:NOTICE::?:{
if ($nick = NickServ) || ($nick = MemoServ) || ($nick = ChanServ) {
}
else {
if ($window(@Notices) = $null) { window @Notices }
echo @Notices $atime 3 (Private)Notice1 4Nick1:2 $nick 1 4MSG1: $1-
halt
}

if ($nick != chanserv) || ($nick == $me) { goto end }
if ($nick == chanserv) {
if (has NO access to iswm $strip($1-)) {
Window -ng2 @Why
ALINE 1 @Why 6ChanServ Why This Nick iS Op ChanneL ( $time ) - ( $date )
ALINE 1 @Why 4 $1 has has NO access to $6
haltdef
}
if (Identification isin $1-) && (access isin $1-) && (Reason isin $1-) {
Window -ng2 @Why
ALINE 1 @Why 6ChanServ Why This Nick iS Op ChanneL ( $time ) - ( $date )
ALINE 1 @Why
4 $+ $1-6 $+
ALINE 1 @Why *** 12 $+ $7- $+
haltdef
}
}
:end
}
.....................
need it work for example in depend of any channel and access Sop or Aop : Charmer has SOP access to #blahblah. Reason: Identification to the nickname Charmer. Script Name

On ^*:NOTICE:*:?:{
  if ($nick = NickServ) || ($nick = MemoServ) || ($nick = ChanServ) { 
  }
  else {
    if ($window(@Notices) = $null) { window @Notices }
    echo @Notices $atime 3 (Private)Notice1   4Nick1:2 $nick 1  4MSG1: $1-
    halt
  }

  if ($nick != chanserv) || ($nick == $me) { goto end } 
  if ($nick == chanserv) { 
    if (*has NO access to* iswm $strip($1-)) { 
      Window -ng2 @Why 
      ALINE 1 @Why 6ChanServ Why This Nick iS Op ChanneL ( $time ) - ( $date ) 
      ALINE 1 @Why 4*** $1 has has NO access to $6
      haltdef 
    }
    if (Identification isin $1-) && (access isin $1-) && (Reason isin $1-) { 
      Window -ng2 @Why 
      ALINE 1 @Why 6ChanServ Why This Nick iS Op ChanneL ( $time ) - ( $date ) 
      ALINE 1 @Why *** 4 $+ $1-6 $+ 
      ALINE 1 @Why *** 12 $+ $7- $+ 
      haltdef 
    } 
  } 
  :end 
} 

Comments

Sign in to comment.
Thewarofdestiny   -  15 days ago

Instead of writing directly into the Individual(IndividualCounter) structure, try writing into a local structure and then at the very last, assign that local structure into Individual(IndividualCounter)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.