2 simple part scripts
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Sep 05, 2007 |
| Last Updated | Sep 05, 2007 |
| Tags | bot leave part |
|
|
Introduction
the owner script can be used in any chan and the part for op only can be used for the chan the person is in
replace BOTOWNER with your nick and replace BOTSNICKHERE with the bots nick.
mIRC Snippet:
2 simple part scripts
Posted on Sep 5, 2007 5:43 pm
Posted on Sep 5, 2007 5:43 pm
| Code: |
on *:text:!part*:#:{ if ($2 == $me) part $chan Requested by $nick $+ . elseif ($me ison $2) && ($nick == BOTOWNER) part $2 Requested by $nick $+ . } |
i combined ur two on text's and added a menu to set the bots owner
also, instead of writing "BOTS NAME" i put if($2 == $me) $me will return your name
mIRC Snippet:
2 simple part scripts
Posted on Sep 5, 2007 5:44 pm
Posted on Sep 5, 2007 5:44 pm
ignore the menu part, i decided no to add it and i forgot to erase it :P
mIRC Snippet:
2 simple part scripts
Posted on Sep 5, 2007 5:46 pm
Posted on Sep 5, 2007 5:46 pm
you can do it like this also..
| Code: |
| alias botowner { set %botowner $1 | echo -a BotOwner is now $1 } on *:TEXT:!part *:#: { if ($nick == %botowner) { part $2 requested by owner } } on *:TEXT:!part:#: { if ($nick isop $chan) { part $chan requested by $nick } } |






