Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Persistant: Send private message
#1
Hello,

I don't know if it's possible, but i need to send a private message to X player on VIP with a persistant. Of couse I will put a condition but I need to know if it's possible. For example:


local player_hppc = hppc()

if player_hppc<100 then
    SEND_PRIVATE_MESSAGE('Player')
end



Thanks.
Reply

#2
Hello.

It's possible using say(), because you don't need to open a "private message channel" to the player, you can send private messages by writing from any channel if you use "*player name* msg"...
Example:
say('*Player name* hello')
Reply

#3
Hello,

It worked good, but now I need a new function with private message.
I can send the private message as you said but i need to pass a parameter. For example:

local name_world = 'Earth' -- It won't be a fixed value so I need it in a variable

So now I need to send that variable throught a private message, but i don't know how to pass it
I tried many things:

say('*Player name* world: $name_world')
say('*Player name* world: ', name_world)

But didn't work. Is it possible to pass the value of the variable to a private message?

Thanks.
Reply

#4
local name_world = 'Earth'
say('*Player name* world: ' .. name_world)
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016