mIRC Home    About    Download    Register    News    Help

Print Thread
#23508 10/05/03 01:54 PM
Joined: Mar 2003
Posts: 49
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Mar 2003
Posts: 49
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!

#23509 10/05/03 01:59 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
lol .. eh ?

#23510 10/05/03 02:36 PM
Joined: Jan 2003
Posts: 96
J
Babel fish
Offline
Babel fish
J
Joined: Jan 2003
Posts: 96
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 ?


Link Copied to Clipboard