mIRC Home    About    Download    Register    News    Help

Print Thread
#105826 21/12/04 02:57 AM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
yet another silly question
id like to make a text event that ops
the person that i specify
like !opnick greyfoxx
would op greyfoxx


The Kodokan will move you, one way or another.
#105827 21/12/04 02:59 AM
Joined: Dec 2004
Posts: 43
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Dec 2004
Posts: 43
If the OP command is for op-ing yourself,

on 1:text:!opme:#:/mode # +o $nick

however this command, the user of this script must be a channel operator themselves.

If you want that to trigger only to yourself:

on 1:text:!opme:#:{ if $nick == <your nickname> { /mode # +o $nick }

If the +o command is for others, the code will be:

on 1:text:*!op*:#:/mode # +o $$2

This will all be inputed into your remote scripts

#105828 21/12/04 03:03 AM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
thanks im gonna try that out

Last edited by ricky_knuckles; 21/12/04 03:05 AM.

The Kodokan will move you, one way or another.
#105829 21/12/04 03:08 AM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
there needs to be a comparison less the command be open to everyone
and you cant trigger on text yourself
not unless its through a addition copy of mirc


The Kodokan will move you, one way or another.
#105830 21/12/04 03:16 AM
Joined: Dec 2004
Posts: 43
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Dec 2004
Posts: 43
remote commands never work for yourself. aliases or popups you can control.

I assumed that your "on 1:text" is for your second connection, or for a bot.

#105831 21/12/04 03:19 AM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
correct
but never assume someone knows something
end result
on *:text:*!opnick*:#:{
if ($ulevel >= 3) { /mode # +o $$2 }
}
thanks again


The Kodokan will move you, one way or another.
#105832 21/12/04 03:25 AM
Joined: Dec 2004
Posts: 43
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Dec 2004
Posts: 43
np

#105833 21/12/04 04:19 AM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
actually som remotes work on self just not text
kick
op
etc


The Kodokan will move you, one way or another.
#105834 21/12/04 04:23 AM
Joined: Dec 2004
Posts: 43
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Dec 2004
Posts: 43
auto kick/ban/op yes it works automatically if you write the codes correctly, but not to your commands.

#105835 21/12/04 05:25 AM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
which loops back to what i said about adding a comparison
anyways splitting hairs is officially over
topic close thanks for your help


The Kodokan will move you, one way or another.

Link Copied to Clipboard