PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Inflictor on 17 August, 2005, 15:56:47

Title: Adding a simple Desciprtion Tag to a bot
Post by: Inflictor on 17 August, 2005, 15:56:47
Could someone post, how to add simple description tag to a bot. I know off some scripts but i havent time to convert it.


Thanks


Inflictor
Title:
Post by: bastya_elvtars on 17 August, 2005, 16:11:28
Registers a bot (makes it appear in the userlist.) This is the 'old' method. Rules are:
?The following chatacters are not allowed in the nick:
?$
?|
?<
?>
?:
??
?*
?"
?/
?\
?space
?Maximum nick length is 64 chars.
?$ and | are not allowed in Description and Email
?Max. length is 64 chars per string.
?IsOP is number:
?1 - bot has key
?0 - bot does not have key.
Using this method, MyINFO string will be created for bot. If you want MyINFO without key/description/email use for example:
frmHub:RegBot("botname", 0, "", "")