|
|
Joined: Jun 2003
Posts: 13
Pikka bird
|
OP
Pikka bird
Joined: Jun 2003
Posts: 13 |
I'm a little new, and I'm wondering how you'd use a /me from a remote script.. such as: on 1:text:!drink *:#: {
/var %drink
%drink = $remove($1-,!drink )
me gives $nick a %drink
} I'm stumped..  please help
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
|
|
|
|
Joined: Jun 2003
Posts: 13
Pikka bird
|
OP
Pikka bird
Joined: Jun 2003
Posts: 13 |
what is the syntax for describe?
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
From the mIRC help file: /describe <nick|channel> <message> Sends an action to the specified nickname or channel, the same as the /me command, except that /me is used while in a query or channel window so you don't need to specify the target when using it.
|
|
|
|
Joined: Jun 2003
Posts: 13
Pikka bird
|
OP
Pikka bird
Joined: Jun 2003
Posts: 13 |
hey thanks a bunch
|
|
|
|
Joined: Apr 2003
Posts: 29
Ameglian cow
|
Ameglian cow
Joined: Apr 2003
Posts: 29 |
on !*:text:!drink *:#: {
if ($2) me gives $nick a $2-
else .msg $chan Plz Specify What You Want To Drink :)
}
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
Boxern, were you paying attention? It was just said that me can't be used, then u repost code with the /me.
on *:TEXT:!drink *:#: {
/describe $chan $iif($2, gives $nick a glass of $2-, cannot give $nick a glass of nothing!)
}
-KingTomato
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
describe works fine, but if you forget that in future use ame
new username: tidy_trax
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
And if they don't want to /describe in every channel they are on, then can stick with describe <chan>
-KingTomato
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
That doesn't work unless you use a /me alias.
|
|
|
|
Joined: Apr 2003
Posts: 29
Ameglian cow
|
Ameglian cow
Joined: Apr 2003
Posts: 29 |
Im Sorry KingTomato , I Was Tired :P This Code Is Better!
on !*:text:!drink *:#: {
if ($2) describe # gives $nick a $2-
else .msg $chan Plz Specify What You Want To Drink :)
}
|
|
|
|
Joined: Feb 2003
Posts: 2,812
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,812 |
Poor Tomato, nobody listens to vege-like fruit.
Well. At least I won lunch. Good philosophy, see good in bad, I like!
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
your if ($2) is the most assinine condition i've seen. Try--just try to get that event to happen while typing nothing... You can't, you know why? There is a *... Like i said 2 posts ago this is the code...no bs, no fake worthless commands..
on *:TEXT:!drink *:#: {
/describe $chan gives $nick a glass of $2-
}
-KingTomato
|
|
|
|
|
|