well im trying :) but not good with this kinda thingie :( foreach {a b} [split [set vs][set vs ""] "- "] { lappend vs [expr {$a>$b?"\00303":($a==$b?"\00312":"\00304")}]$a-$b if { $a>$b } { [incr win 1] } if { $a==$b } { [incr draw 1] } if { $a<$b } {...
well how can i make the script add wins losses and draws ? i tried this but didnt get it to work :( set win "0" set draw "0" set lose "0" foreach {a b} [split [set vs][set vs ""] "- "] { lappend vs [expr {$a>$b?"[incr lose 1]":($a==$b?"...
i want to put colors to my scores like if 1-0 then green if 0-1 red and 1-1 blue proc cws {nick uhost hand chan arg} { if { [isop $nick $chan] } { global dbhost dbuser dbpass dbname mycpage matchtab mytag pchan if {$arg == ""} { putnotc $nick "\[\2cw's\2\] syntax: !cws clantag";r...
got little problemn i have this script that says anything that someone says to my bot in private to my privatechannel. the problem is that i dont want the bot say !add and !remove in my private chanel, how do i make the if {[lindex $line 0] != "!add" "!remove" } - line so that i ...
hello guys again =) im currently working on a matchfindbot-script but i cannot figure how to make a spam protection to it, i also need somekinda timer to delete 1 line from the database. script works like this when u type !cw 3 now on the bot will msg [ RQ3 CW ] #channel is looking for 3vs3 @ now - ...
hi i was just wondering how can i change this script for eggdrop menu channel { .start monitor : servermonitor $$?="Enter a server ip:" $$?="Enter the server port: (default 27910)" $$?="Enter name of Team 1: (one word)" $$?="Enter name of Team 2: (one word)" ....