Advertisement
Sweetening

Untitled

Dec 4th, 2024
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. on *:TEXT:*:#: {
  2. var %x $strip($1-)
  3. var %chanName $chan
  4. if ($chan == #vl-mark || $chan == #vl-notmark || $chan == #vl-tech_corner || $chan == #vl-themvn || $chan == #vl-vaughnmas) {
  5. if (someword isin %x || anotherword isin %x || whre isin %x) {
  6. ; Clean up the nickname
  7. var %targetName $nick
  8. %targetName = $replace(%targetName,
  9. [vip],,
  10. [ Streamer ],,
  11. [mvn],,
  12. [Staff],,
  13. $chr(10),,
  14. $chr(32),,
  15. $chr(91),,
  16. $chr(93),,
  17. $chr(160),, ; Handles non-breaking spaces
  18. ,) ; Handles triple spaces
  19.  
  20. ; Ensure targetName is valid before banning
  21. if (%targetName != $null) {
  22. msg %chanName .ban %targetName
  23. }
  24. }
  25. }
  26. }
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement