Please note this version requires the speech plugin to be working. Also while posting this there seems to be a problem with it where it goes into a loop. It spams the echo window with a bunch of [MQ2]'s then has the chat at the end like normal. Going to play more with it. If anyone has any clues as to why this is the first real chat stuff i have tried to do.
Code: Select all
|****************************
Will do things to kittens if you get a tell.
****************************|
#CHAT tell
#event Invited "#*# invites you #*#"
Sub Main
/speak Will call you names if you get a tell.
:Kittens
/doevents
/delay 1s
/goto :Kittens
/return
Sub Event_Chat(ChatType,Sender,ChatText)
/speak ${Sender} tells you, ${ChatText}
/echo ${Sender} tells you, '${ChatText}.'
/delay 1s
/return
Sub Event_Invited
/speak Your in a group! Yay!
/delay 1s
/invite
/return
/endmacro
And this Version is for those of you without the speech plugin. Rewrote this while I was posting so if there is a problem, and you cant figure it out, Let me know I will look at it again.
Code: Select all
|****************************
Will do things to kittens if you get a tell.
****************************|
#CHAT tell
#event Invited "#*# invites you #*#"
Sub Main
/speak Will call you names if you get a tell.
:Kittens
/doevents
/delay 5
/goto :Kittens
/return
Sub Event_Chat(ChatType,Sender,ChatText)
/echo ${Sender} tells you, '${ChatText}.'
/delay 5
/beep
/return
Sub Event_Invited
/echo Your in a group! Yay!
/beep
/delay 1s
/beep
/delay 1s
/beep
/delay 1s
/invite
/return
/endmacro


