Bukz

cout << in cubescript?!?!

Mar 18th, 2011
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. alias cout [
  2.   c_str = []
  3.   if (strstr $arg1 <<) [
  4.     loop cl $numargs [
  5.       if (= $cl 0) [
  6.         c_str = (concatword $c_str $arg2)
  7.       ] [
  8.         c_str = (concat $c_str (getalias (format arg%1 (+ $cl 2))))
  9.       ]
  10.     ]
  11.   ] [
  12.     loop cl $numargs [
  13.       if (= $cl 0) [
  14.         c_str = (concatword $c_str $arg1)
  15.       ] [
  16.         c_str = (concat $c_str (getalias (format arg%1 (+ $cl 1))))
  17.       ]
  18.     ]
  19.   ]
  20.   echo $c_str
  21. ]
  22. // cout << "Hello world!";
Advertisement
Add Comment
Please, Sign In to add comment