Code: Select all
##
#
# Requirements:
#
# 1) Eggdrop1.1.5-Eggdrop1.6.x
# 2) egghttp.tcl v1.0.0 or higher (loaded before this script,
# can be downloaded from www.TCLScript.com)
#
##
#
# Installation:
#
# Place script in your scripts directory
# Edit the Configuration options below
# Add the line: source scripts/googlescore.tcl to your eggdrop config
# (after the source line containing egghttp.tcl)
# Done.
#
##
Code: Select all
tag when posting logs, code
Code: Select all
tag when posting logs, code
Code: Select all
tag when posting logs, code
Code: Select all
foreach line [split $buffer \n] {
if {[string match "*Results*of about*.*" $line]} {
regexp {of about <b>([^<]*)</b>} $line garb score
break
}
}
Code: Select all
foreach line [split $buffer \n] {
if {[string match "*Results*of about*.*" $line]} {
regexp {of about <b>(.*?)</b>} $line garb score
break
}
if {[string match "*Results*of*.*" $line]} {
regexp {of <b>(.*?)</b>} $line garb score
break
}
}