View Full Version : [Filled] extra feature for ioB if possible...
Bygone
07-01-2004, 12:31 PM
great work on the betas of iob...i miss one feature, if possible...
i know its forbidden ;) to talk about the old and lost raiden, but the bot script for raiden had a feature within given time specs to do a bw in channel...
would be nice to have added to tcl if possible the option to turn bw announce on/off and in what time specs it should be announced like every 15min or 30min or 60min...
would be nice...
moin,
you can write it by your self its very easy to code..
cya
Bygone
07-02-2004, 09:30 AM
if its that easy why dont u put the code in here for Harm to incorporate into ioB ;) ... i dont know about coding...which is the reason i suggest it.
You can try something like:
bind time - "00,30 * * * *" ioB:bwalias $botnick [lindex [split $botname !] 1] ${botnet-nick} $ioBvar(announcechannel) ""
Note: proc names are based on ioBanana v20pre3
MidasKing
07-03-2004, 09:00 PM
Hummm!!! Very interesting!!!!
And, now, that a such more little help? :rolleyes:
Where and as to place this code in ioBanana.tcl???
I placed before the first bind (BINDS section) and gave the following error:
wrong # args: should be "bind type flags cmd/mask ?procname?"
Yes, yes!!! I'm total blind in tcl!!! :confused: :banana:
.
neoxed
07-04-2004, 03:35 PM
Try this:
bind time - "00,30 * * * *" [list ioB:bwalias $botnick [lindex [split $botname !] 1] ${botnet-nick} $ioBvar(announcechannel) ""]
Just use list when you need to pass arguments to binds, timers, etc. ;)
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.