Author Topic: Silent command  (Read 1890 times)

0 Members and 1 Guest are viewing this topic.

Offline LiveTrash

  • Newbie
  • *
  • Posts: 18
  • Karma: -2
Silent command
« on: May 07, 2010, 02:54:22 PM »
I am wondering if someone could edit this line of code to print for admins only. I'm sure it is simple to do. It's just I am not very good with LUA. I would appreciate it if someone could do this for me.

Code: [Select]
cloak:logString( "#1s cloaked #2s by amount #3i" )


Thanks
LiveTrash

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Silent command
« Reply #1 on: May 07, 2010, 05:32:36 PM »
That's from SVN, which doesn't have support for silent commands yet.
Experiencing God's grace one day at a time.

Offline LiveTrash

  • Newbie
  • *
  • Posts: 18
  • Karma: -2
Re: Silent command
« Reply #2 on: May 07, 2010, 05:35:55 PM »
There is, I found a line of code I modified to display for admins only, but i want certain commands only to be shown for admins. Is there no check to see if the user is an admin, and then print the line...?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Silent command
« Reply #3 on: May 07, 2010, 07:07:50 PM »
[no]support<clip>yet.
Edited- my emphasis
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming