vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   IRCBrowse - no Eggdrop + no FTP!! (https://vborg.vbsupport.ru/showthread.php?t=48734)

TheEDIGuy 03-09-2003 09:39 PM

Thanks again, Feldon! I'll apply that this evening.

feldon23 03-09-2003 09:49 PM

Actually, I think a better version would be...

PHP Code:

$ircbrowsenicks str_replace(", ,"","str_replace("FORTbot"""$ircbrowse['2'])); 


Bumpaneer 03-14-2003 04:01 AM

I have another support question. irc.resum.net also supports "superops" or admins (symbol !). I believe the mode is +a. These users don't currently show up on the list. How would I go about adding them?

~Bumpaneer

FastAttack 03-15-2003 02:56 PM

hmm well it seems that I am doing something wrong as far as the mirc side goes.. there is no scripts.ini.. and I made one..

so would it be possible for you just to release the .ini's already with the script so that we just need to place them on our mirc folder?

Bumpaneer 03-16-2003 01:31 PM

I put it in script.mrc, and that worked fine.

~Bumpaneer

FastAttack 03-17-2003 02:53 AM

this is the stuff I get on my irc window :

* /if: invalid format
* /if: invalid format
* /if: invalid format

Ember 05-17-2003 08:13 AM

This is a really great hack, i've downloaded it and will definatly install it we ever get our IRC channel online *growls*

Tim Wheatley 05-20-2003 07:36 PM

It's not working and I don't know why not. It's not writing to the text file from mIRC, it is reading and working onto the index.php display, and also is working when I enter the write details into the URL, here are my settings (obviously with the key replaced with a fake)...

mIRC 6.03.

aliases

PHP Code:

/op /mode # +ooo $$1 $2 $3
/dop /mode # -ooo $$1 $2 $3
//join #$$1 $2-
//part #
//names #$$1
//whois $$1
//kick # $$1 $2-
//query $$1
/send /dcc send $$2
/chat /dcc chat $1
/ping /ctcp $$1 ping
//server $$1-

/
ircbrowse {
  ;
## Change the following 3 settings:
  
%ircbrowsechannel #racesimcentral
  
%ircbrowseserver = [url]www.racesimcentral.com[/url]
  %
ircbrowsestr = /forum/irc/ircbrowse.php?key=2195&action=write
  
;##

  
set %ircbrowsetotal $nick(%ircbrowsechannel,0)
  if (
$nick(%ircbrowsechannel,0,o) > 0) %ircbrowsestr = %ircbrowsestr $+ &ops=
  var %
1
  
while (%<= $nick(%ircbrowsechannel,0,o)) {
    %
ircbrowsestr = %ircbrowsestr $+ $nick(%ircbrowsechannel,%x,o) $+ +
    
inc %x
  
}
  if (
$nick(%ircbrowsechannel,0,o) > 0) { %$len(%ircbrowsestr) - | %ircbrowsestr $left(%ircbrowsestr,%x) }
  if (
$nick(%ircbrowsechannel,0,h) > 0) %ircbrowsestr = %ircbrowsestr $+ &halfops=
  %
1
  
while (%<= $nick(%ircbrowsechannel,0,h)) {
    %
ircbrowsestr = %ircbrowsestr $+ $nick(%ircbrowsechannel,%x,h) $+ +
    
inc %x
  
}
  if (
$nick(%ircbrowsechannel,0,h) > 0) { %$len(%ircbrowsestr) - | %ircbrowsestr $left(%ircbrowsestr,%x) }
  if (
$nick(%ircbrowsechannel,0,v) > 0) %ircbrowsestr = %ircbrowsestr $+ &voiced=
  %
1
  
while (%<= $nick(%ircbrowsechannel,0,v)) {
    %
ircbrowsestr = %ircbrowsestr $+ $nick(%ircbrowsechannel,%x,v) $+ +
    
inc %x
  
}
  if (
$nick(%ircbrowsechannel,0,v) > 0) { %$len(%ircbrowsestr) - | %ircbrowsestr $left(%ircbrowsestr,%x) }
  if (
$nick(%ircbrowsechannel,0,r) > 0) %ircbrowsestr = %ircbrowsestr $+ &users=
  %
1
  
while (%<= $nick(%ircbrowsechannel,0,r)) {
    %
ircbrowsestr = %ircbrowsestr $+ $nick(%ircbrowsechannel,%x,r) $+ +
    
inc %x
  
}
  if (
$nick(%ircbrowsechannel,0,r) > 0) { %$len(%ircbrowsestr) - | %ircbrowsestr $left(%ircbrowsestr,%x) }
  
sockopen ircbrowse %ircbrowseserver 80


remote

PHP Code:

on *:sockopen:ircbrowse:{
  
sockwrite -n $sockname GET %ircbrowsestr HTTP/1.1
  sockwrite 
-n $sockname Accept: */*
  sockwrite -n $sockname Accept-Language: en-us
  sockwrite -n $sockname Accept-Encoding: text
  sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
  sockwrite -n $sockname Host: %ircbrowseserver
  sockwrite -n $sockname Connection: close
  sockwrite -n $sockname $crlf
}

on *:JOIN:%ircbrowsechannel:.timer 1 4 ircbrowse  ;allow time for ops, auto-voice to gain ops + voice
on *:PART:%ircbrowsechannel:.timer 1 2 if ( %ircbrowsetotal > $!nick(%ircbrowsechannel,0) ) ircbrowse
on *:QUIT:.timer 1 2 if ( %ircbrowsetotal > $!nick(%ircbrowsechannel,0) ) ircbrowse
on *:NICK:.timer 1 2 if ( $newnick ison %ircbrowsechannel ) ircbrowse 

I do something wrong?

Tim Wheatley 05-20-2003 07:49 PM

Ah, just noticed I'm getting the * /if: invalid format the user above reported.

Tim Wheatley 05-20-2003 08:21 PM

Got it! I can either type /ircbrowse or...

I used: /timer 0 120 ircbrowse

* Timer 1 activated

I then had to wait 15mins for it to work. :)


All times are GMT. The time now is 07:03 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.01247 seconds
  • Memory Usage 1,775KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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