hello i need a script who in main chat send message to all users when a operator log in...
each operator another message to login and log out..
please help i can't find this script.. !
.:Thanks:.
Hi,
Hope it helps...
--## Simple Welcomer Bot
--## Requested by stuCkwe
--## Made by nErBoS
sBot = "W-BOT"
arrW = {
--Example
["nErBoS"] = {
["IN"] = "Hello nErBoS",
["OUT"] = "Bye nErBoS",
},
}
function OpConnected(user)
if (type(arr[user.sName]) == "table") then
SendToAll(sBot, arr[user.sName]["IN"])
end
end
function OpDisconnected(user)
if (type(arr[user.sName]) == "table") then
SendToAll(sBot, arr[user.sName]["OUT"])
end
end
Best regards, nErBoS
thnx