Author Topic: Admin command  (Read 5575 times)

0 Members and 1 Guest are viewing this topic.

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Admin command
« on: August 13, 2008, 12:30:06 pm »
Hi
Can anyone tell me how to create admin command in wwhich only admin will be shown not admin level.
Tell me if anyone know this ------------>plz reply ???
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

szostol

  • Guest
Re: Admin command
« Reply #1 on: August 13, 2008, 02:26:07 pm »
What script? Own, sasan, gus, winlord?

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: Admin command
« Reply #2 on: August 13, 2008, 04:59:07 pm »
Wsv script(Windlord)
Plz help :'(
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Admin command
« Reply #3 on: August 13, 2008, 05:06:08 pm »
WSV has an admins command already D:, just remove the part that says "Level:" if it does

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: Admin command
« Reply #4 on: August 13, 2008, 05:51:42 pm »
From where i can delete --level---
From where?
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Windlord

  • Guest
Re: Admin command
« Reply #5 on: August 14, 2008, 01:11:02 pm »
Change the admins command to this ;)
Code: [Select]
  elseif (admin* iswm $3) {
    var %a = 0
    while (%a <= %maxplayers) {
      if ($WSV.levels(%a) > 0) && ($WSV.loggedin(%a)) {
        if (%b) var %b = %b , $WSV.nom(%a)
        elseif (!%b) var %b = $WSV.nom(%a)
      }
      inc %a
    }
    if (%b) vcmp.say $1 > Admins Online: %b
    else vcmp.say $1 > No Admins Are Currently Online
  }

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: Admin command
« Reply #6 on: August 14, 2008, 03:13:46 pm »
Thanks :D
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Admin command
« Reply #7 on: August 14, 2008, 03:38:28 pm »
Wind is it just be or will that return everyone level 0 and over?

Windlord

  • Guest
Re: Admin command
« Reply #8 on: August 14, 2008, 04:08:14 pm »
That will return the admins online without their level tags.

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Admin command
« Reply #9 on: August 14, 2008, 04:58:12 pm »
Well I know that  :D, I was more looking at:

Code: [Select]
if ($WSV.levels(%a) > 0)

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: Admin command
« Reply #10 on: August 14, 2008, 07:15:13 pm »
Well I know that  :D, I was more looking at:

Code: [Select]
if ($WSV.levels(%a) > 0)

I'm not sure the 0 will work well.
To be sure use:

Code: [Select]
if ($WSV.levels(%a) >= 1)