Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
help on Dec stuff
Forums
Active Threads
Search
Who's Online
Help
Print Thread
help on Dec stuff
#
169231
20/01/07
06:23 PM
Joined:
Dec 2006
Posts: 16
S
SithLORD
OP
Pikka bird
OP
SithLORD
Pikka bird
S
Joined:
Dec 2006
Posts: 16
can i do this
dec (%di -1 ) or is wrong
any one help please
Copy Link to Clipboard
Re: help on Dec stuff
SithLORD
#
169232
20/01/07
06:30 PM
Joined:
Apr 2006
Posts: 464
Amsterdam, NL
O
OrionsBelt
Fjord artisan
OrionsBelt
Fjord artisan
O
Joined:
Apr 2006
Posts: 464
Amsterdam, NL
I do think it will work, but if you do:
dec %di
It will automaticly decrease %di with -1.
Copy Link to Clipboard
Re: help on Dec stuff
SithLORD
#
169234
20/01/07
06:48 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
If you decrement by -1, you are actually incrementing by +1.
Code:
alias dtest { var %test = 1 echo -a Test1: %test dec %test -1 echo -a Test2: %test }
-genius_at_work
Copy Link to Clipboard
Re: help on Dec stuff
genius_at_work
#
169247
20/01/07
07:53 PM
Joined:
Jan 2007
Posts: 1,156
Seattle
D
DJ_Sol
Hoopy frood
DJ_Sol
Hoopy frood
D
Joined:
Jan 2007
Posts: 1,156
Seattle
semantics :p he wanted to subtract one!!
/dec %var
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
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
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage