mIRC Home    About    Download    Register    News    Help

Print Thread
#208371 19/01/09 04:24 PM
Joined: Apr 2007
Posts: 8
L
llVIU Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Apr 2007
Posts: 8
Pretty simple
Code:
/bot1 /notice Bot-1 password_here $$1-

on *:NOTICE:password_here*: { /say $$1-
}

Example of how it should go:

I type

/bot1 /mode #mIRC +v user72

Then Bot-1 does this

/mode #mIRC +v user72

However I want for ANY command, not just /mode, for example /quit or /msg or /notice, etc.

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Leave out /say and just start with $$2- ($1 is your password).

Be VERY careful with this though because it is obviously very sensitive to abuse/exploits/etc.

Last edited by 5618; 19/01/09 04:32 PM.
Joined: Apr 2007
Posts: 8
L
llVIU Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Apr 2007
Posts: 8
Thanks, but I want the bot to actually SET the mode, not say that text in the channel :P

and I don't exactly understand how you want me to put $$2- nd $1...

The problem is that I need to replace "/say" with something else :P

Thank you

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
That's the whole point, you don't use /say at all.
Code:
on *:NOTICE:password_here*:?:{ $$2- }

Joined: Apr 2007
Posts: 8
L
llVIU Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Apr 2007
Posts: 8
Thanks, it works smile


Link Copied to Clipboard