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.
Old posts that have not been replied to for several years.
S
Smokefoot
Post
by Smokefoot » Sat Apr 12, 2003 4:04 pm
Hallo ich hab hier nen kleines Script erstellt wo immer eine Random Message nach einer bestimmten Zeit ausgeben soll.... er gibt auch eine Message aus bloss immer die Gleich
Code: Select all
set advertising {
"MSG1"
"MSG2"
"MSG3"
"MSG4"
"MSG5"
}
timer 2 rand_advertising
proc rand_advertising {} {
global advertising
puthelp "PRIVMSG #vnv :[lindex $advertising [rand [llength $advertising]]]"
}
In der Partyline bekomme ich folgende Fehlermessage:
Code: Select all
Tcl error [rand_advertising]: called "rand_advertising" with too many arguments
Jo wo kann der fehler liegen?
Ich bedanke mich für jede Hilfe
Gruß
Smokefoot
S
Smokefoot
Post
by Smokefoot » Sat Apr 12, 2003 5:05 pm
konnte das rpoblem schon lösen.... :] plz close thx