Jump to content

Voice On Join


Rashed

Recommended Posts

use the full # name on *:join:#testroom:{ .mode $chan +v $nick }

 

from help file

 

on JOIN/PART

 

The on JOIN and on PART events trigger when a user joins or parts a channel.

 

Format: on <level>:JOIN:<#[,#]>:<commands>

Example: on 1:JOIN:#mirc,#irchelp:/msg $nick hiya!

 

Examples

 

on 1:JOIN:#:/msg $chan Welcome $nick

 

This triggers when any user joins any channel which you are on.

 

on 5:PART:#mIRC,#newbies:/describe $chan waves bye-bye to $nick *sniff*

 

This triggers when a user with access level 5 leaves channels #mIRC or #newbies.

Link to comment
Share on other sites

with buzzen unless the connection has been edited their rooms are %# and not just # and spaces are \b

 

so you could do

on *:join:*:{ .
if (im\bhere isin #) { mode $chan +v $nick }
}
Link to comment
Share on other sites

on *:join:*:{ .
if (im\bhere isin #) { mode $chan +v $nick }
}

 

or

 

on *:join:*:{ .

if (im\bhere isin %#) { mode $chan +v $nick }
}

 

and can it be

 

on *:join:*:{ .

if (im\bhere,Egypt,test isin %#) { mode $chan +v $nick }
}

Edited by Rashed
Link to comment
Share on other sites

Here is an example of how you could do it per room on buzzen.

menu channel {
  $iif($istok(%autojoinroomslist,#,44),$style(1)) Auto Voice #: { 
    $iif($istok(%autojoinroomslist,#,44),set %autojoinroomslist $remtok(%autojoinroomslist,#,44),set %autojoinroomslist $addtok(%autojoinroomslist,#,44)) 
  }
}

on *:join:*: {
  if ($istok(%autojoinroomslist,#,44)) {
    mode # +v $nick 
  }
}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...