of     1   

galisprayo
#1104600Monday, May 26, 2008 2:13 AM GMT

function onAdded(player) local msg = Instance.new("Message") msg.Parent = game.Workspace if (player.Name == "galisprayo") then msg.Text = "The creator came for a visit! Hi galisprayo!" wait(5) msg:Remove() else if (player.Name ~= "galisprayo") then msg.Text = player.Name.. "has joined!" wait(5) msg:remove() end end end game.Players.ChildAdded:connect(onAdded)
eyeontheprize
#1104727Monday, May 26, 2008 2:23 AM GMT

It looks like it does
FlashJoeW
Top 100 Poster
#1107478Monday, May 26, 2008 10:07 AM GMT

not sure 'bout the space between name.. and "blah"
randomrobot
Top 100 Poster
#1107588Monday, May 26, 2008 10:56 AM GMT

Remove an end, and change "else if" to "elseif"
FlashJoeW
Top 100 Poster
#1107591Monday, May 26, 2008 10:57 AM GMT

umm... what's the difference between elseif and else? not much really is there? just put the if at the end of the line above instead of the front... confusing i know
randomrobot
Top 100 Poster
#1107638Monday, May 26, 2008 11:08 AM GMT

Well, it could be like if p==nil and pp~=nil then print("blah") elseif p~=nil and pp~=nil then print("pie")
randomrobot
Top 100 Poster
#1107640Monday, May 26, 2008 11:09 AM GMT

I just mean a situation where you use elseif.
Dr01d3k4
#1107682Monday, May 26, 2008 11:19 AM GMT

function onAdded(player) local msg = Instance.new("Message") msg.Parent = game.Workspace if (player.Name == "galisprayo") then msg.Text = "The creator came for a visit! Hi galisprayo!" wait(5) msg:remove() elseif (player.Name ~= "galisprayo") then msg.Text = ""..player.Name.." has joined!" wait(5) msg:remove() end end game.Players.ChildAdded:connect(onAdded)
randomrobot
Top 100 Poster
#1107693Monday, May 26, 2008 11:21 AM GMT

it doesn't need that "".. in the player has joined part...
Dr01d3k4
#1107719Monday, May 26, 2008 11:25 AM GMT

Thats how I always do it and it works. Though you need the ..'s
randomrobot
Top 100 Poster
#1107755Monday, May 26, 2008 11:31 AM GMT

It can be this: function onAdded(player) local msg = Instance.new("Message") msg.Parent = game.Workspace if (player.Name == "galisprayo") then msg.Text = "The creator came for a visit! Hi galisprayo!" wait(5) msg:Remove() elseif (player.Name ~= "galisprayo") then msg.Text = player.Name.. " has joined!" wait(5) msg:remove() end end game.Players.ChildAdded:connect(onAdded)
FlashJoeW
Top 100 Poster
#1107793Monday, May 26, 2008 11:40 AM GMT

i made one of these before... it wasn't this confusing lol
randomrobot
Top 100 Poster
#1107801Monday, May 26, 2008 11:41 AM GMT

yeah, because it's just you and no one disagrees with something ._.
randomrobot
Top 100 Poster
#1107805Monday, May 26, 2008 11:42 AM GMT

well, i mean, you're the only person who edits it, no one disagrees with a part in the script
FlashJoeW
Top 100 Poster
#1107812Monday, May 26, 2008 11:42 AM GMT

^_^ you guys are disagreeing quite a lot today lol, it's ruining my Karma!

    of     1