mIRC Home    About    Download    Register    News    Help

Print Thread
Action On Text #205852 02/11/08 12:14 AM
Joined: Oct 2008
Posts: 167
S
seanturner70 Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
How can I do an action instead of message on text?

e.g.
Quote:
<user> !fried
* Bot piles a bunch of lovely fried food on plate and hands it to User


Re: Action On Text [Re: seanturner70] #205854 02/11/08 12:19 AM
Joined: Dec 2002
Posts: 2,022
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,022

Code:

on *:ACTION:!fried:#: {
  describe # piles a bunch of lovely fried food on plate and hands it to $nick
}


Re: Action On Text [Re: RoCk] #205855 02/11/08 12:30 AM
Joined: Oct 2008
Posts: 26
B
Billl Offline
Ameglian cow
Offline
Ameglian cow
B
Joined: Oct 2008
Posts: 26
Wouldn't it be

Code:
on *:TEXT:!fried:#: {
  describe # piles a bunch of lovely fried food on plate and hands it to $nick
}


Re: Action On Text [Re: Billl] #205857 02/11/08 12:38 AM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Yup unless the person triggers the bot via action, though.

Re: Action On Text [Re: Billl] #205861 02/11/08 02:33 AM
Joined: Dec 2002
Posts: 2,022
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,022

I thought the OP wanted an on action instead of on text. I could've been wrong.

Re: Action On Text [Re: RoCk] #205939 03/11/08 07:57 PM
Joined: Oct 2008
Posts: 167
S
seanturner70 Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
That's answered it smile

Thanks!