Home
About
Download
Register
News
Help
Register
Log In
Forums
Feature Suggestions
More assignment operators
Forums
Active Threads
Search
Who's Online
Help
Print Thread
More assignment operators
#
154206
28/07/06
05:32 PM
Joined:
Sep 2005
Posts: 2,881
H
hixxy
OP
Hoopy frood
OP
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,881
var %x += 10 (var %x = %x + 10)
var %x -= 10 (var %x = %x - 10)
var %x *= 10 (var %x = %x * 10)
var %x /= 10 (var %x = %x / 10)
var %x ^= 10 (var %x = %x ^ 10)
These would preferably also work if you don't use the /var command.
Copy Link to Clipboard
Re: More assignment operators
#
154207
28/07/06
05:51 PM
Joined:
Apr 2004
Posts: 759
Arnhem, The Netherlands
M
Mpdreamz
Hoopy frood
Mpdreamz
Hoopy frood
M
Joined:
Apr 2004
Posts: 759
Arnhem, The Netherlands
totally agreed
in addtion:
var %x = 10
var %x += hello
//echo -a %a = 10hello
would be nice if it concatenated, if either the assigned string or the added string is not numeric.
$maybe
Copy Link to Clipboard
Re: More assignment operators
#
154208
29/07/06
01:02 AM
Joined:
Oct 2005
Posts: 1,741
G
genius_at_work
Hoopy frood
genius_at_work
Hoopy frood
G
Joined:
Oct 2005
Posts: 1,741
I think these would be very useful:
+= add
-= subtract
/= divide
%= modulus
*= multiply
.= concatenate
-genius_at_work
Copy Link to Clipboard
Re: More assignment operators
#
154209
29/07/06
04:03 PM
Joined:
Oct 2003
Posts: 25
Z
Zerg
Ameglian cow
Zerg
Ameglian cow
Z
Joined:
Oct 2003
Posts: 25
picwiners dream.
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
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage