mIRC Home    About    Download    Register    News    Help

Print Thread
#105826 21/12/04 02:57 AM
R
ricky_knuckles
ricky_knuckles
R
yet another silly question
id like to make a text event that ops
the person that i specify
like !opnick greyfoxx
would op greyfoxx

#105827 21/12/04 02:59 AM
M
Morgan7456
Morgan7456
M
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
R
ricky_knuckles
ricky_knuckles
R
thanks im gonna try that out

Last edited by ricky_knuckles; 21/12/04 03:05 AM.
#105829 21/12/04 03:08 AM
R
ricky_knuckles
ricky_knuckles
R
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

#105830 21/12/04 03:16 AM
M
Morgan7456
Morgan7456
M
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
R
ricky_knuckles
ricky_knuckles
R
correct
but never assume someone knows something
end result
on *:text:*!opnick*:#:{
if ($ulevel >= 3) { /mode # +o $$2 }
}
thanks again

#105832 21/12/04 03:25 AM
M
Morgan7456
Morgan7456
M
np

#105833 21/12/04 04:19 AM
R
ricky_knuckles
ricky_knuckles
R
actually som remotes work on self just not text
kick
op
etc

#105834 21/12/04 04:23 AM
M
Morgan7456
Morgan7456
M
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
R
ricky_knuckles
ricky_knuckles
R
which loops back to what i said about adding a comparison
anyways splitting hairs is officially over
topic close thanks for your help


Link Copied to Clipboard