this is just a small question but how do u add x number of items for a number::
example
if %g = 5 then write 100000
In your example, what do you want to write? Where?
-genius_at_work
write where and to what?
if %g == 5 { command }
i want to write a x number of zeros behind a 1 for the number of decimal places(its an identifier)
Use exponents, as in the example above.
-genius_at_work
Jaytea already gave the answer I think...
//var %g = 5, %x = 1 | echo -a $+(%x,$str(0,%g))
Returns: 100000
Take a look at: /help $str
i know $str, just forgot it lol. does anyone know why its $str and not $rep or something lol
Because you're adding a $string of characters. As far as why you don't consider it repeating the characters, I don't really know... Khaled had to pick one and he chose $str.
i knw it ment string but i dont know how that is better than $ran or something lol
lol, nothing i typed that wrong i ment $rep and im just saying that it should be called that then $str
Too late to change it, so just accept it as-is. Besides, I think other languages use similar.