All pastes #817270 Raw Edit

STFU TAG

public text v1 · immutable
·published 2007-12-15 12:02 UTC
rendered paste body
alias F2 { 
  if ($me isop $chan) || ($me ishop $chan) { 
    if (%stfu. [ $+ [ $$1 ] ]) { 
      inc %bans 
      ban -k $chan $$1 2 Lets play STFU tag, YOU'RE IT! $chr(124) Banned: %bans 
      unset %stfu. [ $+ [ $$1 ] ] 
      .timer. [ $+ [ $$1 ] ] off 
    } 
    else { 
      echo -a Are you sure about banning $$1 $+($chr(40),$address($$1,2),$chr(41)) on $chan $+ ? This will unset in 10 Seconds. 
      set -u10 %stfu. [ $+ [ $$1 ] ] yo 
      .timer. [ $+ [ $$1 ] ] 1 10 echo -a Ban of $$1 $+($chr(40),$address($$1,2),$chr(41)) cancelled 
    } 
  } 
  else echo -a I dont have power in $chan $+ .