Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. property friends : {"Readmon"}
  2. property watchedChatRoomz : {"MEINCHANNELDENICHUEBERWACHE"}
  3.  
  4. using terms from application "Colloquy"
  5.    
  6.     on member joined whoArrived in whichChatRoom
  7.         if watchedChatRoomz contains (whichChatRoom's name) then
  8.             set n to (whoArrived's name)
  9.             if friends contains n then
  10.                 tell whichChatRoom
  11.                     send message ("Debug: ''kick " & n & "''")
  12.                     send raw command ("kick " & n)
  13.                 end tell
  14.             end if
  15.         end if
  16.     end member joined
  17.    
  18. end using terms from
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement