mIRC Home    About    Download    Register    News    Help

Print Thread
#50222 19/09/03 02:58 AM
Joined: Sep 2003
Posts: 122
Gar Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2003
Posts: 122
I was wondering. I have a bunch of aliases that I have set up that I can post in repsonse to someones actions.

ie) When someone slaps me with a fish I can type /fish to produce: * Gararion parries the hailbut with his own large trout. "On gaurd!"

Is there a way I can make this automatic so I don't have to type /fish each time? I have a few of these "counters" as you may call them.

#50223 19/09/03 03:28 AM
Joined: Jun 2003
Posts: 77
O
Babel fish
Offline
Babel fish
O
Joined: Jun 2003
Posts: 77
That would be something like:
Code:
on *:ACTION:*slaps*fish*:#somechannel:{
.describe $chan parries the hailbut with his own large trout. "On gaurd!"
}

Just change the 'fish' to whatever you want and do the same with some channel or put * or # for any channel.
smile


.
#50224 19/09/03 03:38 AM
Joined: Sep 2003
Posts: 122
Gar Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2003
Posts: 122
what was the *slap * part for? Can it be changed in any manner?

#50225 19/09/03 03:53 AM
Joined: Sep 2003
Posts: 122
Gar Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2003
Posts: 122
also is there a way of setting it up so when it sees this:

/me slaps [nic] around with a a large trout.

it then automatically repsonds. I fear that if I just put fish in it will react when ever someone says fish.

#50226 19/09/03 03:57 AM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
ON *:ACTION:slaps * around a bit with a large trout*:*: {
msg $active I fear that if I just put fish in it will react when ever someone says fish.
}


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#50227 19/09/03 04:06 AM
Joined: Sep 2003
Posts: 122
Gar Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2003
Posts: 122
okay question. What does this slap part of the script mean?

How would I edit the same script to reply when this happens:

/me tosses a bus at [nick]

Would the slap part remain?

#50228 19/09/03 04:59 AM
Joined: Aug 2003
Posts: 136
Vogon poet
Offline
Vogon poet
Joined: Aug 2003
Posts: 136
ON *:ACTION: Action here :*: {
msg $chan What you want to respond
}
Youd add whatever text you wanted to respond to in blue, to make it more broad add in *
Like /me slaps you around with a big trout would be
on *:action:slaps you around with a big trout:*: {
response here
}
But you can change that so its more broad like this
on *:action:slaps*$me*:*: {
response
}
now that would make it so whenever a person used slaps and ur current nickname in an action youd respond, so basically just change the blue part around to what you want to respond with and the use of $chan instead of $active b/c if your in a different room it would respond to that room instead.


In Virginia, chickens cannot lay eggs before 8:00 a.m., and must be done before 4:00 p.m.
#50229 19/09/03 06:58 AM
Joined: Sep 2003
Posts: 122
Gar Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2003
Posts: 122
thanxs


Link Copied to Clipboard