Code: Select all
Π:α:ν:α:θ:η:ν:α:ϊ:κ:ή: Σ:υ:γ:κ:έ:ν:&
thnx
Code: Select all
Π:α:ν:α:θ:η:ν:α:ϊ:κ:ή: Σ:υ:γ:κ:έ:ν:&
Code: Select all
set smaps {
" ' ' \x27 & \x26 < \x3C > \x3E \x20
¡ \xA1 ¤ \xA4 ¢ \xA2 £ \xA3 ¥ \xA5 ¦ \xA6
§ \xA7 ¨ \xA8 © \xA9 ª \xAA « \xAB ¬ \xAC
\xAD ® \xAE ¯ \xAF ° \xB0 ± \xB1 ² \xB2
}
set defins [string map -nocase $::smaps $input]
Code: Select all
listen 33335 script vbannounce
proc vbannounce {idx} {
control $idx vbincoming
}
proc vbincoming {idx args} {
putlog "$args <-- this is what the board sent to the bot"
set line [join $args]
if {[join $args] != "" } {
set chan [lindex $line 0]
set line [lrange $line 1 end]
set line [join $line]
set line [split $line ";"]
foreach line $line { putserv "PRIVMSG $chan :$line" }
}
killdcc $idx
}
putlog "Vb3 announce by ShavedApe v1.1 loaded..."
Code: Select all
listen 33335 script vbannounce
proc vbannounce {idx} {
control $idx vbincoming
}
set smaps {
" ' ' \x27 & \x26 < \x3C > \x3E \x20
¡ \xA1 ¤ \xA4 ¢ \xA2 £ \xA3 ¥ \xA5 ¦ \xA6
§ \xA7 ¨ \xA8 © \xA9 ª \xAA « \xAB ¬ \xAC
\xAD ® \xAE ¯ \xAF ° \xB0 ± \xB1 ² \xB2
}
set defins [string map -nocase $::smaps $input]
proc vbincoming {idx args} {
putlog "$args <-- this is what the board sent to the bot"
set line [join $args]
if {[join $args] != "" } {
set chan [lindex $line 0]
set line [lrange $line 1 end]
set line [join $line]
set line [split $line ";"]
foreach line $line { putserv "PRIVMSG $chan :$line" }
}
killdcc $idx
}
putlog "Vb3 announce by ShavedApe v1.1 loaded..."
Code: Select all
listen 33335 script vbannounce
proc vbannounce {idx} {
control $idx vbincoming
}
set smaps {
" ' ' \x27 & \x26 < \x3C > \x3E \x20
¡ \xA1 ¤ \xA4 ¢ \xA2 £ \xA3 ¥ \xA5 ¦ \xA6
§ \xA7 ¨ \xA8 © \xA9 ª \xAA « \xAB ¬ \xAC
\xAD ® \xAE ¯ \xAF ° \xB0 ± \xB1 ² \xB2
}
proc vbincoming {idx args} {
global smaps
putlog "$args <-- this is what the board sent to the bot"
set line [string map -nocase $smaps [join $args]]
if {[join $args] != "" } {
set chan [lindex $line 0]
set line [lrange $line 1 end]
set line [join $line]
set line [split $line ";"]
foreach line $line {
putserv "PRIVMSG $chan :$line"
}
killdcc $idx
}
}
putlog "Vb3 announce by ShavedApe v1.1 loaded..."
Code: Select all
set line [split [join [lrange $line 1 end]] ;]
Not to detract any from what zircon has said, but altruistically speaking I would suggest one learn the vehicle in which they ride, and how to do minor repairs themselves, ie: flat-tire changing, jumping the battery, etc.Zircon wrote:What s so funny in it ? is there any correlation between the number of posts and the depth in knowlefdge of TCL, i dont think so. I can see here some ppl with thousands of post with limited knowledge in TCL, and you ll see that they never reply to any post related to pure TCL. More than that, they can come with very complicated script that you can write in few lines. So in my opinion, you can be good at TCL only if you think it s worth to learn it seriousely.
From the point of vue of an eggdrop user, you don't need to learn TCL, if the scripts are already availible. And you don't need to learn TCL if it s for askin a little modification in a script, or asking for a little script, that s why the section SCRIPT REQUEST is there. You don't need to know TCL if it is for reporting bugs, that s why the section Script Support & Releases is there. You dont need to know TCL to be active in the section EGGDROP HELP. You need to know TCL only when you want to write your own script, or when you didnt get any help to modify some script. I used to code in TCL for my eggdrop 13 years ago now, i was 17 and it was fun, but i quit the eggdrop scene for a decade. Now i m back for 1 year now, and with all the scripts already availible, i dont find really the need to open back my TCL book, i even dont know if i m still having it or lost it.
So in my opinion, there is no correlation between the number of posts and the depth of knowledge of TCL. And remember that most ppl using eggdrop, have no idea about scripting ou programming, but can still manage efficiently the egg, and make the scripts they use work correctly.
Then you will have to do what the rest of us plebs have to do; make time!ultralord wrote::Smetroid wrote:Over a 100 posts and you still don't how TCL works?
Guys i know something but i havent time to test things and i must have the answers because some scripts isnt for home but for some works etc..
thanks Tosser^^ i am going to test it later because i am at work now.. thanks