• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved First time Greeting not working

ziggy46802

Active Member
Joined
Aug 19, 2012
Messages
418
Reaction score
27
I have, in my login.lua file, this script

Code:
	--Gretting at first time visit
	if getPlayerStorageValue(cid , 1100) > 10
		then setPlayerStorageValue(cid, 1100, 1)
				doPlayerSendTextMessage(cid, 1, 'Take a look around the city.  Find the mayor to find out what quests are available.  You might also want to buy a weapon an some equipment, including a rope.')
	end

But I get no errors upon logging in, but nothing at all happens. I get no message or no error in my console or anything. Can somebody please help me out to have a greeting message upon the first time visit to my server?


NEVERMIND i just saw that I put it as GREATER than 100, such a stupid mistake.
 
Back
Top