Advertisement
ijontichy

<stdin>

Jun 9th, 2014
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. script 473 (int count, int high, int low)
  2. {
  3. int ret = 0;
  4. int i;
  5. if (!low) { low = -high; }
  6.  
  7. for (i = 0; i < count; i++) { ret += random(low, high); }
  8. SetResultValue(ret);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement