Renegade Projects Network Forums
Slight changes in custom MyCode - Printable Version

+- Renegade Projects Network Forums (https://forums.renegadeprojects.com)
+-- Forum: General Forums (https://forums.renegadeprojects.com/forumdisplay.php?fid=1)
+--- Forum: Propaganda Tower (https://forums.renegadeprojects.com/forumdisplay.php?fid=9)
+--- Thread: Slight changes in custom MyCode (/showthread.php?tid=937)



Slight changes in custom MyCode - Renegade - 14.01.2008

I saw D trying to link to a project on the bughouse, and since the way that is done is kinda counterintuitive, I created a custom mycode snippet to do it - [ project ]
Syntax is [ project=ProjectNumber ]Link text[ /project ]. So [ project=6 ]RockPatch2[ /project ] would create RockPatch2, linking to RP on the bugtracker.

I also changed the [ modenc ] code to work like the others ([ modenc=PageName ]Link text[ /modenc ]), instead of its previous, more limited format.

An overview of all custom codes is here.


RE: Slight changes in custom MyCode - DCoder - 22.01.2008

Corrected [ modenc ] code - Ren's regexp was faulty.
modenc=(\d+) my ass.