I want a Script to show intro for users.
I dont want any outros for users.
Can someone make it for me ?
QuoteOriginally posted by dkt
I want a Script to show intro for users.
I dont want any outros for users.
Can someone make it for me ?
Search the forum for "logonmsg". Maybe that's what you're looking for, if I understood your request.
Best regards,
jiten
there you go moded from the intro outro bot
-- Random-In-Outro changed by damo
BOTName = "BOT NAME HERE"
Version = "Random-Inro 0.1"
BotInfo = "$MyINFO $ALL "..BOTName.." <++V:0.1 Random-Inro,?+?:Troubadour> $ $Metal speed"..string.char(1).."$Random-Inro@dhq-eurotopia.no-ip.com$"
sHubName = frmHub:GetHubName()
function Main()
frmHub:RegBot(BOTName)
end
function OpConnected(user)
SendToAll( RandomEntryMsg(user))
end
function OpDisconnected(user)
SendToAll( RandomExitMsg(user))
end
function NewUserConnected(user)
if user.iProfile == 2 then
SendToAll(BOTName, RandomVIPMsgConnect(user))
elseif user.iProfile == nil then
user:SendPM(user.sName,BOTName.."Welcome to the "..sHubName.."" )
end
end
function UserDisconnected(user)
if user.iProfile == 2 then
SendToAll( RandomVIPMsgExit(user))
end
end
function RandomEntryMsg(user)
local randomSeed = math.random(11)
if randomSeed == 1 then
return user.sName.." has entered the hub. Please behave cause he is always ready to kick some ....!"
elseif randomSeed == 2 then
return user.sName.." has entered the hub. Let's all cheer for him for 5 minutes!"
elseif randomSeed == 3 then
return user.sName.." has entered the spotlights."
elseif randomSeed == 4 then
return "\r\n\r\n \\ ~ ~ //\r\n ( 0-0 )\r\n----oOO-------(_)--------------------------\r\nI "..user.sName.." I\r\n I Is peeking at you I\r\n-------------------oOO----------------------\r\n I__I__I\r\n I I I I\r\n nooO Ooo"
elseif randomSeed == 5 then
return "Looking around in the doorway "..user.sName.." greetz all users with 'Wassup kids.'"
elseif randomSeed == 6 then
return "Please give him a big welcome! "..user.sName.." has entered the hub.!"
elseif randomSeed == 7 then
return "Here is "..user.sName..". Now there's somebody who knows all!!!"
elseif randomSeed == 8 then
return user.sName..". Arrives Yelling And Screaming Like A Maniac."
elseif randomSeed == 9 then
return user.sName..". Arrives Ranting And Raving About Aliens Or Some Such Rot."
elseif randomSeed == 10 then
return user.sName..". Runs Around The Hub Screaming And Then Leaps Out The Window."
elseif randomSeed == 11 then
return "With A Crazed Look In Their Eyes "..user.sName..". Arrives."
end
end
function RandomVIPMsgConnect(user)
local randomSeed = math.random(4)
if randomSeed == 1 then
return user.sName.." rocks the hub with his presence."
elseif randomSeed == 2 then
return "Walking down the stairs "..user.sName.." enters the hub!"
elseif randomSeed == 3 then
return user.sName.." is about to get the party started ..."
elseif randomSeed == 4 then
return user.sName.." is happy to be a member of this cool hub!"
end
end