mIRC Home    About    Download    Register    News    Help

Print Thread
#31547 22/06/03 11:31 PM
Joined: Jun 2003
Posts: 13
M
Pikka bird
OP Offline
Pikka bird
M
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:

Code:
 on 1:text:!drink *:#: {
  /var %drink
  %drink = $remove($1-,!drink )
  me gives $nick a %drink
} 

I'm stumped.. confused please help

#31548 22/06/03 11:58 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Use describe #.

#31549 23/06/03 12:17 AM
Joined: Jun 2003
Posts: 13
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
what is the syntax for describe?

#31550 23/06/03 12:20 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
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.

#31551 23/06/03 12:29 AM
Joined: Jun 2003
Posts: 13
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
hey thanks a bunch smile

#31552 23/06/03 12:47 AM
Joined: Apr 2003
Posts: 29
B
Ameglian cow
Offline
Ameglian cow
B
Joined: Apr 2003
Posts: 29
Code:
   on !*:text:!drink *:#: { 
 if ($2) me gives $nick a $2-
 else .msg $chan Plz Specify What You Want To Drink :)
}   

#31553 23/06/03 01:49 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
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.

Code:
on *:TEXT:!drink *:#: {
  /describe $chan $iif($2, gives $nick a glass of $2-, cannot give $nick a glass of nothing!)
}


-KingTomato
#31554 23/06/03 09:04 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
describe works fine, but if you forget that in future use ame


new username: tidy_trax
#31555 23/06/03 08:16 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
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
#31556 23/06/03 08:25 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
or /me # ;\


new username: tidy_trax
#31557 23/06/03 08:27 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
That doesn't work unless you use a /me alias.

#31558 23/06/03 09:21 PM
Joined: Apr 2003
Posts: 29
B
Ameglian cow
Offline
Ameglian cow
B
Joined: Apr 2003
Posts: 29
Im Sorry KingTomato , I Was Tired :P
This Code Is Better!
Code:
 
on !*:text:!drink *:#: { 
 if ($2) describe # gives $nick a $2-
 else .msg $chan Plz Specify What You Want To Drink :)
}  
 

#31559 23/06/03 09:46 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Poor Tomato, nobody listens to vege-like fruit. smirk


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#31560 24/06/03 12:35 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
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..

Code:
on *:TEXT:!drink *:#: {
  /describe $chan gives $nick a glass of $2-
}


-KingTomato

Link Copied to Clipboard