daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /worms {
  2.   var %blah $1-
  3.   var %sdfsdf $len(%blah)
  4.   var %i 2
  5.   var %blah2 $left(%blah,1)
  6.   while (%i <= %sdfsdf) {
  7.     if ($right($left(%blah,%i),1) == $chr(32)) {
  8.       var %blah2 %blah2  
  9.     }
  10.     else {
  11.       var %blah2 %blah2 $+   $+ $right($left(%blah,%i),1)
  12.     }
  13.     inc %i
  14.   }
  15.   %i = 2
  16.   msg $active %blah2
  17.   while (%i <= %sdfsdf) {
  18.     var %blah2 $right($left(%blah,%i),1)
  19.     var %j 0
  20.     while (%j < $calc((2 * %i) - 3)) {
  21.       var %blah2 %blah2 $+  
  22.       inc %j
  23.     }
  24.     var %blah2 %blah2 $+ $right($left(%blah,%i),1)
  25.     msg $active %blah2
  26.     inc %i
  27.   }
  28. }
RAW Paste Data
Top