| View previous topic :: View next topic |
| Author |
Message |
John_Maclain Voice
Joined: 07 Apr 2006 Posts: 23 Location: England
|
Posted: Tue Nov 21, 2006 4:25 am Post subject: tcl commands available - help req |
|
|
Hi there, i have an eggdrop running stats.mod
in the readme it says the following:
| Quote: | TCL commands:
-------------
incrstats <user> <chan> <type> <value> [set]
increases the statistics of type <type> in <chan> for <user> by <value>.
If <set> is 1, the stats are not increased but set to the value.
getstats <user> <chan> <type> [today]
returns the stats of <user> in <chan> of type <type>. If <today> is 1,
the statistics of today are returned.
|
All i want to know is how you execute a tcl command?
like i want to increase a users stats, but i cant figure it out!!
TIA! _________________ http://www.morphies.net |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Nov 21, 2006 4:49 am Post subject: |
|
|
| Code: | | .incrstats <user> <chan> <type> <value> [set] |
Executed from the party line (DCC Chat). _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Nov 21, 2006 6:22 am Post subject: |
|
|
Is it a DCC command or TCL command? If TCL, then
| Quote: | | .tcl incrstats <user> <chan> <type> <value> [set] |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
John_Maclain Voice
Joined: 07 Apr 2006 Posts: 23 Location: England
|
Posted: Tue Nov 21, 2006 1:50 pm Post subject: |
|
|
it's a tcl command, thats why .incrstats wasnt working
many thanks  _________________ http://www.morphies.net |
|
| Back to top |
|
 |
John_Maclain Voice
Joined: 07 Apr 2006 Posts: 23 Location: England
|
Posted: Tue Nov 21, 2006 3:31 pm Post subject: |
|
|
| Quote: | TCL commands:
-------------
incrstats <user> <chan> <type> <value> [set]
increases the statistics of type <type> in <chan> for <user> by <value>.
If <set> is 1, the stats are not increased but set to the value.
getstats <user> <chan> <type> [today]
returns the stats of <user> in <chan> of type <type>. If <today> is 1,
the statistics of today are returned. |
thats what's in the readme file,
so i carry on with this in the parrtyline:
| Quote: | [19:05] <John_Maclain> .tcl incrstats Wraith #morpheus words 90000
[19:05] <MorphBot> What? You need '.help' |
Any clues? _________________ http://www.morphies.net |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Nov 21, 2006 5:38 pm Post subject: |
|
|
eggdrop.conf:
| Quote: | # Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
John_Maclain Voice
Joined: 07 Apr 2006 Posts: 23 Location: England
|
Posted: Tue Nov 21, 2006 6:44 pm Post subject: |
|
|
I commented those lines outta the config file, did a .rehash and tried the command again, still get say what? you need help.
did a .restart
Bot reloaded, reconnected and still get the same response from the bot.
| Quote: | [22:43] <John_Maclain> .tcl incrstats Wraith #morpheus words 90000
[22:43] <MorphBot> What? You need '.help' |
puzzled  _________________ http://www.morphies.net |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Nov 21, 2006 8:28 pm Post subject: |
|
|
You should be permanent owner to use these commands
| Quote: | # Un-comment the next line and set the list of owners of the bot.
# You NEED to change this setting.
set owner "Opposing" |
Opposing is my handle on the bot and not my nickname.
Another setting you can look into is
| Quote: | # If you enable this setting, only permanent owners (owner setting) will be
# able to use .tcl and .set. Moreover, if you want only let permanent owners
# use .dump, then set this to 2.
set must-be-owner 1 |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
John_Maclain Voice
Joined: 07 Apr 2006 Posts: 23 Location: England
|
Posted: Wed Nov 22, 2006 1:51 pm Post subject: |
|
|
That soved it.
he's listening to me again
thanks you!  _________________ http://www.morphies.net |
|
| Back to top |
|
 |
|