This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

[Solved] Pushmode

General support and discussion of Eggdrop bots.
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

[Solved] Pushmode

Post by simo »

.................
Last edited by simo on Mon Sep 30, 2019 1:45 pm, edited 4 times in total.
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

......
Last edited by simo on Mon Sep 30, 2019 1:41 pm, edited 1 time in total.
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

......
Last edited by simo on Mon Sep 30, 2019 1:45 pm, edited 1 time in total.
User avatar
Arnold_X-P
Master
Posts: 226
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Post by Arnold_X-P »

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
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

.......
Last edited by simo on Mon Sep 30, 2019 1:42 pm, edited 1 time in total.
C
Cadaver
Voice
Posts: 18
Joined: Tue Dec 04, 2018 12:26 pm
Location: México
Contact:

Re: Pushmode with no queue

Post by Cadaver »

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 ] --
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

.............
Last edited by simo on Mon Sep 30, 2019 1:42 pm, edited 1 time in total.
C
Cadaver
Voice
Posts: 18
Joined: Tue Dec 04, 2018 12:26 pm
Location: México
Contact:

Post by Cadaver »

Have you tried to use putquick instead of pushmode?

... Or try to rethink your question is so confusing
-- [ Soluciones Hosting ] -- [ ElChatIRC ] --
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

.......
Last edited by simo on Mon Sep 30, 2019 1:42 pm, edited 1 time in total.
C
Cadaver
Voice
Posts: 18
Joined: Tue Dec 04, 2018 12:26 pm
Location: México
Contact:

Post by Cadaver »

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 ] --
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

.......
Last edited by simo on Mon Sep 30, 2019 1:42 pm, edited 1 time in total.
User avatar
Arnold_X-P
Master
Posts: 226
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Post by Arnold_X-P »

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

Code: Select all


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
   }
  }
}
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

..........
Last edited by simo on Mon Sep 30, 2019 1:42 pm, edited 1 time in total.
s
simo
Revered One
Posts: 1069
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

......
Last edited by simo on Mon Sep 30, 2019 1:43 pm, edited 1 time in total.
C
Cadaver
Voice
Posts: 18
Joined: Tue Dec 04, 2018 12:26 pm
Location: México
Contact:

Post by Cadaver »

Try this:

Code: Select all

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 ] --
Post Reply