Rashed Posted December 5, 2015 Report Share Posted December 5, 2015 Hello all #voiceonjoin on on *:join:#:{ .mode $chan +v $nick } #voiceonjoin end This gives voice on join to all , but this work to all channels I want to make it on only in specific channel rather than others. Link to comment Share on other sites More sharing options...
err0r Posted December 6, 2015 Report Share Posted December 6, 2015 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 More sharing options...
Rashed Posted December 6, 2015 Author Report Share Posted December 6, 2015 and if room name contains spaces ? on *:join:#im here:{ .mode $chan +v $nick } is this right?! Link to comment Share on other sites More sharing options...
err0r Posted December 6, 2015 Report Share Posted December 6, 2015 if the network allows spaces.. depends on the network really Link to comment Share on other sites More sharing options...
Rashed Posted December 6, 2015 Author Report Share Posted December 6, 2015 buzzen , and can i put more than one room Link to comment Share on other sites More sharing options...
err0r Posted December 6, 2015 Report Share Posted December 6, 2015 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 More sharing options...
Rashed Posted December 6, 2015 Author Report Share Posted December 6, 2015 (edited) 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 December 6, 2015 by Rashed Link to comment Share on other sites More sharing options...
err0r Posted December 6, 2015 Report Share Posted December 6, 2015 % represents a variable in mIRC so it's best not to use that in the isin.. just use # Link to comment Share on other sites More sharing options...
Rashed Posted December 7, 2015 Author Report Share Posted December 7, 2015 what about comma's and multible room names Link to comment Share on other sites More sharing options...
err0r Posted December 7, 2015 Report Share Posted December 7, 2015 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now