Rashed Posted December 8, 2015 Author Report Share Posted December 8, 2015 this is good want small addition order for admin listed person to open and off this on admin:text:!autovoiceon (action) what is the exact format for the same code you posted Link to comment Share on other sites More sharing options...
err0r Posted December 8, 2015 Report Share Posted December 8, 2015 This should work like you want. menu channel { $iif($istok(%autojoinroomslist,#,44),$style(1)) Auto Voice #: { $iif($istok(%autojoinroomslist,#,44),set %autojoinroomslist $remtok(%autojoinroomslist,#,44),set %autojoinroomslist $addtok(%autojoinroomslist,#,44)) } } menu nicklist { $iif(admin isin $level($address($$1,1)),$style(1)) Admin Level: { $iif(admin isin $level($address($$1,1)),.ruser admin $address($$1,1),.auser -a admin $address($$1,1) $$1) } } on admin:text:*:#:{ if ($istok(%autojoinroomslist,#,44)) { if (!autovoiceon isin $1-) { .enable #voicejoin | .msg # Auto Voice Activated | halt } if (!autovoiceoff isin $1-) { .disable #voicejoin | .msg # Auto Voice Deactivated | halt } } } #voicejoin off on *:join:*: { if ($istok(%autojoinroomslist,#,44)) { mode # +v $nick } } #voicejoin end Link to comment Share on other sites More sharing options...
Rashed Posted December 10, 2015 Author Report Share Posted December 10, 2015 not working the admin order Link to comment Share on other sites More sharing options...
err0r Posted December 11, 2015 Report Share Posted December 11, 2015 Try this variation menu channel { $iif($istok(%autojoinroomslist,#,44),$style(1)) Auto Voice #: { $iif($istok(%autojoinroomslist,#,44),set %autojoinroomslist $remtok(%autojoinroomslist,#,44),set %autojoinroomslist $addtok(%autojoinroomslist,#,44)) } } menu nicklist { $iif(admin isin $level($address($$1,1)),$style(1)) Admin Level: { $iif(admin isin $level($address($$1,1)),.ruser admin $address($$1,1),.auser -a admin $address($$1,1) $$1) } } on *:text:*:#:{ if (admin isin $level($address($nick,1))) { if ($istok(%autojoinroomslist,#,44)) { if (!autovoiceon isin $1-) { .enable #voicejoin | .msg # Auto Voice Activated | halt } if (!autovoiceoff isin $1-) { .disable #voicejoin | .msg # Auto Voice Deactivated | halt } } } } #voicejoin off on *:join:*: { if ($istok(%autojoinroomslist,#,44)) { mode # +v $nick } } #voicejoin end Link to comment Share on other sites More sharing options...
Loveness Posted December 12, 2015 Report Share Posted December 12, 2015 (edited) on *:join:*: {if ($istok(%autojoinroomslist,#,44)) && ($nick != $me) { if ($me isop #) mode # +v $nick }} Edited December 12, 2015 by Loveness 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