mIRC Home    About    Download    Register    News    Help

Print Thread
#105649 18/12/04 11:13 PM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
on *:join:#:{
if ($nick ==$me) { /access # add owner $address($me,1)
}
.access:/access # add owner $address($me,1)

for those who are at least remotely familiar with ircx the goal is to set owner access for my id
there have been problems in my chan with open access or access for * (anyone) being set and im the only owner of the chan and the person who runs the server is trying to pin it on my scripts. so if there are any bugs in these please let me know


The Kodokan will move you, one way or another.
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
would have removed but edit time was up
i should have used 0 instead of 1
but i figured it out
done like that it will give access to everyone which is bad


The Kodokan will move you, one way or another.
Joined: Dec 2004
Posts: 23
E
Ameglian cow
Offline
Ameglian cow
E
Joined: Dec 2004
Posts: 23
very familair with ircx what's it donig wrong exactly?

Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
i already fixed it but using that didint vibe with the access sytem i forget the exact reason but the end result was giving access to anyone instead of just you
whereas $address($me,0) works nicely

since your familiar ill pose you a question
if i wanted a command to only execute if i am owner how would i got about that
like you can do on *@ i think it is if u want to fire only as an op
how would you do that for q


The Kodokan will move you, one way or another.
Joined: Dec 2004
Posts: 23
E
Ameglian cow
Offline
Ameglian cow
E
Joined: Dec 2004
Posts: 23
use ($me isowner $chan)

Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
I have tried the "isowner" if statement on several networks with +q, but apparently it does not work. Alternatively, you can use:

Code:
If ($Nick(#,$Me,q)) {


- Relinsquish
Joined: Dec 2004
Posts: 23
E
Ameglian cow
Offline
Ameglian cow
E
Joined: Dec 2004
Posts: 23
i've never had a problem with the isowner comparision ... maybe you should show me the error u get and i can see what's exactly what's happening

Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
since your familiar take a look at this
https://forums.mirc.com/s...p;page=0#110972


The Kodokan will move you, one way or another.

Link Copied to Clipboard