Total ignore system

By Mido_1 on Aug 21, 2004

I use it some time when I have not time to chat and set to total ignore. I have add an timer to set manualy how meny second will I have a total ignore. You can turn it ON simple by press F6 and turn it OFF one more time by press F6, copy code to remote

;Ignore System 
;Made by Mido_1

Menu Status,channel  {
  Ignore system:/dialog -m ignore ignore
}  

alias addsec { 
  if ($1) { $1- } 
  else { 
    set %time $input(second  :,e)  
    echo 3*** Ignore timer sets %time ***
  } 
}
alias keys {
  clear -s
  echo 10 -s [FX] F6 Set total ignore for 60 sec or remove it 
  echo 10 -s [FX] F5 set help
  echo 10 -s -
}

dialog ignore {
  title "Mido`s ignore system"
  size -1 -1 110 25
  option dbu

  button "Set timer", 1, 10 6 37 12
  button "Total ignore", 2, 60 6 37 12
}

on *:dialog:ignore:sclick:1: {  /addsec
}
on *:dialog:ignore:sclick:2: {  /alias F6 { if (%popolni = on) { .ignore on | .ignore -u%time *!*@* | unset %popolni | echo 3 -ae *** Total ignore on! For %time  sec! *** } | else { set %popolni on | .ignore -r *!*@* | .timer 1  %time set %popolni on | echo 3 -ae *** Total ignore off! *** } }
  }
 }
}

Comments

Sign in to comment.
Zach   -  Aug 25, 2004

What\'s [FX] and why the hell would you clear the status window buffer? and it won\'t work -u%time won\'t work because it needs to be spaced -u $+ %time would work better. Test your scripts maybe would help...

 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.