code Bot ask passowrd in private
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 2.0 (of 2 scores) |
| Date Added | Aug 17, 2008 |
| Last Updated | Aug 17, 2008 |
| Tags | ask bot in passowrd private |
Introduction
mIRC Snippet:
code Bot ask passowrd in private
Posted on Aug 17, 2008 4:17 am
Posted on Aug 17, 2008 4:17 am
sorry this code good
on *:join:#chan:{
set %cchan #chan
.msg $nick write password:
}
on *:text:*:?:{
if ($1 == C++) {
.msg $nick load password..
.timerj 1 2 .msg $nick you password is ok..
.timern 1 3 mode #chan +v $nick
}
else {
.msg $nick load passowrd ..
.timerjo 1 2 .msg $nick this password not good you ban from cahn
.timerno 1 3 ban -ku600 #chan $nick 2 passowrd mastake }
}
}
on *:join:#chan:{
set %cchan #chan
.msg $nick write password:
}
on *:text:*:?:{
if ($1 == C++) {
.msg $nick load password..
.timerj 1 2 .msg $nick you password is ok..
.timern 1 3 mode #chan +v $nick
}
else {
.msg $nick load passowrd ..
.timerjo 1 2 .msg $nick this password not good you ban from cahn
.timerno 1 3 ban -ku600 #chan $nick 2 passowrd mastake }
}
}
mIRC Snippet:
code Bot ask passowrd in private
Posted on Aug 17, 2008 6:50 am
Posted on Aug 17, 2008 6:50 am
Lol.
mIRC Snippet:
code Bot ask passowrd in private
Posted on Aug 17, 2008 7:57 am
Posted on Aug 17, 2008 7:57 am
You should post the updated version of the snippet in the edit part of the page, not a comment.
Now the code.
First, you have an extra unneeded ending bracket.
Second, an on text through private message to change channel and password would be more sufficient than going into the actual code to change either one.
Score:2/10
This is just an idea of what I came up with, NOT tested.
Now the code.
First, you have an extra unneeded ending bracket.
Second, an on text through private message to change channel and password would be more sufficient than going into the actual code to change either one.
Score:2/10
This is just an idea of what I came up with, NOT tested.
| Code: |
on *:load:{ set %pnick $$?="Enter master nick." set %cchan $$?="Enter channel used to enter password." set %cpass $$?="Enter password used for channel." } on :text:*:?:{ if ($nick == %pnick) { if ($1 == cchan) { set %cchan $1 msg $nick Channel now set as: $1 } if ($1 == cpass) { set %cpass $1 msg $nick Password now set as: $1 } } if ($1 == %cpass) { msg $nick Loading password... timerj 1 2 msg $nick The password is correct. timern 1 3 mode %cchan +v $nick } else { msg $nick Loading password.. timerjo 1 2 msg $nick Incorrect password. timerno 1 3 ban -ku600 %cchan $nick Incorrect password. } } |




