PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: hermaniii on 27 August, 2006, 21:49:41

Title: show if cmdspy is on (robocop)
Post by: hermaniii on 27 August, 2006, 21:49:41
i have done some custom regcmd like  !rr nickname password
but something is missing that i want it to do.
Show the command in the bot if the user have used  "!cmdspy on"  in robocop
Is there a way to get that info from robocop.

and that below is go through only founders. can you do it to go through all ops or founder/masters ?
Dont want it to get all users take more resorses.

function sendToCmdSpyUsers(msg)
   for i,v in ipairs(frmHub:GetOnlineUsers(5)) do

   end
end
Title: Re: show if cmdspy is on (robocop)
Post by: Thor on 27 August, 2006, 22:44:16

function sendToCmdSpyUsers(msg)
for i,v in ipairs(frmHub:GetOnlineOperators()) do

end
end

You think about it? And don't forget to give it higher order than RC. And don't use return 1. ;)