westor

+-channelmodes for Kendy v1.1

Nov 25th, 2020 (edited)
800
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ON *:TEXT:*:#: {
  2.   tokenize 32 $strip($1-)
  3.  
  4.   var %char = $left($1,1)
  5.   var %modes = $remove($1-,+,-)
  6.  
  7.   if (%char == +) && (%modes) { mode $chan + $+ %modes }
  8.   if (%char == -) && (%modes) { mode $chan - $+ %modes }
  9. }
  10.  
RAW Paste Data