Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
$mid(%string, %num, %var + 1) question
Forums
Active Threads
Search
Who's Online
Help
Print Thread
$mid(%string, %num, %var + 1) question
#
72875
27/02/04
01:30 AM
M
milosh
milosh
M
Good evening! I guess that I don't know the right way to use it :
why can't I use this /echo -s $mid(%string, %num, %var + 1)
but have to use this %nvar = %var + 1 | /echo -s $mid(%string, %num, %nvar)
thanx!
Copy Link to Clipboard
Re: $mid(%string, %num, %var + 1) question
#
72876
27/02/04
01:47 AM
Joined:
Jan 2003
Posts: 2,125
Q
qwerty
Hoopy frood
qwerty
Hoopy frood
Q
Joined:
Jan 2003
Posts: 2,125
The only two places where you can perform math functions are variable setting and $calc(). The latter is usually the most practical way to do what you want: $mid(%string,%num,
$calc(%var + 1)
)
Copy Link to Clipboard
Re: $mid(%string, %num, %var + 1) question
#
72877
27/02/04
02:10 AM
M
milosh
milosh
M
Thanx, man! You helped me a lot, I hate to write unnesesary codes.
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
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage