Re: irc scripts [message #486855 is a reply to message #486839] |
Wed, 19 March 2014 07:54 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma:
|
General (5 Stars) |
|
|
You'd be better off implementing this sort of stuff in your server regulation bot of choice... less lag in response time and the commands will work regardless of whether you're personally in IRC or not.
As an example you could use the custom commands plugin for brenbot if all you want is to do a !msg <texthere> when a player types an arbitary !command.
Also, check what the OUTPUT of your text manipulation is, if you're getting a player not found error then chances are the output of your IRC script is just plain wrong. Make it PM the command to you instead of/as well as sending it to the bot for instance.
If you're just trying to get rid of the colour formatting use $strip($1) instead. Also, $remove only takes 2 parameters, you're passing 3... what did you expect would happen?
[Updated on: Wed, 19 March 2014 07:59] Report message to a moderator
|
|
|