Code: Select all
[12:41pm] <+user1> !addpre Pointstone.System.Cleaner.v7.7.32.720-LAXiTY 0DAY
[12:41pm] <+user2> !addpre Pointstone.System.Cleaner.v7.7.32.720-LAXiTY 0DAY
[12:41pm] <+master> [Pointstone.System.Cleaner.v7.7.32.720-LAXiTY > Already added via ADDOLD]
[12:41pm] <+master> [Pointstone.System.Cleaner.v7.7.32.720-LAXiTY > Already added via ADDOLD]
Code: Select all
set result [mysqlsel $db_handle "SELECT `release` FROM `from` WHERE `release` = '$rlsname' AND `type` = '$type'"]
set result2 [mysqlsel $db_handle "SELECT `release` FROM `from` WHERE `release` = '$rlsname' AND `type` = 'SITEPRE'"]
set result3 [mysqlsel $db_handle "SELECT `release` FROM `from` WHERE `release` = '$rlsname' AND `type` = 'ADDOLD'"]
if { $result2 == "1" } {
putnow "PRIVMSG $chan : $bopen\002\00314$rlsname\003\002 > \00309Already added via SiTEPRE\003$bclose"
} else {
if { $result3 == "1" } {
putnow "PRIVMSG $chan : $bopen\002\00314$rlsname\003\002 > \00309Already added via ADDOLD\003$bclose"
many thanks in advance