Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
small question
Forums
Active Threads
Search
Who's Online
Help
Print Thread
small question
#
192636
06/01/08
04:56 PM
Joined:
Aug 2007
Posts: 334
Silicon Valley
foshizzle
OP
Pan-dimensional mouse
OP
foshizzle
Pan-dimensional mouse
Joined:
Aug 2007
Posts: 334
Silicon Valley
this is just a small question but how do u add x number of items for a number::
example
if %g = 5 then write 1
00000
This is not the signature you are looking for
Copy Link to Clipboard
Re: small question
foshizzle
#
192637
06/01/08
05:02 PM
Joined:
Oct 2005
Posts: 1,741
G
genius_at_work
Hoopy frood
genius_at_work
Hoopy frood
G
Joined:
Oct 2005
Posts: 1,741
In your example, what do you want to write? Where?
-genius_at_work
Copy Link to Clipboard
Re: small question
foshizzle
#
192638
06/01/08
05:03 PM
Joined:
Feb 2003
Posts: 3,432
Sweden/Borlänge
S
sparta
Hoopy frood
sparta
Hoopy frood
S
Joined:
Feb 2003
Posts: 3,432
Sweden/Borlänge
write where and to what?
if %g == 5 { command }
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Copy Link to Clipboard
Re: small question
foshizzle
#
192639
06/01/08
05:03 PM
Joined:
Feb 2006
Posts: 546
J
jaytea
Fjord artisan
jaytea
Fjord artisan
J
Joined:
Feb 2006
Posts: 546
$str(0,%g) ? or perhaps
Code:
//var %g = 5, %x = 10 ^ %g | echo -a %x
"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde
Copy Link to Clipboard
Re: small question
genius_at_work
#
192640
06/01/08
05:04 PM
Joined:
Aug 2007
Posts: 334
Silicon Valley
foshizzle
OP
Pan-dimensional mouse
OP
foshizzle
Pan-dimensional mouse
Joined:
Aug 2007
Posts: 334
Silicon Valley
i want to write a x number of zeros behind a 1 for the number of decimal places(its an identifier)
This is not the signature you are looking for
Copy Link to Clipboard
Re: small question
foshizzle
#
192644
06/01/08
05:47 PM
Joined:
Oct 2005
Posts: 1,741
G
genius_at_work
Hoopy frood
genius_at_work
Hoopy frood
G
Joined:
Oct 2005
Posts: 1,741
Use exponents, as in the example above.
Code:
//echo -a $calc(10 ^ %g)
-genius_at_work
Copy Link to Clipboard
Re: small question
foshizzle
#
192645
06/01/08
05:51 PM
Joined:
Apr 2006
Posts: 464
Amsterdam, NL
O
OrionsBelt
Fjord artisan
OrionsBelt
Fjord artisan
O
Joined:
Apr 2006
Posts: 464
Amsterdam, NL
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
Copy Link to Clipboard
Re: small question
OrionsBelt
#
192657
06/01/08
09:10 PM
Joined:
Aug 2007
Posts: 334
Silicon Valley
foshizzle
OP
Pan-dimensional mouse
OP
foshizzle
Pan-dimensional mouse
Joined:
Aug 2007
Posts: 334
Silicon Valley
i know $str, just forgot it lol. does anyone know why its $str and not $rep or something lol
This is not the signature you are looking for
Copy Link to Clipboard
Re: small question
foshizzle
#
192658
06/01/08
09:13 PM
Joined:
Oct 2004
Posts: 8,330
MA, USA
Riamus2
Hoopy frood
Riamus2
Hoopy frood
Joined:
Oct 2004
Posts: 8,330
MA, USA
Because you're adding a
$str
ing 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.
Invision Support
#Invision on irc.irchighway.net
Copy Link to Clipboard
Re: small question
Riamus2
#
192661
06/01/08
09:19 PM
Joined:
Aug 2007
Posts: 334
Silicon Valley
foshizzle
OP
Pan-dimensional mouse
OP
foshizzle
Pan-dimensional mouse
Joined:
Aug 2007
Posts: 334
Silicon Valley
i knw it ment string but i dont know how that is better than $ran or something lol
This is not the signature you are looking for
Copy Link to Clipboard
Re: small question
foshizzle
#
192663
06/01/08
09:41 PM
Joined:
Sep 2005
Posts: 2,881
H
hixxy
Hoopy frood
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,881
What is $ran?
Copy Link to Clipboard
Re: small question
hixxy
#
192664
06/01/08
09:51 PM
Joined:
Aug 2007
Posts: 334
Silicon Valley
foshizzle
OP
Pan-dimensional mouse
OP
foshizzle
Pan-dimensional mouse
Joined:
Aug 2007
Posts: 334
Silicon Valley
lol, nothing i typed that wrong i ment $rep and im just saying that it should be called that then $str
This is not the signature you are looking for
Copy Link to Clipboard
Re: small question
foshizzle
#
192667
07/01/08
12:16 AM
Joined:
Oct 2004
Posts: 8,330
MA, USA
Riamus2
Hoopy frood
Riamus2
Hoopy frood
Joined:
Oct 2004
Posts: 8,330
MA, USA
Too late to change it, so just accept it as-is. Besides, I think other languages use similar.
Invision Support
#Invision on irc.irchighway.net
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage