Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:*:#: {
- var %x $strip($1-)
- var %chanName $chan
- if ($chan == #vl-mark || $chan == #vl-notmark || $chan == #vl-tech_corner || $chan == #vl-themvn || $chan == #vl-vaughnmas) {
- if (someword isin %x || anotherword isin %x || whre isin %x) {
- ; Clean up the nickname
- var %targetName $nick
- %targetName = $replace(%targetName,
- [vip],,
- [ Streamer ],,
- [mvn],,
- [Staff],,
- $chr(10),,
- $chr(32),,
- $chr(91),,
- $chr(93),,
- $chr(160),, ; Handles non-breaking spaces
- ,) ; Handles triple spaces
- ; Ensure targetName is valid before banning
- if (%targetName != $null) {
- msg %chanName .ban %targetName
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement