Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Returning how many people are in ignore list
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Returning how many people are in ignore list
#
35177
09/07/03
05:07 PM
Joined:
Jul 2003
Posts: 5
A
Armitage
OP
Nutrimatic drinks dispenser
OP
Armitage
Nutrimatic drinks dispenser
A
Joined:
Jul 2003
Posts: 5
Does anyone know how to return the number of people that are on your ignore list?
$ignore(2) for instance returns the 2nd person on the list..
some other identifiers return the total number if you put a zero, like $query(0). Any idea's?
Copy Link to Clipboard
Re: Returning how many people are in ignore list
#
35178
09/07/03
05:09 PM
Joined:
May 2003
Posts: 2,265
P
pheonix
Hoopy frood
pheonix
Hoopy frood
P
Joined:
May 2003
Posts: 2,265
alias ignore.count {
var %i 1
var %g 0
while ($ignore(%i) != $null) {
inc %g 1
inc %i
}
//echo -a %g
}
usage: /ignore.count
Last edited by pheonix;
09/07/03
05:11 PM
.
new username: tidy_trax
Copy Link to Clipboard
Re: Returning how many people are in ignore list
#
35179
09/07/03
05:13 PM
Joined:
Dec 2002
Posts: 3,138
London, UK
C
Collective
Hoopy frood
Collective
Hoopy frood
C
Joined:
Dec 2002
Posts: 3,138
London, UK
$ignore(0) works fine for me on 6.03
Copy Link to Clipboard
Re: Returning how many people are in ignore list
#
35180
09/07/03
05:15 PM
Joined:
Jul 2003
Posts: 5
A
Armitage
OP
Nutrimatic drinks dispenser
OP
Armitage
Nutrimatic drinks dispenser
A
Joined:
Jul 2003
Posts: 5
Ah, well, both of your suggestions worked, thanks alot
Yeah I just noticed it does work, I was doing:
//echo $ignore(0)
And getting an insufficiant paramiters, i needed the -a after the //echo.
Thanks again you two.
Copy Link to Clipboard
Re: Returning how many people are in ignore list
#
35181
09/07/03
05:17 PM
Joined:
May 2003
Posts: 2,265
P
pheonix
Hoopy frood
pheonix
Hoopy frood
P
Joined:
May 2003
Posts: 2,265
np
/me feels like an idiot
new username: tidy_trax
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
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage