hi same one can convert Random Intros and Outros script
 

hi same one can convert Random Intros and Outros script

Started by TrIp-iN-SuN, 15 April, 2008, 20:30:28

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TrIp-iN-SuN

--// Random Intros and Outros 

--// By Chaggydawg 

--// Does it work?? Who knows these things?? 

--// Revision 0.2 



HubOwner = "']['rIp?iN??uN"



intros = { 

"[USERNAME] Crawls In On Their Hands And Knees.", 

"In A Fiery Explosion [USERNAME] Appears.", 

"With A Crazed Look In Their Eyes [USERNAME] Arrives.", 

"Sir [USERNAME] Of The East Lunatic Fringe Has Arrived.", 

"[USERNAME] Arrives Yelling And Screaming Like A Maniac.", 

"[USERNAME] Arrives Ranting And Raving About Aliens Or Some Such Rot.", 

"The Demented [USERNAME] Has Arrived.", 

"[USERNAME] Appears Out Of Nowhere And Begins Speaking In Tongues.", 

"[USERNAME] Arrives And Immediately Heads For The Light Like A Moth.", 

"[USERNAME] Climbs In Through The Window With A Big Joint.", 

"[USERNAME] Falls From The Skylight And Lands On A Mushroom.", 

"[USERNAME] Enters the Room With A Bottle Of L.S.D On His Hands.", 

"After Alot Of Loud Groaning [USERNAME] Comes Waltzing Out Of Janines Room...", 

"Hair In Everywhich Direction [USERNAME] Arrives On The Scene Looking More Crazed Than Usual.", 

"Brandishing What Looks Like A Hairbrush [USERNAME] Arrives.", 

"[USERNAME] Arrives An ElfGirl Under Each Arm", 

"[USERNAME] Appears Out Of Thin Air Scaring The Hell Out Of Janine.", 

"[USERNAME] Parachutes In From An Airplane.", 

"[USERNAME] Runs In, Stubs Their Toe On A Couch And Falls Over A Table Landing On Janine.", 

"[USERNAME] Crashes Through The East Wall Arriving In The Hub.", 

"[USERNAME] is here, How about a round of elfgirls for everyone?", 

} 



outros = { 

"[USERNAME] Has Left The Hub", 

"Jumping Through A Plate-Glass Window [USERNAME] Leaves The Hub With His SnowBoard.", 

"Aliens Rocks Abduct [USERNAME], And They Are Gone.", 

"[USERNAME] Begins Shrinking, And Eventually Disappears From The Hub.", 

"Janine Takes [USERNAME] By The Arm And Leads Them To Her Room Closing The Door.", 

"With Cat Like Reflexes [USERNAME] Leaps Out The Window And Is Gone.", 

"The Lights Momentarily Dim, And When They Come Back On [USERNAME] Is Gone.", 

"Three Giant Men In White Coats March In And Haul Away [USERNAME] Kicking and Screaming.", 

"[USERNAME] Leaves Through The Basement Door", 

"[USERNAME] Accidentally Walks Into Janines Room, Muffled Screams Are Heard For A Few Seconds But [USERNAME] Is Gone.", 

"Suddenly [USERNAME] Leaps Up And Bolts For The Door.", 

"[USERNAME] Tosses A Ten On Janine Dresser And Walks Out The Door.", 

"[USERNAME] Runs Around The Room Screaming & Laughing *ACID.ACID.ACID*.", 

} 





--// This function is fired when an operator enters the hub 

function OpConnected(curUser)
	Core.GetUserAllData(curUser) 

LevelBot = (ProfMan.GetProfile(curUser.iProfile) and ProfMan.GetProfile(curUser.iProfile).sProfileName) 

if (ProfMan.GetProfile(curUser.iProfile) and ProfMan.GetProfile(curUser.iProfile).sProfileName) == "SuperOp" then LevelBot = "SuperOp" end 

if curUser.sNick == HubOwner then LevelBot = "HubOwner" end 

intro, x = string.gsub(intros[math.random(1,#intros)], "%b[]", curUser.sNick) 

Core.SendToAll("<"..LevelBot.."> ".. intro) 

end 



--// This function is fired when an operator disconnects 

function OpDisconnected(curUser)
	Core.GetUserAllData(curUser) 

LevelBot = (ProfMan.GetProfile(curUser.iProfile) and ProfMan.GetProfile(curUser.iProfile).sProfileName) 

if (ProfMan.GetProfile(curUser.iProfile) and ProfMan.GetProfile(curUser.iProfile).sProfileName) == "SuperOp" then LevelBot = "SuperOp" end 

if curUser.sNick == HubOwner then LevelBot = "HubOwner" end 

outro, x = string.gsub(outros[math.random(1,#outros)], "%b[]", curUser.sNick) 

Core.SendToAll("<"..LevelBot.."> ".. outro) 

end 


function UserDisconnected(curUser)
	Core.GetUserAllData(curUser) 

LevelBot = (ProfMan.GetProfile(curUser.iProfile) and ProfMan.GetProfile(curUser.iProfile).sProfileName) 

if LevelBot == "SuperVip" then 

outro, x = string.gsub(outros[math.random(1,#outros)], "%b[]", curUser.sNick) 

Core.SendToAll("<"..LevelBot.."> ".. outro) 

else 

end 

end

function UserConnected(curUser)
	Core.GetUserAllData(curUser) 

LevelBot = (ProfMan.GetProfile(curUser.iProfile) and ProfMan.GetProfile(curUser.iProfile).sProfileName) 

if LevelBot == "SuperVip" then 

intro, x = string.gsub(intros[math.random(1,#intros)], "%b[]", curUser.sNick) 

Core.SendToAll("<"..LevelBot.."> ".. intro) 

else 

end 

end 
RegConnected = UserConnectedRegDisconnected = UserDisconnected

SMF spam blocked by CleanTalk