mIRC Homepage
Posted By: SnakeRulez How i can do - 10/05/03 01:54 PM
That when the nick SnakeRulez type !backup in the channel
the bot save all that wrote in NickPass.ini to the file BackUp.bot and do that something like that :
replace a with w
and if in the file NickPass.ini wrote a like
SnakeRulez=Master
that in the file BuckUp.bot this is be wrote
SnwkeRulez=Master

Please help me to do this!
Posted By: RoCk Re: How i can do - 10/05/03 01:59 PM
lol .. eh ?
Posted By: Jesper Re: How i can do - 10/05/03 02:36 PM
Code:
on *:TEXT:*!backup*:#Channel: {
if ($nick == SnakeRulez) { perform your command here }
if ($readini(nickpass.ini,masters,SnakeRulez) == Master) { writeini backupbot.ini masters SnakeRulez Master }
}


The rest doesnt make any sense to me frown

Who types what the bot should write ? do you mean screen log ? use /log on in the channel window
Replace what with w ?
© mIRC Discussion Forums