Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set r to (random number from 1 to 5)
- property watchedChatRoomz : {"tfwiki"}
- using terms from application "Colloquy-1"
- on member joined whoArrived in whichChatRoom
- if watchedChatRoomz contains (whichChatRooms's name) then
- set n to (whoArrived's name)
- if r = 1 then
- tell whichChatRoom
- send message "Welcome back, " & n & ", great to see you."
- if r = 2 then
- tell whichChatRoom
- send message "Hey there, " & n & ", how are you?"
- if r = 3 then
- tell whichChatRoom
- send message "Hiya, " & n & "how ya doin'?"
- if r = 4 then
- tell whichChatRoom
- send message "Watsup" & n & "?"
- if r = 5 then
- tell whichChatRoom
- send message "Ohey" & n & "."
- end tell
- end if
- end tell
- end if
- end tell
- end if
- end tell
- end if
- end tell
- end if
- end if
- end member joined
- end using terms from
Add Comment
Please, Sign In to add comment