PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: #jdslkfjals# on 26 February, 2005, 02:41:42

Title: Ops hide share
Post by: #jdslkfjals# on 26 February, 2005, 02:41:42
i need a share that shows all ops sharing 0b

is that possible by script

you can do such in ynhub...
Title:
Post by: jackthebest on 26 February, 2005, 22:05:19

 --// Script made by jackthebest  for HauxiR
descr = " " --// descr for ops
connection = " " --// conn type for ops
mail = " "  --// mail for ops
tag = " " --// tag for ops (no <  >)

function DataArrival(user,data)
if strsub(data, 1, 7) == "$MyINFO" then
if user.bOperator then
SendToAll("$MyINFO %$ALL "..user.sName.." "..descr.." "<"..tag..">"$ $"..connection.."$"..mail.."$0$|"
end
end
end
Not tested

see you  8)
Title:
Post by: #jdslkfjals# on 28 February, 2005, 17:55:07
Syntax error: `)' expected (to close `(' at line 10);
  last token read: `end' at line 11 in file `C:\Program Files\PtokaX\scripts\test.lua'