egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Solved] Pushmode
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Mon Sep 02, 2019 6:02 pm    Post subject: [Solved] Pushmode Reply with quote

.................

Last edited by simo on Mon Sep 30, 2019 1:45 pm; edited 4 times in total
Back to top
View user's profile Send private message
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Thu Sep 05, 2019 11:00 am    Post subject: Reply with quote

......

Last edited by simo on Mon Sep 30, 2019 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Fri Sep 06, 2019 2:26 pm    Post subject: Reply with quote

......

Last edited by simo on Mon Sep 30, 2019 1:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 190
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Sat Sep 07, 2019 9:18 pm    Post subject: Reply with quote

set msg-rate 1

I use this set so it helps me make the commands run faster and it might help you in what you are looking for friend

default is in:
set msg-rate 2
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Sun Sep 08, 2019 8:19 am    Post subject: Reply with quote

.......

Last edited by simo on Mon Sep 30, 2019 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cadaver
Voice


Joined: 04 Dec 2018
Posts: 16
Location: México

PostPosted: Mon Sep 09, 2019 1:17 pm    Post subject: Re: Pushmode with no queue Reply with quote

simo wrote:
greetings ive been fidling with conf to get an increaded value for:
set modes-per-line 3
i changed to :
set modes-per-line 15
and it didnt seem to work it kept setting 6
oh i forgot to mention im testing this with the ban-time option and set it to 1 min to test with then i set random bans like

@simo Sets Mode on #testing to: +bbbbbbbbbbbbbbb *!*@RifSytes-209.088.84.24.IP *!*@RifSytes-7t8.752.67.34.IP *!*@RifSytes-i9e.360.19.08.IP *!*@RifSytes-10f.714.82.11.IP *!*@RifSytes-jlm.568.36.02.IP *!*@RifSytes-aj8.232.73.88.IP *!*@RifSytes-6yv.653.82.53.IP *!*@RifSytes-294.710.78.55.IP *!*@RifSytes-r31.703.87.00.IP *!*@RifSytes-rv8.322.97.69.IP *!*@RifSytes-yxh.565.20.60.IP *!*@RifSytes-4tc.975.34.34.IP *!*@RifSytes-e6z.875.89.97.IP *!*@RifSytes-1o0.745.70.04.IP *!*@RifSytes-902.822.05.28.IP

then i wait 1 min for it to remove the bans

so far it removes per 6 max per line
i also tried fidling with :

# you can modify this by changing the value of MODES_PER_LINE_MAX in
# src/chan.h and recompiling the bot.
#set modes-per-line 3

and changed it to:

#define MODES_PER_LINE_MAX 15

and recompiled and still the same effect of max 6 per line

im testing this on an inspircd IRCD wich allows 15 modes per line out of the box

so far all i tried and tested didnt seem to work out i wonder if i did some misconfig on my part or the issue lies somewhere else very curious about this as i didnt see anyone actually use this option yet

tnx in advance.


Check it inspircd.conf, is really changed to:
maxtargets="15"

Then /rehash server
_________________
-- [ Soluciones Hosting ] -- [ ElChatIRC ] --
Back to top
View user's profile Send private message Visit poster's website
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Mon Sep 09, 2019 1:52 pm    Post subject: Reply with quote

.............

Last edited by simo on Mon Sep 30, 2019 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cadaver
Voice


Joined: 04 Dec 2018
Posts: 16
Location: México

PostPosted: Mon Sep 09, 2019 2:45 pm    Post subject: Reply with quote

Have you tried to use putquick instead of pushmode?

... Or try to rethink your question is so confusing
_________________
-- [ Soluciones Hosting ] -- [ ElChatIRC ] --
Back to top
View user's profile Send private message Visit poster's website
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Mon Sep 09, 2019 3:14 pm    Post subject: Reply with quote

.......

Last edited by simo on Mon Sep 30, 2019 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cadaver
Voice


Joined: 04 Dec 2018
Posts: 16
Location: México

PostPosted: Mon Sep 09, 2019 4:33 pm    Post subject: Reply with quote

You can use:

putserv or putquick "MODE $chan +vvvvvvvvvvvvvvv (or mode you need) [join [list $args]]"

To apply massive modes with no queue
_________________
-- [ Soluciones Hosting ] -- [ ElChatIRC ] --
Back to top
View user's profile Send private message Visit poster's website
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Mon Sep 09, 2019 4:44 pm    Post subject: Reply with quote

.......

Last edited by simo on Mon Sep 30, 2019 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 190
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Mon Sep 09, 2019 11:43 pm    Post subject: Reply with quote

simo
so that the order is faster add -next
example:
Code:


namespace eval steiner {
   namespace eval vall {
   bind join -|- * steiner::vall::join
   proc join {nick uhost hand chan} {
      putquick "MODE $chan +vvvvvvvvvvvvvvv $nick $nick $nick $nick $nick $nick $nick $nick $nick $nick $nick $nick $nick $nick $nick" -next
   }
  }
}

_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Tue Sep 10, 2019 7:34 am    Post subject: Reply with quote

..........

Last edited by simo on Mon Sep 30, 2019 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
simo
Master


Joined: 22 Mar 2015
Posts: 330

PostPosted: Tue Sep 10, 2019 7:46 am    Post subject: Reply with quote

......

Last edited by simo on Mon Sep 30, 2019 1:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cadaver
Voice


Joined: 04 Dec 2018
Posts: 16
Location: México

PostPosted: Tue Sep 10, 2019 11:56 am    Post subject: Reply with quote

Try this:

Code:

namespace eval steiner {
  namespace eval vall {
    bind join -|- * steiner::vall::join
    proc join {nick uhost hand chan} {
      global botnick
      if {$nick != $botnick} {
        if {![info exists nicks]} { set nicks $nick }
        if {[string first $nick $nicks] == 0} {
          return
        } else {
          set nicks [lappend nicks $nick]
        }
        if {[llength $nicks] == "15" && [botisop $chan]} {
          putquick "MODE $chan +vvvvvvvvvvvvvvv [join [list $nicks]]" ; unset nicks
        }
      }
    }
  }
}

_________________
-- [ Soluciones Hosting ] -- [ ElChatIRC ] --
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber