Bukz

autoscreenshot script

Apr 8th, 2011
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.60 KB | None | 0 0
  1. autoscreenshot = [
  2.   if (> $numargs 0) [
  3.     if (&& (>= $arg1 0) (<= $arg1 2)) [
  4.       auto_ss = $arg1
  5.     ] [ echo (c 3)Error: (c 5) autoscreenshot has a valid range of 0 - 2. ]
  6.   ]
  7. ]
  8.  
  9. if (! (checkalias start_intermission)) [ start_intermission = "" ]
  10. if (! (strstr $start_intermission auto_ss)) [
  11.   add2alias start_intermission [
  12.     if $auto_ss [
  13.       if (= $auto_ss 1) [
  14.         if (&& (! (watchingdemo)) (|| $connected (curmodeattr bot))) [ screenshot ]
  15.       ] [
  16.         if (= $auto_ss 2) [
  17.           if (&& (! (watchingdemo)) $connected) [ screenshot ]
  18.         ]
  19.       ]
  20.     ]
  21.   ]
  22. ]
Advertisement
Add Comment
Please, Sign In to add comment