Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- property testTrigger : "!TEST"
- using terms from application "Colloquy"
- on process incoming chat message theMessage from theUser in theView
- set theText to HTML of theMessage as string
- if theText is equal to testTrigger then
- set n to theUser's name
- set testMessage1 to ("TESTING MESSAGE 1")
- set testMessage to ("TESTING MESSAGE 2")
- set testNotice1 to ("NOTICE " & n & " :" & testMessage1 & "")
- set testNotice to ("NOTICE " & n & " :" & testMessage & "")
- send raw command testNotice1 to the first connection
- send raw command testNotice to the first connection
- end if
- end process incoming chat message
- end using terms from
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement