gb wrote:that would only return global bans, not channel bans, and you should use 'string length [join banlist]' or it would just return 1 ban
never use string llength and never had any problems so far ..
also i think u should read closer ..
Treats list as a list and returns a decimal string giving the number of elements in it.
every ban is a new arg so .. it would return the number if ur talking bytelength yes then ur right but if that where the case then it wouldn't it return the right number either ..
well yeah but that would not return it for a specific channel and also a loop is a thing that is slower then just llength ... but sur ur right u could also do that .. if u want it for all channels at once ..
altho i am not sur about incr, but could be tho never used it like that tho ..
incr works just fine, llength returns the exact number of hits, so you get 0 if theres' no bans, incr dont have any problems increasing 0. and why wouldn't i use incr when i want to increase a number ?
YooHoo wrote:Next time, you can skip the thread, and just readegghelp's command reference, or figure out how to use .help
I didn't ask how to get a listing of bans but how to get the number of bans. When there are more than 800 bans in the banlist, receiving a listing slows down a computer for a while dishing out a lot of information which are not required.
Next time you can skip my threads or figure out how to properly read a question.
Ofloo wrote:if that is the case maybe next time u can skip the forum right to the manual
gb wrote:Don't you mean, "Thank you YooHoo, Ofloo and gb for taking the time to reply to my post" ?
Sorry gentlemen if I offended you. Here is my reason for such reply. gb reply was short and sweet. I did mentioned "other than .bans all". I was looking for an hidden command or switch. When you have more than 800 bans in the eggdrop banlist, ".bans all" can tie up your computer for a while. 3 hours later Yoohoo replied by referencing the "bans" command and that I should figure out how the use "help". I found his reply useless and out of line.
As for the help I received from you guys, believe me, it was really appreciated.
gemeau50