PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Help with scripts => Topic started by: ghostnet on 07 June, 2015, 00:26:54

Title: help with the script
Post by: ghostnet on 07 June, 2015, 00:26:54
i wanted a rules bot which shows rules in the main on user entry. therefore i edited the rules bot found here . but it does not work. there is no error with the script but it does not do the intended task.please help. thanks .
code starts from below:
-- "Botname" [Add as you wish]
bot = "rules"

-- Profile permission as per new ptokax
tProfile = {
      [-1] = 1,   -- Unregistered Users
      
Title: Re: help with the script
Post by: PPK on 07 June, 2015, 01:06:34
Quote from: ghostnet on 07 June, 2015, 00:26:54
i wanted a rules bot which shows rules in the main on user entry.
That is what is MOTD for. You don't need script or bot for that.
Title: Re: help with the script
Post by: ghostnet on 07 June, 2015, 21:21:08
thanks. :P
can i change the color of MOTD to some other color like green or blue?
Title: Re: help with the script
Post by: the-master on 07 June, 2015, 21:53:27
easy one.. NO