Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- property myChatRoom : {"#lounge2", "#Cookies", "#test"}
- using terms from application "Colloquy"
- on member joined whoArrived in theChatRoom
- if myChatRoom contains (theChatRoom's name) then
- set n to (whoArrived's name)
- set c to (theChatRoom's name)
- tell theChatRoom
- send message ("Hello " & n & ". Welcome to " & c & "!")
- send raw command "NOTICE " & n & " :Type '!HELP' for the list of commands."
- end tell
- end if
- end member joined
- end using terms from
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement