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.

msg

Old posts that have not been replied to for several years.
Locked
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

msg

Post by spock »

im making a script which will msg something like this when triggered:

###########
# hello #
###########

now the problem is, if i for example
set hashes "###########"
set hello "# hello #"
and

putmsg $nick $hashes
putmsg $nick $hello
putmsg $nick $hashes

then it will only msg

######
# hello #

same result with the other put* commands.
also same result if i make a 'hashes2'
which contains the exact same as 'hashes'.

so i guess it wont send the same [censored] more than once.
is there a way to "force" it?

oh and another thing, why isnt putmsg mentioned in tcl-commands.doc ?
the usage is so much simpler than i.e. putserv

are there other commands not mentioned?

oh thats all for this time stay tuned for my signature:
photon?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

OK - Too answer both the questions.

First, eggdrop uses a system, to prevent flooding of IRC servers, and to consrve bandwidth, by not sending messages, that are simply repeated. This functionality can be disabled in the config file. You will need to be working with eggdrop.complete.conf, or simply eggdrop.conf (1.6.13 up).

As for the simplicity of commands. These are commands are not directly provided by eggdrop. Putserv, puthelp and so on are built into modules, and are the current standard for eggdrop, putmsg and so on, are old/campatibility commands, that can be used, so long as a script that provides them is loaded.

Alltools.tcl, which is provided in the scripts directory provides this functionality and much more, like putnotc. The only decumentation for these commands, is at the top of this script, and should be more that suficient.

For this to work correctly, it may well be worth, only enabling the help queue to allow repeated messages, then making sure that the putmsg command uses the puthelp queue. This will allow most bandwidth saving features to remain.
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

ah life is good and so is ppslim.
worked like a charm.
photon?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

he is full of charms :)
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I'm like a little irish pixxy.

Full of beer, and telling you to BURN YOUR HOUSE DOWN
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

And you expect us to do so? Keep dreaming :P

LoL
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Ralph in the Simpsons did :P
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

And are you proud of your actions? :)
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Proud? No.

Pleased? Ask the beer
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Hehe. I bet you have a barrel of beer next to you :) If you don't have one.. then.. I shall send you one free by DCC on irc .. LoL
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

EEK, not more of that non-alcoholic stuff
Locked