| View previous topic :: View next topic |
| Author |
Message |
skull Guest
|
Posted: Thu Feb 10, 2022 4:46 pm Post subject: Pinging Server |
|
|
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
|
Posted: Fri Feb 11, 2022 12:04 am Post subject: Re: Pinging Server |
|
|
| 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 |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Feb 11, 2022 12:11 am Post subject: Re: Pinging Server |
|
|
| 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 |
|
 |
|
|
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
|
|