gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 November 21, 2024, 09:52:54 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Channel list script
gfx
gfxgfx
 

Author Topic: Channel list script  (Read 7996 times)

0 Members and 1 Guest are viewing this topic.

Offline reef

  • WMW Volunteer
  • *****
  • ***
Channel list script
« on: June 08, 2011, 12:15:02 am »
Due to the current WinMX attacks i decided to put a script together that would display
a channel list. Some of the rooms on this list may no longer be active as some hosts
have closed up due to the attacks.If anybody wants to improve on the list and keep it
up to date, be my guest.I used portions from Pri's scripts to accomplish this,so thanks
to him.If anybody would like to build on this and make it better, please do so.


Commands:
!listrooms
!room #   (once you've seen the list of rooms you will see they're numbered,pick a room
            example:  !room 38     and the bot will attempt to exile u there)
            OR u can simply copy the roomname and paste it to filter.

!addroom %PARAM% i havent tested this at all and if it does work it would
add the room to the bottom of the room_list.ini file and would be un-numbered


Note: In some servers if your access level is too high the exile command will not work
,also WPCC has a bug in it that stops it from reaching the destination room.


My thinking is if a good number of hosts use this, users can travel around rooms like
they do with an actual list. Im not a big room hopper so only tested it briefly and
had a few occurences of the exile failing (most likely due to the attacks and the network
being bogged down). Anyways... how to  set it up:


- add the xml and the folder to your bots Plugins folder
- add an include line to your MXC  <include file="- channel list.xml"/>
- change the directorys to match your bots (if needed)
- change <out type="push" extdata="PRIV_MSG_CMD">/hidecmd /privnotice %NAME%</out>
  /hidecmd /privnotice %NAME%  to how your chat server does private messages in the room
Example: for FXS /hidecmd /privnotice %NAME% would be /message %NAME%


Final Note: I'm aware that the channel number remains as part of the roomname,it makes no
difference to the exile function and i couldnt be bothered trying to remove them lol

Anyways feedback on this script is welcomed. Hope some find it useful and spread it around


EDIT: added link in case attachment doesnt show

http://winmxaddicts.freeforums.org/channel-list-script-t979.html

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Channel list script
« Reply #1 on: June 09, 2011, 07:19:55 am »
Improved the script.

*Removed the numbering of rooms in the .ini file, it now reads the line and displays it.
*adding a room now works (without any extra hassle numbering it later)
*number of the room is no longer attached to the exile room name
*cleaned it up a little

re-download from the post above

Offline Stevi

  • #1 DJ
  • MX Hosts
  • *****
  • Ooops! I blew up the commercials!
    • WinMX Radio
Re: Channel list script
« Reply #2 on: June 09, 2011, 07:39:01 am »
Awesome work Reef and Pri! I will definitely be using this script in my bot.

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Channel list script
« Reply #3 on: June 10, 2011, 10:06:42 am »
New Feature added

*added a filter command
!filter PARAM enables u to search for a particular room and displays the number of the room, rather than viewing the entire list
 Example: !filter WinMXWorld

*another minor addition - added a menu, displaying all commands and a brief description  !channel list


re-download from the top post

Offline Bieb

  • Forum Member
Re: Channel list script
« Reply #4 on: June 10, 2011, 06:49:03 pm »
You are welcome to use this if you like for the metis script. I plan to release four public WinMX related apis in a couple weeks or so and this is one of them.

https://www.winmxunlimited.net/utilities/api/roomlist/index.php


It access's the same room list as https://www.winmxunlimited.net/utilities/wpnlist/

The format is pretty simple.

#USR# 1
#LMT# 200
#NAM#  === EVOLUZIONE === W I N M X ===_1E2B5A501A2A
#TPC# [R§WCS]  ´¨°ºª¤ªº°¨`«http://evoluzioneradio.no-ip.biz:8000»´¨°ºª¤ªº°¨`
#XTR# R§WCS



Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: Channel list script
« Reply #5 on: June 11, 2011, 10:39:44 am »
this kinda makes me wonder where the list.txt or list.cgi would be located, if this list file would already be filtered too and if I would be allowed to use it Bieb (PM me if you don't want to post this out in the wild please  ;) )
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Channel list script
« Reply #6 on: June 17, 2011, 05:47:25 am »
Small bug fixed (due to it using custom commands in my personal setup, and forgot to change it to regular commands)

Again download above in original post

@ josh... Thanks for the offer, but i'm not really in to re-scripting it all. Was just something i thought might help out some folks at this time.If somebody else would like to re-script it and have it point to your web lister, i wouldnt mind :)

Offline F£¥è®

  • Forum Member
Re: Channel list script
« Reply #7 on: June 24, 2011, 08:50:39 pm »
I've not posted anything on here for a while,I got a new lease of life after major heart and lung surgery last October and decided not to be a couch potato anymore.

Anyway I'm not trying to tread on anyones toes it's just that as Josh supplied the php I thought it deserved putting in a Metis .xml.

OS Microsoft® Windows Vista™ Home Premium, Processor Intel(R) Core(TM)2 Quad CPU  Q8200  @ 2.33GHz, 2331 Mhz, 4 Core(s), 4 Logical Processor(s), Installed Physical Memory (RAM) 6.00 GB

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Channel list script
« Reply #8 on: June 24, 2011, 09:36:19 pm »
Welcome back Flyer, wish a full recovery m8, hope your doin well :)

Offline F£¥è®

  • Forum Member
Re: Channel list script
« Reply #9 on: June 24, 2011, 09:40:44 pm »
Cheers reef,
I'm doing fine ty feel better than I have done in years,hope your ok yourself
OS Microsoft® Windows Vista™ Home Premium, Processor Intel(R) Core(TM)2 Quad CPU  Q8200  @ 2.33GHz, 2331 Mhz, 4 Core(s), 4 Logical Processor(s), Installed Physical Memory (RAM) 6.00 GB

Offline ¿Åliçe

  • Forum Member
Re: Channel list script
« Reply #10 on: June 24, 2011, 11:55:04 pm »
Thanks for the script Reef & Flyer

WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Channel list script
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.009 seconds with 22 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!