| View previous topic :: View next topic |
| Author |
Message |
silx Voice
Joined: 04 Feb 2006 Posts: 13
|
Posted: Sat Feb 11, 2006 11:54 pm Post subject: msg change nickname command |
|
|
anyone know hot to make a message change nickname script?
so it writes to file-egg.conf in the ' set nick "$newnick-here" '
so on a message command
command changenick <botpass> newnick
that way the new nickname is permanent and will not change on reboot
plz help. been tryin this to get working for a while |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Feb 12, 2006 1:21 am Post subject: |
|
|
Any script attempting to do that would first have to read in the conf file, locate the variable, alter it accordingly and then re-save the configuration file and then rehash the bot for it to tke effect.
Have you tried doing it via the command console?
| Code: | | .tcl set nick \"Lamestbot\" |
See if that works. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
silx Voice
Joined: 04 Feb 2006 Posts: 13
|
Posted: Sun Feb 12, 2006 1:47 am Post subject: |
|
|
| thanks. but i need something that uses the message command |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Feb 12, 2006 11:06 am Post subject: |
|
|
Why don't you just edit the .conf file and rehash? it's not like everyday you're going to change the bot's nickname. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
silx Voice
Joined: 04 Feb 2006 Posts: 13
|
Posted: Mon Feb 13, 2006 9:05 pm Post subject: |
|
|
| i want a script to do this |
|
| Back to top |
|
 |
|