| View previous topic :: View next topic |
| Author |
Message |
Listing Voice
Joined: 06 Jul 2013 Posts: 3
|
Posted: Sat Jul 06, 2013 11:18 am Post subject: Change the command prefix |
|
|
Unfortunately a custom irc server I want to operate the bot on blocks all messages that start with a ".".
Is it possible to change it into, let's say "!", without modifying the sourcecode?
Thanks in advance. |
|
| Back to top |
|
 |
Madalin Master

Joined: 24 Jun 2005 Posts: 310 Location: Constanta, Romania
|
Posted: Sat Jul 06, 2013 11:24 am Post subject: |
|
|
Yes it is possible but we need to see the code (script) in order to modify into the new trigger. _________________ https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL
Last edited by Madalin on Sat Jul 06, 2013 12:31 pm; edited 1 time in total |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Jul 06, 2013 11:53 am Post subject: Re: Change the command prefix |
|
|
| Listing wrote: | Unfortunately a custom irc server I want to operate the bot on blocks all messages that start with a ".".
Is it possible to change it into, let's say "!", without modifying the sourcecode?
Thanks in advance. |
"sourcecode" implies the source that you compiled, to make your Eggdrop bot.
The first comment, about the irc server, implies messages that go through that server - public posts in channels, and querys (often called PM).
Commands that start with "." implies partyline commands.
When you log in to the partyline, you are using DCC chat. (or telnet)
DCC chat is not going through the irc server.
Thus, if you are asking about commands that you use in the partyline, the leading "." won't be affected by the irc server.
Have you tried it? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Jul 06, 2013 12:06 pm Post subject: |
|
|
Adding to willyw's comment,
Native eggdrop commands are only sent over private messages (PM's) and dcc chat. PM-commands do not have any command prefix, and the list of commands is rather short (PASS, IDENT, ADDHOST, OP, VOICE, a few more).
First question; are we talking of a script adding new commands to your eggdrop? (if yes, which scripts?) _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Listing Voice
Joined: 06 Jul 2013 Posts: 3
|
Posted: Sat Jul 06, 2013 1:02 pm Post subject: |
|
|
Thank you for your help. The problem is that JTV blocks commands preceeded by a "." and also disallows dcc-chat and private messages. I guess this is a helpless case then  |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Jul 06, 2013 1:04 pm Post subject: |
|
|
If you can't use either dcc-chat or private messages, then what commands are you talking about?
If you are talking of some public channel commands, what script(s) are you using to provide these? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Jul 06, 2013 1:16 pm Post subject: |
|
|
| Listing wrote: | ...
I guess this is a helpless case then
|
Have you tried to telnet to your bot, and log in that way? |
|
| Back to top |
|
 |
Listing Voice
Joined: 06 Jul 2013 Posts: 3
|
Posted: Sat Jul 06, 2013 6:05 pm Post subject: |
|
|
| Yea that works, thank you. |
|
| Back to top |
|
 |
|