mIRC Home    About    Download    Register    News    Help

Print Thread
#103868 26/11/04 06:48 AM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
on 1:JOIN:#:if ($nick != $me) { /msg $chan Welcome $nick }
on 1:KICK:#:if ($knick == $me) { /join # | /mode # +b $nick | /access # clear owner | /access # add owner *24.217.135.142* | /kick # $nick }
on 2:JOIN:#:if ($nick != $me) { /mode # +o $nick }
2:*!*waverunnerzxi@cae31-218-002.sc.rr.com*
2:*!*findlayrvcenter@ip24-253-73-27.lv.lv.cox.net*
thats all the script i have because i dont do much
but i have been trying to write something that ops my friends when they join and i have had sucess
but when the auto op works the level 1 commands such as the greeting i have that you can see above do not
and i have tried using on * instead of on 1 but that makes the autop not work and the greeting work
obviously im not very advanced and i would appreciate any help you can give me
try to keep it at my level please
Thanks,


The Kodokan will move you, one way or another.
#103869 26/11/04 06:55 AM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Code:
on *:JOIN:#: {
  if ($ulevel == 2) { goto op }
 else {
 do stuff
 halt
 :op
 do stuff to your added ops
}

i think that should work.. not testes tho


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#103870 26/11/04 04:44 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
I have to ask, why do you use /goto?

Code:
on *!:join:#:{ 
  if ($ulevel == 2) {  }
  else {  }
}
The above does exactly the same, and is much smaller.


New username: hixxy
#103871 27/11/04 03:40 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
maybe he likes spagettie.


Link Copied to Clipboard