This code will only work with ULX, as it detects the '@' in chat. This is meant for DarkRP but will work on any server with ULX ASAY. If you want to request one, post a reply bellow, and I may consider making it!
Code:
@name Admin Chat Interceptor if(first()|duped()|dupefinished()){ printColor(vec(255),"Don't mind that text saying this can say it can mimic admin, this e2 WILL NOT do that.") }
runOnChat(1)
if(chatClk()){ if(lastSpoke() != owner()){ LS = lastSaid():lower() if(LS[1] == "@"){ printColor(teamColor(lastSpoke():team()),lastSpoke():name(),vec(130,190,255)," to staff: ",vec(0,255,0),LS:sub(1)) } } }
I mainly play Garry's Mod. I specializein creating expression 2s. If you would like a code, please comment on my thread or PM me!