Forum

> > CS2D > Scripts > Need a script U.S.G.N
Forums overviewCS2D overview Scripts overviewLog in to reply

English Need a script U.S.G.N

7 replies
To the start Previous 1 Next To the start

old Re: Need a script U.S.G.N

EP
User Off Offline

Quote
1
2
3
4
addhook("join","_join")
function _join(id)
	msg("©255255255Welcome "..player(id,"name").." with USGN "..player(id,"usgn"))
end

old Re: Need a script U.S.G.N

mafia_man
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
addhook("join", "onJoin")
function onJoin(id)
	local str;
	str = "©255255255" .. player(id, "name") .. " has joined the game!";
	if player(id, "usgn") > 0 then
		str = str .. "(U.S.G.N: " .. player(id, "usgn") .. ")";
	end
	msg(str);
end

old Re: Need a script U.S.G.N

Infinite Rain
Reviewer Off Offline

Quote
1
2
3
4
addhook('join', '__join')
function __join(id)
	msg(player(id, 'usgn') > 0 and player(id, 'name') .."'s U.S.G.N is ".. player(id, 'usgn') or player(id, 'name').." isn't logged in U.S.G.N!@C")
end
edited 1×, last 17.01.13 08:44:39 pm

old Re: Need a script U.S.G.N

mafia_man
User Off Offline

Quote
user Infinite Rain has written
1
2
3
4
addhook('join', '__join')
function __join(id)
	msg2(id, player(id, 'usgn') > 0 and "Your U.S.G.N is ".. player(id, 'usgn') or "You aren't logged in U.S.G.N!")
end

What's the point of posting something that was posted 2 times already?
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview