simo commented on a Page, Oper who/whowas limit fix needed  -  Sep 14, 2019

not sure if this is what u meant but u can try it


on *:text:*:#ops: {
  if ($nick isop $chan) && ($regex($1-,/(^|\s)(.idshow?w?s?\s\S+)/i)) {
    set -u3 %whoisnicks $gettok($replace($gettok($2-,1-,46),$chr(32),$chr(44)),1,46)
    if ($numtok(%whoisnicks,44) <= 10) {
      tokenize 32 $regml(2) | whois $2
    } 
  }
  if ($nick isop $chan) && ($regex($1-,/(^|\s)(.lastid?d?s?\s\S+)/i)) {
    set -u3 %whowasnicks $gettok($replace($gettok($2-,1-,46),$chr(32),$chr(44)),1,46) 
    if ($numtok(%whowasnicks,44) <= 10) {
      tokenize 32 $regml(2) | whowas $2
    }
  }
}
Cheiron  -  Sep 14, 2019

Still got the primary issue of the bot sending to pm! I did try replacing that section on my bot and nought showing at all now... something is not quite right!

shumaila  -  Nov 16, 2021

nice help also propakistan

Sign in to comment

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.