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 23, 2024, 03:07:31 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Welcome (with hit counter & IP recorder)
gfx
gfxgfx
 

Author Topic: Welcome (with hit counter & IP recorder)  (Read 1809 times)

0 Members and 1 Guest are viewing this topic.

Offline Max™

  • MX Hosts
  • *****
  • If Im Not Back later... Wait Longer
    • Maxtech
Welcome (with hit counter & IP recorder)
« on: December 02, 2006, 06:14:41 pm »
ok here is a basic on enter welcome
and under it a basic on entry welcome with a hit counter
Code: [Select]
<config>

<OnEnter>
<out>hello %NAME% bla bla your nessage</out>
</OnEnter>
///this has a time delay of 1 second
<OnEnter>
<out>hello %NAME% bla bla your message</out>
</OnEnter>
</config>

this one has the hit counter, the log is a notepad in your hard drive (normally C:\ )
so the path in this case is C:\logs\hit.txt this will remember the amount of visitors and wont reset to 0 even when room or metis is re-started
Code: [Select]
<config>

<OnEnter type="script">
<out type="push" extdata="visitors"><operator type="readfile" nvalue="C:\logs\hit.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="visitors"><operator type="+"  lvalue="$visitors$" rvalue="1"/></out>
<out>hello %NAME% you're visitor number  $visitors$ </out>
<out type="file" mode="t" extdata="C:\Logs\hit.txt">$visitors$</out>
</OnEnter>
</config>

this will record the User Name, IP & Hostname on entry to a seperate log in the same folder as your hit log
Code: [Select]
<config>
 /// this is a welcome with a hits counter and the users Name IP  & Hostname will be recorded on a .txt
<OnEnter type="script">
<out type="push" extdata="visitors"><operator type="readfile" nvalue="C:\logs\hit.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="visitors"><operator type="+"  lvalue="$visitors$" rvalue="1"/></out>
<out>hello %NAME% you're visitor number  $visitors$ </out>
<out type="file" mode="t" extdata="C:\Logs\hit.txt">$visitors$</out>
<out type="file" mode="a" extdata="C:\Logs\Logging.txt"> \n %NAME%    %IP%    %HOSTNAME% \n </out>
</OnEnter>
</config>



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

WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Welcome (with hit counter & IP recorder)
 

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