Hi Tomao.

Could you please tell me where exactly should I put those code lines? I tried this: Opened mIRC in which I run my trivia bot, opened script editor (aliases.ini), pasted this line:

Quote:
//echo $utfencode(АаБбВвГгДдЂђЕеЖжЗзИиЈјКкЛлЉљМмНнЊњОоПпРрСсТтЋћУуФфХхЦцЧчЏџШш)

in the bottom of the document (right below the lines that were added to the code by its creator to allow CP1251 characters). Then I switched to Remote tab, created new script.ini and pasted inside your second code:

Code:
on *:TEXT:*:#: {
  if (<EncodedResultHere> isin $1-) {
    msg $chan $nick says $v1
  }
}

I tried to leave <EncodedResultsHere>, I tried to replace it with: &#1040;&#1072;&#1041;&#1073;&#1042;&#1074;&#1043;&#1075;&#1044;&#1076;&#1026;&#1106;&#1045;&#1077;&#1046;&#1078;&#1047;&#1079;&#1048;&#1080;&#1032;&#1112;&#1050;&#1082;&#1051;&#1083;&#1033;&#1113;&#1052;&#1084;&#1053;&#1085;&#1034;&#1114;&#1054;&#1086;&#1055;&#1087;&#1056;&#1088;&#1057;&#1089;&#1058;&#1090;&#1035;&#1115;&#1059;&#1091;&#1060;&#1092;&#1061;&#1093;&#1062;&#1094;&#1063;&#1095;&#1039;&#1119;&#1064;&#1096; and finaly tried replacing it with <&#1040;&#1072;&#1041;&#1073;&#1042;&#1074;&#1043;&#1075;&#1044;&#1076;&#1026;&#1106;&#1045;&#1077;&#1046;&#1078;&#1047;&#1079;&#1048;&#1080;&#1032;&#1112;&#1050;&#1082;&#1051;&#1083;&#1033;&#1113;&#1052;&#1084;&#1053;&#1085;&#1034;&#1114;&#1054;&#1086;&#1055;&#1087;&#1056;&#1088;&#1057;&#1089;&#1058;&#1090;&#1035;&#1115;&#1059;&#1091;&#1060;&#1092;&#1061;&#1093;&#1062;&#1094;&#1063;&#1095;&#1039;&#1119;&#1064;&#1096;> but nothing worked frown I get this message in my status window:

Quote:
&#1040;&#1072;&#1041;&#1073;&#1042;&#1074;&#1043;&#1075;&#1044;&#1076;&#1026;&#1106;&#1045;&#1077;&#1046;&#1078;&#1047;&#1079;&#1048;&#1080;&#1032;&#1112;&#1050;&#1082;&#1051;&#1083;&#1033;&#1113;&#1052;&#1084;&#1053;&#1085;&#1034;&#1114;&#1054;&#1086;&#1055;&#1087;&#1056;&#1088;&#1057;&#1089;&#1058;&#1090;&#1035;&#1115;&#1059;&#1091;&#1060;&#1092;&#1061;&#1093;&#1062;&#1094;&#1063;&#1095;&#1039;&#1119;&#1064;&#1096; Unknown command

Or of course, respective substitute for the changed values.

What am I doing wrong? frown

Last edited by Tomica; 29/01/09 12:19 AM.