Skip to content
General IRCd

Ban And Except Dialog

A TG007 community discussion started by Ozzy10.

Discussion 30 posts
Page 2 of 2
Open
Topic #11102 · 30 published posts · 7,186 views

To Lindrian: How do you determine the amount of available bans on the server ie 17/45 (38%)? Is there a raw for that? I've tried grabbing the topic length from each server using RAW 001 but failed miserably... I guess you use regex for that?

Thread hijack FTW.

Agreed - I humbly withdraw my question to Lindrian :embar: Apologies

Edited Sep 14, 2008 2:06 PM by Silo

it's np we do that to most threads.. if i remember correctly it is raw numeric 5 that will tell you the server's limit on topics.. something like topiclen.. not exactly sure how it's worded though.. it's in a long list of things supported by the server that tells you when you connect

Get information about ircWx here

To Lindrian: How do you determine the amount of available bans on the server ie 17/45 (38%)? Is there a raw for that? I've tried grabbing the topic length from each server using RAW 001 but failed miserably... I guess you use regex for that?

Using raw 005 to collect the data, and then storing it in a variable to later re-use it.

 

If you need some help to do the regex for it, just tell me, ill be more than happy to help!!

Edited Sep 15, 2008 6:12 PM by Lindrian

regex rawks!

Get information about ircWx here

regex rawks!

/^r[3e]gul[a4]r [3e]xpr[3e]ss[1i][0o]ns r[a4]wks$/i

 

Indeed they do! :P

I managed to grab topiclen307 from koach but that's about it :(

Thanks, Lindrian. I ended up using var %top = $remove($11,topiclen=) as a test & it worked okay, though naturally it wont return thesame info on all servers.

 

I can't wait to get home & disect your code, though $regex && $me == $no.frickin.idea!! lol :)

 

Thanks again :)

My pleasure to help :)