mIRC Home    About    Download    Register    News    Help

Print Thread
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.
Joined: Jun 2003
Posts: 5,024
M
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
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

Joined: Jul 2004
Posts: 40
D
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...
Joined: Jun 2004
Posts: 291
W
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

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 :!:

Joined: Dec 2004
Posts: 1
E
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?


Link Copied to Clipboard