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 April 19, 2024, 02:08:32 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  more admin auto login with display pic
gfx
gfxgfx
 

Author Topic: more admin auto login with display pic  (Read 2504 times)

0 Members and 1 Guest are viewing this topic.

Offline ÞØÚÑÐËR

  • Forum Member
more admin auto login with display pic
« on: October 23, 2006, 04:11:00 pm »
what i have done is added more pics and now have welcome pic for regular users..as it is..it works..but when an admin enters..it displays both reguar user and there own pic. how would you make it so only the right pic displays for the admin...anyone?? :?

Code: [Select]
<OnEnter type="random">
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic1</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic2</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic3</out>
</OnEnter>
<OnEnter type="script">
<out delay="0000" condition="1" lvalue="%IP%" rvalue="(IP1 HERE)">/forcelogin %NAME% (LOGIN HERE)</out>
<out delay="0000" condition="1" lvalue="%IP%" rvalue="(IP2 HERE)">/forcelogin %NAME% (LOGIN HERE)</out>
<out delay="0000" condition="1" lvalue="%IP%" rvalue="(IP3 here)">/forcelogin %NAME% (LOGIN HERE)</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(IP1 HERE)">!picture1</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(IP2 HERE)">!picture2</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(IP3 here)">!picture3</out>
</OnEnter>

<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!pic1</in>
<out>(PIC HERE)</out>
</command>

<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!pic2</in>
<out>(PIC HERE)</out>
</command>

<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!pic3</in>
<out>(PIC HERE)</out>
</command>

<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!picture1</in>
<out>(PIC HERE)</out>
</command>

<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!picture2</in>
<out>(PIC HERE)</out>
</command>

<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!picture3</in>
<out>(PIC HERE)</out>
</command>

As you see i have change the script a little from the earlyer posting...i remover the member group and just went by ip (as sugested) and seems to give much better results..so ty for that helpful hint also...chears

Offline Max™

  • MX Hosts
  • *****
  • If Im Not Back later... Wait Longer
    • Maxtech
Re: more admin auto login with display pic
« Reply #1 on: October 24, 2006, 09:31:33 am »
well looking at it, hers what i think could work, but i havent tested it, i'll give you that pleasure
Code: [Select]
where you have this

<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!pic1</in>
<out>(PIC HERE)</out>
</command>
 
the out could be limited to an ip so that pic will only work on that given ip like this

<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!pic1</in>
<out condition="1" lvalue="%IP%" rvalue="(IP2 HERE)">(PIC HERE)</out>
</command>



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

Offline ÞØÚÑÐËR

  • Forum Member
Re: more admin auto login with display pic
« Reply #2 on: October 25, 2006, 06:57:38 pm »
thx for the reply...it does give me a few ideas to try... but ...
This part of the scropt for the admins works great..directs the right ip to the right pic 

Code: [Select]
<OnEnter type="script">
<out delay="0000" condition="1" lvalue="%IP%" rvalue="(IP1 HERE)">/forcelogin %NAME% (LOGIN HERE)</out>
<out delay="0000" condition="1" lvalue="%IP%" rvalue="(IP2 HERE)">/forcelogin %NAME% (LOGIN HERE)</out>
<out delay="0000" condition="1" lvalue="%IP%" rvalue="(IP3 here)">/forcelogin %NAME% (LOGIN HERE)</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(IP1 HERE)">!picture1</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(IP2 HERE)">!picture2</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(IP3 here)">!picture3</out>
</OnEnter>


the problem is with the random part...

Code: [Select]
<OnEnter type="random">
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic1</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic2</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic3</out>
</OnEnter>

being it is random it also picks up our ip and displays a regular user pic as well..is there so way to make this part ignore our ip's..or to maybe stop the script if our ip's are found??

Im still new to this so pardon my ignorance   :lol:

Offline Max™

  • MX Hosts
  • *****
  • If Im Not Back later... Wait Longer
    • Maxtech
Re: more admin auto login with display pic
« Reply #3 on: October 25, 2006, 07:45:16 pm »
yes there is a way it can ignore the admin ip's
u add a usergroup to it as shown below but pit an excamation mark  !  infromt of the admin group, this tells the bot to ignore any admin in the admins usergroup, a normal admin only group would be usergroup="admins"  to exclude an admin group is usergroup="!admins"

Code: [Select]
<OnEnter type="random" usergrpou="!admins">
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic1</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic2</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="%IP%">!pic3</out>
</OnEnter>



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

Offline ÞØÚÑÐËR

  • Forum Member
Re: more admin auto login with display pic
« Reply #4 on: October 26, 2006, 12:03:47 am »
well i got the jist of what your saying and have tryed a few dozen things but still no luck.  how about another friendly pointer...am i warm...lmao

Code: [Select]
<usergroup name="admins">
!USER1
</usergroup>

<OnEnter type="random" usergrpou="!admins">
<out type="self" condition="1" lvalue="%NAME%" rvalue="%NAME%">pic1</out>
<out type="self" condition="1" lvalue="%NAME%" rvalue="%NAME%">pic2</out>
<out type="self" condition="1" lvalue="%NAME%" rvalue="%NAME%">pic3</out>
</OnEnter>
<OnEnter type="script">
<out delay="1000" condition="1" lvalue="%IP%" rvalue="(ip1)">/forcelogin %NAME (LOGIN)</out>
<out delay="1000" condition="1" lvalue="%IP%" rvalue="(ip2)">/forcelogin %NAME% (LOGIN_</out>
<out delay="1000" condition="1" lvalue="%IP%" rvalue="(IP3)">/forcelogin %NAME% (LOGIN)</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(IP1)">!pic4</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(ip2)">!pic5</out>
<out type="self" condition="1" lvalue="%IP%" rvalue="(IP3)">!pic6</out>
</OnEnter>

Offline ÞØÚÑÐËR

  • Forum Member
Re: more admin auto login with display pic
« Reply #5 on: October 28, 2006, 03:09:06 am »
ok..after lots of trial and error..i finally got it to work..ty for you help..chears  :)

WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  more admin auto login with display pic
 

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