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 for those learning Tcl or writing their own scripts.
-
CrazyCat
- Revered One
- Posts: 1305
- Joined: Sun Jan 13, 2002 8:00 pm
- Location: France
-
Contact:
Post
by CrazyCat »
flink wrote:good Crazy Cat thanks for contributing ideas I removed pub and it still doesn't work !direct
As I said, you must also change the proc:
Code: Select all
if {($wd eq "pub") || ($::radio::cursong ne $title)} {
must become:
Code: Select all
if {($wd == 0) || ($::radio::cursong ne $title)} {
-
SpiKe^^
- Owner
- Posts: 831
- Joined: Fri May 12, 2006 10:20 pm
- Location: Tennessee, USA
-
Contact:
Post
by SpiKe^^ »
lol, that's simply not true:)
Code: Select all
Must be:
Code:
::radio::getstream 0 0 0 0 0
The called process doesn't care what the arguments contain!
I edited my earlier post to hopefully fix that "wrong number of args" error...
-
CrazyCat
- Revered One
- Posts: 1305
- Joined: Sun Jan 13, 2002 8:00 pm
- Location: France
-
Contact:
Post
by CrazyCat »
Ok, I was quite surprised that tcl checks the type of the arguments... I know understand
-
flink
- Halfop
- Posts: 83
- Joined: Sun Feb 21, 2021 9:27 am
- Location: Canarias
Post
by flink »
sorry for not responding before doing what you comment
crazy cat
works perfectly
Thanks a lot
SpiKe^^ & Crazy Cat
Mi ingles: no es el mejor, Manda el traductor...