vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Current IRC chatters on forumhome via mirc (no eggdrop) (https://vborg.vbsupport.ru/showthread.php?t=46949)

GoTTi 12-24-2002 05:28 PM

thats what i was thinking xiphod....

GoTTi 12-24-2002 05:39 PM

is there a way to put a delay in the script?

Velocd 12-24-2002 05:49 PM

If the miRC remote tab, you can change the value 120 (2 minutes) to whatever you like, which will either increase or decrease the time it refreshes.

Is that what you meant? ;)

supreemball 12-24-2002 06:59 PM

Quote:

Originally posted by Velocd
Hey Supreemball, how might I get it so the nicks are seperated by comma's? You should be able to use str_replace(), explode(), or rtrim() to achieve it..although with some effort last night I just couldn't get it to go..

Also, is there any way to log the most users that have ever been the channel at one time?

you can do the most users in the channel with no problem.. i might release that in the next version.. it'd be done thru the mirc script code.

also the commas can be done thru mirc script code too.

use this as the code (to replace the line similar to it)

Code:

    write -a nicks.php <b>@ $+ $nick(#channel,%x) $+ </b> $+ , }

Velocd 12-24-2002 07:38 PM

Quote:

Originally posted by supreemball

also the commas can be done thru mirc script code too.

use this as the code (to replace the line similar to it)

Code:

    write -a nicks.php <b>@ $+ $nick(#channel,%x) $+ </b> $+ , }

I figured how to do that, but that leaves a trailing comma at the end of the last username..

ie: users in chat: bob, joe, mike, chris,

Anyway to simply code it in that mIRC script to prevent the last comma from showing? ;)

supreemball 12-24-2002 08:07 PM

heh, not that i know of.. that's probably why i didn't use commas in the first place :)

Velocd 12-24-2002 08:17 PM

Well, I can figure it out easily, but I need to know how you can get the users in the PHP file to be displayed without skipping lines ;)

For example, currently it's outputted like this:
PHP Code:

$ircusers "

Bob

Jacob

Chris

"


But, how can I get it like this:

PHP Code:

$ircusers="bob jacob chris"


Schorsch 12-24-2002 09:16 PM

thanks, is working great :)

but I also would like to know how I can separate the names with a comma.

regards,
Schorsch

EDIT: it doesn't show the % of halfops. How can I change that ?

supreemball 12-24-2002 11:20 PM

Quote:

Originally posted by Velocd

But, how can I get it like this:

PHP Code:

$ircusers="bob jacob chris"


if you put it like that, then, provided that your channel has alot of chatters (like up to 20 depending on their nick length), eventually will probably produce a 'line too long' error in mirc and stop reporting the chatters correctly, so this is why it goes to each line, to stop it from doing that. i have an average of 30-40 chatters in my room at all times, so it's impossible for me to do that and it work right :)

as far as adding commas, i know it can be done, but it's alot of trouble.. maybe if i have some more spare time soon.

supreemball 12-24-2002 11:20 PM

Quote:

Originally posted by Schorsch
EDIT: it doesn't show the % of halfops. How can I change that ?
% of halfops? what do you mean?


All times are GMT. The time now is 07:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01190 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete