Log in

View Full Version : Exp/h in custom channel



Tirell
06-03-2016, 12:38 AM
Hello
How can i do simple command like /exph and after this command on chat, bot will display currently exp/h?:>

I create simple custom channel like that :


local channel = Channel.New(Self.Name(), onSpeak)
channel:SendOrangeMessage(Self.Name(), ' Channel Information.')
channel:SendOrangeMessage(Self.Name(), 'Use help to see list of commands.')
channel:SendOrangeMessage(Self.Name(), 'Use start to start script.')

and commands like that


if (text == 'lol') then
channel:SendOrangeMessage(Self.Name(), 'lol')
end