View Single Post
  #23  
Old 02-18-2016, 04:40 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Remember, you just want the SQL portion of those lines.

Code:
print get_mysql_result("UPDATE `rule_values` SET `rule_name` = 'Bots:AAExpansion' WHERE `rule_name` LIKE 'Bots:BotAAExpansion';");
would be

Code:
UPDATE `rule_values` SET `rule_name` = 'Bots:AAExpansion' WHERE `rule_name` LIKE 'Bots:BotAAExpansion';

The outer 'wrapper' is the perl script - which doesn't run too well in MySQL
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote