• 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!

NPC Random msg

GMNino

New Member
Joined
Jun 30, 2007
Messages
119
Reaction score
3
Please some 1 can make npc with random msg example:

player: hello
NPC: (hello friend), or (hello Playername), or (Hello how are you?).
Player: mission
NPC: (need help to complete a mission, wanna help me?), or (if you are strong go to make namequest and come i give u a present.) or ( wanna make namequest?)
player: yes
NPC: (ok Playername), or (good, go make the quest and comeback and talk with me.), or (blablabla) or (skhkash) etc.
 
Code:
local texts = {"one", "two", "three", "four"}
if (msg == "tell me something") then
	selfSay(texts[math.random(1, #texts)], cid)
end
 
Back
Top Bottom