Adduser & chattr Eggdrop?

Paste Your code(s) here, and state your problem.

Adduser & chattr Eggdrop?

Postby Mikkeldk » Sat Sep 05, 2009 9:51 pm

Hello all..

I have big problem and i have forget howto "Adduser & chattr" working fine.

I have tryning:

Code: Select all
[23:48:26] <@Mikkel|Es> !tcl adduser *!*@Shero.users.quakenet.org | chattr Ropaz^ +n


But i will got error!
Code: Select all
[23:48:27] <+EuroServer> error: wrong # args: should be "adduser handle ?hostmask?" - 0.02 ms



I hope you can help me! or tell me howto!
Thanks you for your BIG help!
Mikkeldk
 

Re: Adduser & chattr Eggdrop?

Postby Dandy » Sat Sep 05, 2009 10:01 pm

Look at the error message:

error: wrong # args: should be "adduser handle ?hostmask?"

you forgot the handle.
Dandy
 

Re: Adduser & chattr Eggdrop?

Postby zNigel- » Sat Sep 05, 2009 10:01 pm

This is simple..


!tcl adduser <handle> <host> ; chattr <handle> +flags

Just ignore the <> and it should work.. You have to specify a handle :)
zNigel-
 

Re: Adduser & chattr Eggdrop?

Postby Cristian » Sat Sep 05, 2009 10:02 pm

you should read the error message.

[23:48:27] <+EuroServer> error: wrong # args: should be "adduser handle ?hostmask?" - 0.02 ms


you forgot to add a handle.
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Re: Adduser & chattr Eggdrop?

Postby Lukemob » Sat Sep 05, 2009 10:03 pm

[23:48:26] <@Mikkel|Es> !tcl adduser *!*@Shero.users.quakenet.org | chattr Ropaz^ +n


at first, you miss HANDLE. And one more thing, keep yourself away from using special characters while adding an user handle to bot.

As from what you've told me, I guess your tcl debug is wrong.. you could try pasting it here for us to see.

For add try to use command: !tcl adduser Ropaz *!*@Shero.users.quakenet.org; chattr Ropaz +n
Lukemob
 

Re: Adduser & chattr Eggdrop?

Postby Mikkeldk » Sat Sep 05, 2009 10:04 pm

Dandy wrote:Look at the error message:

error: wrong # args: should be "adduser handle ?hostmask?"

you forgot the handle.


Hmmm..

I have trying fixed this, its DON'T Working.

Looking coded! ->

Code: Select all
[00:01:25] <@Mikkel|Es> !tcl adduser Ropaz^ *!*@Shero.users.quakenet.org | chattr Ropaz^ +n
[00:01:26] <+EuroServer> error: wrong # args: should be "adduser handle ?hostmask?" - 0.282 ms
[00:01:27] <+EuroServer> 12Debug (14trace) 03--> wrong # args: should be "adduser handle ?hostmask?" while executing "adduser Ropaz^ *!*@Shero.users.quakenet.org | chattr Ropaz^ +n" ("eval" body line 1) invoked from within "eval $args"
Mikkeldk
 

Re: Adduser & chattr Eggdrop?

Postby zNigel- » Sat Sep 05, 2009 10:07 pm

Replace the | with ; and it should work :)
zNigel-
 

Re: Adduser & chattr Eggdrop?

Postby Mikkeldk » Sat Sep 05, 2009 10:13 pm

zNigel wrote:Replace the | with ; and it should work :)

Hmmmm...

Its are don't working or i have old debug.tcl..

btw This $botnick "EuroServer" has fighting Q and this $botnick!

Code: Select all
[00:11:02] * Q (+o) Mikkel|Es
[00:11:03] * EuroServer (-o) Mikkel|Es
[00:11:03] * Q (+o) Mikkel|Es
[00:11:06] * EuroServer (-o) Mikkel|Es


Maybe i need fix new debug.tcl?

Thanks you for help!
//Mikkel
Mikkeldk
 

Re: Adduser & chattr Eggdrop?

Postby Lukemob » Sat Sep 05, 2009 10:24 pm

Not by debug.. add yourself the +ao flag.

use: !tcl chattr [nick2hand $nick] +ao
Lukemob
 


Return to TCL Scripting Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron