Commit 193bb469245d532448420c55321b9f8bdd475a40

Corrected markers to use shlrm.org instead of www.aliboom.com
src/m.mod
(6 / 6)
  
3535
3636PROCEDURE MentionContext(parse: Message.Parse);
3737CONST
38 lf = "/home/terry/.xchat2/xchatlogs/freenode-";
38 lf = "/home/terry/.xchat2/xchatlogs/freenode-"; (* Change this *)
3939 lmfile = "/home/terry/p6dat/tmp/lastmentioned-context";
4040 cfile = "/home/terry/p6dat/tmp/lastcontext";
4141 debugging = TRUE;
7878 Message.PrintLine(Message.homechan, debugstr);
7979 END;
8080
81 command := "grep -m 1 -C 30 'C~' LF~CHAN~.log > /usr/share/httpd/htdocs/context/last-NICK~.txt";
81 command := "grep -m 1 -C 30 'C~' LF~CHAN~.log > /usr/local/www/servers/page6.shlrm.org/pages/context/last-NICK~.txt";
8282 StringParse.Replace(parse.nick, "|", "-");
8383 StringParse.Replace(command, "NICK~", parse.nick);
8484 StringParse.Replace(command, "C~", grepfor);
8989 END;
9090 done := ProgExec.Command(command, exit);
9191
92 string := "Context for line number N~ is available at http://linux.aliboom.com:8000/context/last-NICK~.txt";
92 string := "Context for line number N~ is available at http://page6.shlrm.org/context/last-NICK~.txt";
9393 StringParse.Replace(string, "N~", contextline);
9494 StringParse.Replace(string, "NICK~", parse.nick);
9595 Message.PrintLine(parse.chan, string);
205205 done := ProgExec.Command("cp /home/terry/p6dat/tmp/markers/markers2 /home/terry/.xplanet/markers/sourcemage-original", res);
206206 done := ProgExec.Command("cp /home/terry/p6dat/tmp/markers/markers2 /home/terry/.xplanet/markers/sourcemage-original", res);
207207 done := ProgExec.Command("cp /home/terry/p6dat/tmp/markers/markers2 /home/terry/.xplanet/markers/sourcemage", res);
208 done := ProgExec.Command("cp /home/terry/p6dat/tmp/markers/markers /usr/share/httpd/htdocs/markers/sourcemage", res);
209 done := ProgExec.Command("cp /home/terry/p6dat/tmp/markers/markers2 /usr/share/httpd/htdocs/markers/sourcemage-transformed", res);
208 done := ProgExec.Command("cp /home/terry/p6dat/tmp/markers/markers /usr/local/www/servers/page6.shlrm.org/pages/markers/sourcemage.txt", res);
209 done := ProgExec.Command("cp /home/terry/p6dat/tmp/markers/markers2 /usr/local/www/servers/page6.shlrm.org/pages/markers/sourcemage-transformed.txt", res);
210210
211211
212212
231231 Message.PrintLine(parse.chan, "Stand by please...");
232232 MarkersUpdate;
233233 Message.PrintLine(parse.chan, "I just scraped the most recent markers from http://wiki.sourcemage.org/XplanetMarkers");
234 Message.PrintLine(parse.chan, "The basic version is at: http://linux.aliboom.com:8000/markers/sourcemage - sed transformed (nicks only, and colored): http://linux.aliboom.com:8000/markers/sourcemage-transformed");
234 Message.PrintLine(parse.chan, "The basic version is at: http://page6.shlrm.org/markers/sourcemage.txt - sed transformed (nicks only, and colored): http://page6.shlrm.org/markers/sourcemage-transformed.txt");
235235END Markers;
236236
237237