Ulysses
General => Developers Corner => Topic started by: slowtech on September 12, 2010, 05:03:20 AM
-
Hello.
I thought of making something like this: if "ulx votekick" then ply:GetUserGroup () "respected" then
ulx.logUserAct( ply, target, "Respected user ply:GetNick() started a votekick against #T.\
end
end"
So instead of "(ADMIN) Slowtech started a votekick against Megiddo"
Then it shows up like "(RESPECTED) Slowtech started a votekick against Megiddo".
If you understand, just wanted to know if this should work?
-
Sorry, I don't understand.
Rather than showing Admin, you want it to show the group level of the person that started the votekick?
-
Yes.
I could give a example:
You give a person admin.
Then when he does something, like !votekick jammnir, then it would come up in the chat "(ADMIN) person Started a votekick against Jammnir"
But i would like to make people that have the usergroup Respected to have that in chat as well.
Like when they do something, then it shows up like:
"(RESPECTED) person2 Started a votekick against Jammnir"
Hope i helped you to understand.
-
I think this was added at one time.
Are you using SVN?
It's possible it was removed from svn for <some other technical reason>.
-
Yes, i am using svn.
I don't think that it was ever added to ulx?
-
It was removed because the colors show the group now.
-
So, could anyone help me to get this working? :)
Or tell me if it should work
-
What code have you tried modifying so far? How has it worked for you? What in particular about the code modification do you need help with?