gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76774 Posts in 13500 Topics by 1651 Members - Latest Member: insider4ever March 28, 2024, 10:35:52 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  help for a metis script
gfx
gfxgfx
 

Author Topic: help for a metis script  (Read 2403 times)

0 Members and 1 Guest are viewing this topic.

Offline reef

  • WMW Volunteer
  • *****
  • ***
help for a metis script
« on: August 21, 2006, 04:24:53 am »
hey all.... i've only been usin metis a few weeks and have looked for a script that logs hostnames,without any success.i've used pieces of various scripts and came up with 1,but the problem is when i type in the command to view the hostnames via private message i only get the last 4 from the text file of the logged hostnames.Also they dont show up uniformed (like starting on a seperate line from one another).....Can anybody tell me how to fix the below script or post a working script of this kind?     would be much appreciated   :)

here is the script i've been trying:

<OnEnter type="script">
<in>%RAWNAME% %IP% %HOSTNAME%</in>
<out type="file" mode="a" extdata="C:\Program Files\RoboMX7\Plugins\Logs\hostnames.txt">#c4#Username: #c10#%RAWNAME% - #c4#Hostname: #c10#%HOSTNAME% - #c4#IP: #c10#%IP% </out>
</OnEnter>

<usergroup name="hostnames">
joeblow*
</usergroup>

<command type="script" usergroup="hostnames">
<in>!print hostnames</in>
<out type="push" extdata="ph"><operator type="readfile" nvalue="C:\Program Files\RoboMX7\Plugins\Logs\hostnames.txt" lvalue="c" rvalue="-1"/> </out>
<out delay="3000">/message %RAWNAME% $ph$</out>
</command>



cheerz

Offline Maxe

  • WMW Team
  • *****
Re: help for a metis script
« Reply #1 on: August 21, 2006, 11:42:53 pm »
Just change this line as shown (\n at the end of the output line.) This will put every hostname and IP on a separate line.
Code: [Select]
<out type="file" mode="a" extdata="C:\Program Files\RoboMX7\Plugins\Logs\hostnames.txt">#c4#Username: #c10#%RAWNAME% - #c4#Hostname: #c10#%HOSTNAME% - #c4#IP: #c10#%IP%\n </out>

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: help for a metis script
« Reply #2 on: August 24, 2006, 02:45:28 am »
thx for the reply maxe....i modified another ip logger script and changed it to log hostnames..... its logging great and lists hostnames in the room via pm whoever knows the trigger and is included in the usergroup of course..... thx again 4 the reply tho,much appreciated.

cheerz

Offline richie

  • Forum Member
Re: help for a metis script
« Reply #3 on: March 01, 2007, 01:46:27 pm »
need to know if you can do me a pvt message script for ip and hostname onenter in bot please so when they come in room only they can see it. thankyou very much if you can

Offline Max™

  • MX Hosts
  • *****
  • If Im Not Back later... Wait Longer
    • Maxtech
Re: help for a metis script
« Reply #4 on: March 01, 2007, 04:21:15 pm »
Hi Richie,
if your hosting on WinMX then it doesn't support /message on screen but the bot can pm a message (depending if that user has them turned on or if on a robo they have to be properly connected)
hosting WCS or FXS it can be done, when you said only they can see you mean that person sees their own ip and hostname?
Code: [Select]
(WCS or FXS)
//this will send their ip & host to them in private on screen
<OnEnter>
<out>/message %NAME% hello %NAME% your ip is %IP% and your hostname is %HOSTNAME%</out>
</OnEnter>

//this will send the same info to the admins (the normal idea for security)
<OnEnter>
<out>/opmsg %NAME%'s ip is %IP% and hostname is %HOSTNAME%</out>
</OnEnter>
if this isn't what you want, pop in my room and we can go into more details Richie, we can work something our im sure.
Ladies & Gents Castle_B5B513521A2A



Try Connecting, the attacks may let you  https://patch.winmxconex.com/

WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  help for a metis 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.017 seconds with 23 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!