mIRC Home    About    Download    Register    News    Help

Print Thread
auto answer on action !xxxxxx #101781 28/10/04 09:36 AM
Joined: Oct 2004
Posts: 11
R
Rhino Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Oct 2004
Posts: 11
I am trying to get this script to auto reply in channel after anyone types !bcalc

on *:ACTION:!bcalc:$chan: /describe $chan http://bcalc.netlamers.org/ http://bcalc.blazde.co.uk/


any help greatly appreciated confused

now this does go into the 'remote' tab ?

as I have scripts in there to auto join servers and auth

eg ..

on 1:START:{
/server -m irc.xxxxxx.org
/server -m irc.xxxxxxx.org
; add additional servers here (use ; for comments)
}
on 1:CONNECT: {
if ( xxxxxxxx.org isin $server ) {

blah blah blah
}
if ( irc.xxxxxx.org isin $server ) {
auth Rhino xxxxxxxxxxxxxx }

+++++ so do I insert here +++++++ confused



Last edited by Rhino; 28/10/04 10:00 AM.
Re: auto answer on action !xxxxxx #101782 28/10/04 09:39 AM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
on *:action:!bcalc:[color:red]#: describe $chan <urls here>[/color]

If you want it to trigger on one specific channel, change # to the specific channel name.

If you want it to trigger when someone sends it to the channel as text, and not as an action, then use ON TEXT - this works exactly the same as ON ACTION, see /help on text.

Regards,


Mentality/Chris
Re: auto answer on action !xxxxxx #101783 28/10/04 10:05 AM
Joined: Oct 2004
Posts: 11
R
Rhino Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Oct 2004
Posts: 11
still cant get it to work ...

confused confused

Re: auto answer on action !xxxxxx #101784 28/10/04 10:12 AM
Joined: Jul 2004
Posts: 40
D
dmmrs Offline
Ameglian cow
Offline
Ameglian cow
D
Joined: Jul 2004
Posts: 40
Try this:

ON *:TEXT:!bcalc:#: msg $chan Links are: http://some.link.here and http://some.link.here2


That'll msg the chan with the desired msg when anyone types !bcalc in any chan you are in.

On ACTION would be if they typed /me !bcalc.

And remeber, you cant test triggers like that yourself.

EDIT: Oh, and yes, it goes on any new line in your remotes tab, best to have at the top, unless you want to put it anywhere else.

Last edited by dmmrs; 28/10/04 10:14 AM.

i script, therefore i am smirk
theres logic in there somewhere...
Re: auto answer on action !xxxxxx #101785 28/10/04 10:15 AM
Joined: Jun 2004
Posts: 291
W
whatsthedillio Offline
Fjord artisan
Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
Quote:
now this does go into the 'remote' tab ?

as I have scripts in there to auto join servers and auth

eg ..

on 1:START:{
/server -m irc.xxxxxx.org
/server -m irc.xxxxxxx.org
; add additional servers here (use ; for comments)
}
on 1:CONNECT: {
if ( xxxxxxxx.org isin $server ) {

blah blah blah
}
if ( irc.xxxxxx.org isin $server ) {
auth Rhino xxxxxxxxxxxxxx }

+++++ so do I insert here +++++++

dont do it on the same remote
file >> new
make sure its a clean remote first :P
try that

Re: auto answer on action !xxxxxx #101786 28/10/04 10:45 AM
Joined: Oct 2004
Posts: 11
R
Rhino Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Oct 2004
Posts: 11
laugh laugh laugh

cool

It works now, thanks heaps for that :!:

Re: auto answer on action !xxxxxx #101787 03/12/04 11:16 PM
Joined: Dec 2004
Posts: 1
E
EnderW Offline
Mostly harmless
Offline
Mostly harmless
E
Joined: Dec 2004
Posts: 1
I am trying a similar thing, except I want to have a script run when someone says !hiall also Id like to restrict it to OPs/HalfOps/Voiced Is there a way to do this?