I think theses scripts are not working 4 me ;(
function RandomEntryMsg(user)
local randomSeed = random(1)
if (user.sName=="[BR]Luso") then
return "Our one and only [BR]Luso came online"
end
if (user.sName=="Pannygrl") then
return "the miracle just became true - ..... "
end
-- for more users:
-- if (user.sName=="XXX") then
-- return "YYYY"
-- end
if randomSeed == 1 then
return "Tremble with fear ... "..user.sName.." has entered the hub!"
elseif randomSeed == 2 then
return "Sorry Jack ... "..user.sName.." is back!RUNNNN!!!!!!"
end
end
watch = { "200.176.*" }
function NewUserConnected(user, data)
local tmp = foreachi(watch, function(id, ip)
if %user.sIP == ip then return ip end
end) if not tmp then return end
SendToOps("[operserv]", user.sName.." ["..tmp.."] is in or something.")
end