Siegh
Thronar Developer
Hello =D, I need a quick help on this issue I'm having with a script. The thing is, I don't know how to do this on Lua even though it's probably pretty basic.
How do I get the answer from the player to use as a variable on the NPC's next line? For example: withdrawn, 100, yes (withdrawn 100 gold from bank account).
Code:
elseif msgcontains(msg, "withdrawn") then
npcHandler:say("How much do you wish to withdrawn?",cid)
How do I get the answer from the player to use as a variable on the NPC's next line? For example: withdrawn, 100, yes (withdrawn 100 gold from bank account).