Advertisement
Guest User

Untitled

a guest
Jul 9th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. property myChatRoom : {"#lounge2", "#Cookies", "#test"}
  2.  
  3. using terms from application "Colloquy"
  4.     on member joined whoArrived in theChatRoom
  5.         if myChatRoom contains (theChatRoom's name) then
  6.             set n to (whoArrived's name)
  7.             set c to (theChatRoom's name)
  8.             tell theChatRoom
  9.                 send message ("Hello " & n & ". Welcome to " & c & "!")
  10.                 send raw command "NOTICE " & n & " :Type '!HELP' for the list of commands."
  11.             end tell
  12.         end if
  13.     end member joined
  14. end using terms from
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement