mIRC Homepage
Posted By: mooshasta stupid question - 22/06/03 11:31 PM
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
Posted By: Collective Re: stupid question - 22/06/03 11:58 PM
Use describe #.
Posted By: mooshasta Re: stupid question - 23/06/03 12:17 AM
what is the syntax for describe?
Posted By: Collective Re: stupid question - 23/06/03 12:20 AM
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.
Posted By: mooshasta Re: stupid question - 23/06/03 12:29 AM
hey thanks a bunch smile
Posted By: BoXeRn_ Re: stupid question - 23/06/03 12:47 AM
Code:
   on !*:text:!drink *:#: { 
 if ($2) me gives $nick a $2-
 else .msg $chan Plz Specify What You Want To Drink :)
}   
Posted By: KingTomato Re: stupid question - 23/06/03 01:49 AM
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!)
}
Posted By: pheonix Re: stupid question - 23/06/03 09:04 AM
describe works fine, but if you forget that in future use ame
Posted By: KingTomato Re: stupid question - 23/06/03 08:16 PM
And if they don't want to /describe in every channel they are on, then can stick with describe <chan>
Posted By: pheonix Re: stupid question - 23/06/03 08:25 PM
or /me # ;\
Posted By: Collective Re: stupid question - 23/06/03 08:27 PM
That doesn't work unless you use a /me alias.
Posted By: BoXeRn_ Re: stupid question - 23/06/03 09:21 PM
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 :)
}  
 
Posted By: Raccoon Re: stupid question - 23/06/03 09:46 PM
Poor Tomato, nobody listens to vege-like fruit. smirk
Posted By: KingTomato Re: stupid question - 24/06/03 12:35 AM
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-
}
© mIRC Discussion Forums