Code: Select all
Event( "PlayerLogin", 0 )
{
sleep (45)
*say Welcome to BongsFunZone, %Player%!
sleep (30)
*msg %player% **THIS PLANET IS UNDER HEAVY CONSTRUCTION SO PLEASE BEAR WITH ME!!**
if ($playervar9 = 0)
{
$playervar9 = 1
$globalvar1 = $globalvar1 + 1
*say Everyone welcome %player%. Looks like this may be their first time here =)
}
sleep (30)
$playervar8 = $playervar8 + 1
*say There have been %globalvar1% Unique connections, %player% has landed %playervar8% times.
}
$playervar8 is a Player specific variable that increases by 1 each time the player lands.
$playervar9 is by default 0, so the first connect will be true, in that bit it turns $playervar9 to 1, so it skips that string after each players first connect.
You can see this script in action on BongsFunZone along with alot of others, and tons more to come.
hope ya's like it =)
bongz