Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Off-Topic
»
AFK Script help
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: AFK Script help (Read 2224 times)
0 Members and 1 Guest are viewing this topic.
ArnyDaHamsta
Newbie
Posts: 3
Karma: 0
AFK Script help
«
on:
November 07, 2016, 09:06:30 AM »
Hey! So I recently got a AFK script, but it kicks me when I am owner. How do I add it so that id won't kick admins, superadmins, developer, co-owner and owner?
Here is the code:
http://pastebin.com/dmrURA37
Logged
iViscosity
Respected Community Member
Hero Member
Posts: 803
Karma: 58
Re: AFK Script help
«
Reply #1 on:
November 07, 2016, 10:13:42 AM »
If inheritances are setup how I'd think they are, in the order you specified, put a check right after the for loop that checks if the person is an admin or higher (use
this
to help) and if they are, do nothing (return end)
Logged
I'm iViscosity. I like gaming and programming. Need some help?
Shoot me PM
.
ArnyDaHamsta
Newbie
Posts: 3
Karma: 0
Re: AFK Script help
«
Reply #2 on:
November 07, 2016, 10:44:30 AM »
Not a clue what that means
Logged
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
Back