mIRC Home    About    Download    Register    News    Help

Topic Options
#12676 - 23/02/03 03:16 PM on join or on op
Kilon Offline
Self-satisified door

Registered: 23/02/03
Posts: 3
on *:join:#: {if $chan == #plp-intern) { .mode $chan -o [PLP]Blipster } }

can i use that?

Top
#12677 - 23/02/03 03:39 PM Re: on join or on op
Watchdog Offline
Hoopy frood

Registered: 09/12/02
Posts: 2984
Loc: Hill End, NSW, Australia
Code:
ON *:JOIN:#plp-intern: {
  mode # -o [PLP]Blipster
}

That looks more like the correct code. As for the function I am not sure it it will work.

1. There's no check in it to make the script only reacts to your join.
2. When the ON JOIN event occurs, you are not +o.
_________________________
Induced IRC
irc.induced.net

Top
#12678 - 23/02/03 03:43 PM Re: on join or on op
NightChillz Offline
Fjord artisan

Registered: 09/12/02
Posts: 271
Loc: Canada
Personaly i would use on *:op:*:{
Then check the nick for a match, if macth is found, mode $chan -o $nick

as, even if the user joins the room as op, the mode +o command is sent to the server, so you would pick it up.

Top