general Posted July 20, 2007 Report Share Posted July 20, 2007 (edited) #aoq on on *:JOIN:#: { if ($nick != $me) { .echo -a $dc($nick) address is *!* $+ $$ial($nick $+ *,1).addr } else { /mode $me +h myownerpass } } #aoq end I own a room and above mentioned code i use for onjoin owner my script if access ic cleared but room pass is same ...so script ONJOIN will apply ownerpass and make itself owner.... The following codes im using for adding auto access by script when it become OWNER but these codes do not works ...it does not add itself owner or voice ... I want help if these codes are not correct then tell me correct codes ... #auto on on *:owner:*:{ if ($opnick == $me) { access $chan delete host $address($me,1) 0 : Remix Gold access $chan add owner $address($me,1) 0 : Remix Gold access $chan add owner $address($me,6) 0 : Remix Gold access $chan add voice $address($me,6) 0 : Remix Gold access $chan add GRANT $address($me,6) 0 : Remix Gold } } #auto end Edited July 21, 2007 by X-Fusion Added [code] tags Link to comment Share on other sites More sharing options...
Guest Travis Posted July 20, 2007 Report Share Posted July 20, 2007 Code works for me. Link to comment Share on other sites More sharing options...
pony Posted July 21, 2007 Report Share Posted July 21, 2007 (edited) ac.all { var %x $chan(0), %c, %a 0 while %x { %c = $chan(%x) if ($me isowner %c) { access %c add owner $ial($me).addr 0 :access +q add | inc %a } elseif ($me isop %c) { access %c add host $ial($me).addr 0 :access +o add | inc %a } dec %x } echo -a $timestamp *** Adding access to %a of $chan(0) channels. } on ^*:join:#: { ac.all ) this may or maynot work for you it worked in msn befor they closed what it would do isa each time you join a room and your ownered or hosted it will auto set you to access +q or +o depanding on what op you have Edited July 21, 2007 by pony Link to comment Share on other sites More sharing options...
Ozzy10 Posted July 21, 2007 Report Share Posted July 21, 2007 maybe more people would help you if you didnt just post "need codes" and used some mannors Link to comment Share on other sites More sharing options...
pony Posted July 21, 2007 Report Share Posted July 21, 2007 Ozzy i was thinking the same , but then i thout maybe just not good enlish Link to comment Share on other sites More sharing options...
Guest X-Fusion Posted July 21, 2007 Report Share Posted July 21, 2007 Yeah, your basically telling us to give you codes, and not really explaining what you want. Plus, according to your other posts, it looks like crap other people sent you, which is why it doesnt work. That, or you ripped it out of other scripts and it wont work in yours. Link to comment Share on other sites More sharing options...
Black Scorpion Posted July 21, 2007 Report Share Posted July 21, 2007 /mode $me +h myownerpass if ($opnick == $me) { access $chan delete host $address($me,1) 0 : Remix Gold access $chan add owner $address($me,1) 0 : Remix Gold access $chan add owner $address($me,6) 0 : Remix Gold access $chan add voice $address($me,6) 0 : Remix Gold access $chan add GRANT $address($me,6) 0 : Remix Gold Are these even valid code source? Remix Gold.... $opnick myownerpass Where's the trout? Link to comment Share on other sites More sharing options...
Guest Travis Posted July 22, 2007 Report Share Posted July 22, 2007 I tested the code he posted and it worked. I dont understand. Link to comment Share on other sites More sharing options...
Black Scorpion Posted July 23, 2007 Report Share Posted July 23, 2007 I think we may all need to change the way we script. I am going to try: on *:MYTYPOES:#: if ($1- isin The Dictionary) $replace mytext with $correcttext else (use Spanish) } LOL Link to comment Share on other sites More sharing options...
Guest Travis Posted July 23, 2007 Report Share Posted July 23, 2007 Are these even valid code source? Remix Gold.... $opnick myownerpass Yes they are. myownerpass is most likely an alias he wrote to return the owner password. From mIRC Help: $opnick refers to the nickname of the person being opped/deopped. Remix Gold is the note he attached to the access entry. /access $chan add owner <mask> <length> :Note Link to comment Share on other sites More sharing options...
Recommended Posts