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 

Pinging Server

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
skull
Guest





PostPosted: Thu Feb 10, 2022 4:46 pm    Post subject: Pinging Server Reply with quote

Hi,
I want to ping IRC server every n minutes and I found a script which does that..
Just wanted to make sure this is what I want:

Code:
putquick "PRIVMSG $botnick :RAW -q PING $server"

Thanks
Back to top
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Feb 11, 2022 12:04 am    Post subject: Re: Pinging Server Reply with quote

skull wrote:
Hi,
I want to ping IRC server every n minutes and I found a script which does that..
Just wanted to make sure this is what I want:

Code:
putquick "PRIVMSG $botnick :RAW -q PING $server"

Thanks


I don't think so.

Perhaps I don't understand just what it is that you need to do, and why.

Can you demonstrate? That is: can you do what you want, with your irc client?
If so, show us here what it is that you have it do.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Feb 11, 2022 12:11 am    Post subject: Re: Pinging Server Reply with quote

skull wrote:

Just wanted to make sure this is what I want:

Code:
putquick "PRIVMSG $botnick :RAW -q PING $server"



Another thought:

For simple one-liners like that, there is a quick and easy way to test.
If you have enabled the use of the .tcl command for your (owner's) use in the partyline, then you could do:
Code:

.tcl putquick "PRIVMSG $botnick :RAW -q PING $server"

and see what happens.

If you need to see more, (and again if you have enabled it's use - this time, it is raw logging - see ' set raw-log ' in eggdrop.conf ), do: .console +rv
Those two flags let you see raw inbound and outbound respectively.
( You can read about what all the console flags do with .help console )

I hope this helps.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
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