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

Lua Please help fast

gigastar

Member
Joined
Jan 25, 2009
Messages
252
Reaction score
15
Hello everyone, I just need to know how to make it so a talkaction script reads more then one param.... meaning


!givemoney, playername, amount


please help.

tibia 8.54 TFS Crying Damson
 
Lua:
local t = string.explode(param, ",")

!givemoney playername, amount

In that case playername = t[1] and amount = t[2]

Hope it helps
 
Back
Top