Jump to content

Needs Codes


general

Recommended Posts

#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 by X-Fusion
Added [code] tags
Link to comment
Share on other sites

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 by pony
Link to comment
Share on other sites

Guest X-Fusion

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

/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

 

:blink:

 

Are these even valid code source?

Remix Gold....

$opnick

myownerpass

 

Where's the trout? :fish:

 

 

Link to comment
Share on other sites

Guest Travis
:blink:

 

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...