This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

help me get this right please

Old posts that have not been replied to for several years.
Locked
S
ShavdApe
Halfop
Posts: 46
Joined: Mon Dec 15, 2003 5:22 pm

help me get this right please

Post by ShavdApe »

with the following:

proc pub:waron {nick host hand chan arg} {
set war "1"
pub:qstat
}

I recieve this error:

Tcl error [pub:waron]: wrong # args: should be "pub:qstat nick host hand chan arg"

I gotta say im kinda just stumbling through here and cant find anywhere that has decent explanation on how to do this stuff so I learn by trial and error.

[edit]
I think I figured it out for myself but please tell me if this would work.
My shell just died Again!!

proc pub:waron {nick host hand chan arg} {
set war "1"
pub:qstat $nick $host $hand $chan $arg
}
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You figured it out correctly, if any other problems occur then they would be from the pub:qstat proc.

Edit: Wrote pub:waron instead of pub:qstat.
Last edited by Sir_Fz on Sun Jan 11, 2004 12:53 pm, edited 1 time in total.
User avatar
arcane
Master
Posts: 280
Joined: Thu Jan 30, 2003 9:18 am
Location: Germany
Contact:

Re: help me get this right please

Post by arcane »

ShavdApe wrote: I gotta say im kinda just stumbling through here and cant find anywhere that has decent explanation on how to do this stuff so I learn by trial and error.
1. check your eggdrop/doc folder
2. search the forum here for tcl tutorials
aVote page back online!
Check out the most popular voting script for eggdrop bots.

Join the metal tavern!
S
ShavdApe
Halfop
Posts: 46
Joined: Mon Dec 15, 2003 5:22 pm

Post by ShavdApe »

done the first one its crap and not very noob friendly.
User avatar
arcane
Master
Posts: 280
Joined: Thu Jan 30, 2003 9:18 am
Location: Germany
Contact:

Post by arcane »

ShavdApe wrote:done the first one its crap and not very noob friendly.
i don't know what exactly you think of being crap, but at least the tcl-commands.doc would have helped you with your wrong args...
aVote page back online!
Check out the most popular voting script for eggdrop bots.

Join the metal tavern!
S
ShavdApe
Halfop
Posts: 46
Joined: Mon Dec 15, 2003 5:22 pm

Post by ShavdApe »

No it wouldnt if it had I wouldnt be asking for help here :p

Wasnt aimed at offending anyone though so I appologise if I upset you. You seem a little defensive over my comment so I do appologise.
User avatar
arcane
Master
Posts: 280
Joined: Thu Jan 30, 2003 9:18 am
Location: Germany
Contact:

Post by arcane »

ShavdApe wrote:Wasnt aimed at offending anyone though so I appologise if I upset you.
np, you didn't.
aVote page back online!
Check out the most popular voting script for eggdrop bots.

Join the metal tavern!
Locked