mIRC Home    About    Download    Register    News    Help

Print Thread
#205852 02/11/08 12:14 AM
Joined: Oct 2008
Posts: 167
S
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


Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Code:

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


RoCk #205855 02/11/08 12:30 AM
Joined: Oct 2008
Posts: 26
B
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
}


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

Billl #205861 02/11/08 02:33 AM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

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

RoCk #205939 03/11/08 07:57 PM
Joined: Oct 2008
Posts: 167
S
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
That's answered it smile

Thanks!


Link Copied to Clipboard