Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- property helpTrigger : "!HELP"
- 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 helpTrigger then
- set n to theUser's name
- set helpMessage1 to ("=-=-=-=-=-=-=-=-=-= USER COMMAND LIST =-=-=-=-=-=-=-=-=-=")
- set helpNotice1 to ("NOTICE " & n & " :" & helpMessage1 & "")
- send raw command helpNotice1 to connection of active panel of front window
- set helpMessage2 to ("HELP INFO PREDICT RATE")
- set helpNotice2 to ("NOTICE " & n & " :" & helpMessage2 & "")
- send raw command helpNotice2 to connection of active panel of front window
- end if
- end process incoming chat message
- end using terms from
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement