SReject

Untitled

Dec 28th, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.52 KB | None | 0 0
  1. alias -l lineArt {
  2.   var %pixel = $str($chr(160), 2)
  3.   var %x = 0
  4.   var %tok
  5.   var %cnt
  6.   var %clr
  7.   var %res
  8.   while (%x < $0) {
  9.     inc %x
  10.     %tok = $ [ $+ [ %x ] ]
  11.     %cnt = $gettok(%tok, 1, 58)
  12.     %clr = $gettok(%tok, 2, 58)
  13.     if (: !isin %tok) {
  14.       %res = %res $+ $str(%pixel, %tok)
  15.     }
  16.     else {
  17.       %res = %res $+ $chr(3) $+ 99, $+ %clr $+ $str(%pixel, %cnt) $+ 
  18.     }
  19.   }
  20.   return %res
  21. }
  22.  
  23.  
  24. alias mcSword {
  25.   var %cmd = $iif($1-, $1-, echo -a)
  26.   %cmd $lineArt(3:21)
  27.   %cmd $lineArt(1:21, 1:58, 1:70, 1:21)
  28.   %cmd $lineArt(1:21, 1:70, 1:58, 1:70, 1:21)
  29.   %cmd $lineArt(1, 1:21, 1:70, 1:58, 1:70, 1:21)
  30.   %cmd $lineArt(2, 1:21, 1:70, 1:58, 1:70, 1:21)
  31.   %cmd $lineArt(3, 1:21, 1:70, 1:58, 1:70, 1:21)
  32.   %cmd $lineArt(4, 1:21, 1:70, 1:58, 1:70, 1:21, 3, 2:22)
  33.   %cmd $lineArt(5, 1:21, 1:70, 1:58, 1:70, 1:21, 1, 1:22, 1:34, 1:22)
  34.   %cmd $lineArt(6, 1:21, 1:70, 1:58, 1:70, 1:22, 1:34, 1:22)
  35.   %cmd $lineArt(7, 1:21, 1:70, 1:58, 1:22, 1:34, 1:22)
  36.   %cmd $lineArt(8, 2:22, 1:34, 1:22)
  37.   %cmd $lineArt(7, 1:22, 2:34, 1:22, 1:41, 1:29)
  38.   %cmd $lineArt(6, 1:22, 1:34, 2:22, 1, 1:17, 1:41, 1:29)
  39.   %cmd $lineArt(6, 2:22, 4, 1:17, 1:41, 2:22)
  40.   %cmd $lineArt(13, 1:22, 1:34, 1:22)
  41.   %cmd $lineArt(13, 3:22)
  42. }
  43.  
  44. alias wreath {
  45.   var %cmd = $iif($1-, $1-, echo -a)
  46.   %cmd $lineArt(4, 2:52, 2, 2:52)
  47.   %cmd $lineArt(3, 1:32, 1:52, 1:32, 2:52, 1:32, 1:52, 1:32)
  48.   %cmd $lineArt(2, 3:32, 4:52, 3:32)
  49.   %cmd $lineArt(1, 4:32, 1, 2:52, 1, 4:32)
  50.   %cmd $lineArt(2:32, 1:66, 1:32, 1, 1:52, 2, 1:52, 1, 1:32, 1:66, 2:32)
  51.   %cmd $lineArt(4:32, 6, 4:32)
  52.   %cmd $lineArt(4:32, 6, 4:32)
  53.   %cmd $lineArt(2:32, 1:66, 1:32, 6, 1:32, 1:66, 2:32)
  54.   %cmd $lineArt(4:32, 6, 4:32)
  55.   %cmd $lineArt(1, 4:32, 4, 4:32)
  56.   %cmd $lineArt(2, 1:32, 1:66, 6:32, 1:66, 1:32)
  57.   %cmd $lineArt(3, 3:32, 2:66, 3:32)
  58.   %cmd $lineArt(4, 6:32)
  59. }
  60.  
  61. alias elfpres {
  62.   var %cmd = $iif($1-, $1-, echo -a)
  63.   %cmd $lineart(14, 3:66)
  64.   %cmd $lineart(6, 5:20, 3, 3:66)
  65.   %cmd $lineart(5, 9:20, 1, 1:20)
  66.   %cmd $lineart(4, 12:20)
  67.   %cmd $lineart(4, 12:20)
  68.   %cmd $lineart(3, 1:20, 7:41, 1:77, 1:41, 2:20)
  69.   %cmd $lineart(3, 7:41, 2:77, 1:41)
  70.   %cmd $lineart(3, 5:41, 6:77)
  71.   %cmd $lineart(1:41, 1:52, 1, 3:77, 1:71, 3:77, 1:71, 2:77, 1:41, 1, 1:52, 1:41)
  72.   %cmd $lineart(1:52, 3:41, 4:77, 1:65, 4:77, 1, 2:41, 1:52)
  73.   %cmd $lineart(5, 7:77)
  74.   %cmd $lineart(3, 2:52, 2:77, 1:52, 1:54, 1:52, 1:77, 3:52)
  75.   %cmd $lineart(3, 5:52, 1:54, 5:52)
  76.   %cmd $lineart(3, 11:54)  
  77.   %cmd $lineart(3, 5:52, 1:54, 5:52)
  78.   %cmd $lineart(3, 5:52, 1:54, 5:52)
  79. }
Add Comment
Please, Sign In to add comment