Announcement

Collapse
No announcement yet.

[Tutorial] Creating Basic mIRC Script's

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Tutorial] Creating Basic mIRC Script's

    This tutorial need update/edit by me in free time

    Many of u want to made ur own irc script or full bot but u didnt know from what to start. I hope that this tutorial will help u to enter to the world of irc scripting ; )

    1.My 1 script (msg type) :
    Every script (irc or not) need to have a ,,start line’’ . In irc the start line is :
    ‘’On *:text:<command text>*:#: {‘’
    In <..> type or own text who will run command , for example !help , script will looks :
    ‘’On *:text:!help*:#: {‘’
    --------------------------------------------
    ***Hint ! : If we want that this command will works ONLY on our channel change it to :
    ‘’On *:text:!help*:#channel: {‘’
    --------------------------------------------

    Now we need add a line what we will see on channel :
    ‘’msg $chan Text ‘’
    $chan – will send the message on this channel where command was used
    So our !help script will looks :
    ‘’On *:text:!help*:#: {
    msg $chan U need help ? Type !commands to see what commands u can use !’’
    --------------------------------------------
    ***Hint ! : If we want that this command will works ONLY on our channel change it to :
    ‘’On *:text:!help*:#channel: {
    msg $chan U need help ? Type !commands to see what commands u can use !’’
    --------------------------------------------
    Now we need to ,,close’’ script line with ,,}’’ . So our full !help script will looks :
    ‘’On *:text:!help*:#: {
    msg $chan U need help ? Type !commands to see what commands u can use !
    }’’
    --------------------------------------------
    ***Hint ! : If we want that this command will works ONLY on our channel change it to :
    ‘’On *:text:!help*:#channel: {
    msg $chan U need help ? Type !commands to see what commands u can use !
    }’’

    ================================================== ============================

    2.My 1 script (operator type)
    Well we will use all from 1 part of tutorial but with some changes : )
    I will made here !kick command for our bot.
    on *:TEXT:kick *:#: {
    if ($nick isop $chan) && ($me !isin $2-) {
    msg $chan $nick kicked $2 from $chan , reason : $3-
    kick $chan $2 $3-
    }
    *****************************
    Now I will tell u what we have here :
    *** if ($nick isop $chan) && ($me !isin $2-) {
    This line of script cheks if nick who used !kick command is OP+ ( @,&,~ ) on channel and if kicked nick is not our bot
    *** msg $chan $nick kicked $2 from $chan , reason : $3-
    $nick – other users will see who kicked our bad guy from channel
    $2 – is the 2 word in script ( here it will be some bad user nick)
    $3- - it will read all message from the 3 word , here it will be our kick reason , if we will do only $3 we will have :
    <TochA> !kick nick1 u are bad
    <bot> TochA kicks nick1 from channel , reason : u
    *** kick $chan $2 $3-
    its normal irc command what we (users) can use manual.
    ================================================== =
    3. My 1 script (owner/operator type)
    Here I will show u how to made a !level command to set %, @, & and ~ on our channel : )
    on *:TEXT:!level *:#: {
    if ($nick == <ur nick>) {
    cs $2 $chan add $3 }
    msg $chan Ur level on $chan is now $2 $3 ! }
    }
    **************************************
    What is this all ? :
    ** if ($nick == <ur nick>) {
    If u want that only u can use this cmd type :
    If ($nick == <my nick>) {
    If u want that only ops + ( @, & ~ ) ppl can set levels on ur channel type :
    If ($nick isop $chan ) {
    ** cs $2 $chan add $nick }
    its normal irc command what we (users) can use manual.
    $2 – its mode what we will set user
    $3 – is user nick
    ******************************
    So it will works :
    <TochA>!level op nick1
    <bot> Ur level on #chanel is now op nick1 !
    ////////
    <TochA>!level sop nick1
    <bot> Ur level on #chanel is now sop nick1 !
    ================================================== ===================
    So i hope that this tutorial helps u little to understand irc scripting . If u need more help u can always pm some other irc user if u see that he have theier own bot/script
    At end some small hints for u : ) :
    1. Before u will add new script to ur remote file do a BACKUP copy
    2. Made ur new scripts 1 in notepad/word and then add it to Remote files
    3. If some script don’t wana works ,don’t delete but analyze it ! Maby u just add one mark too much or too little
    4. If u have problems with ur script post it on some irc forum so other , more advanced irc scripters
    5. Don’t made scripts who u will use to annoy other irc users !!!


    U can always download irc scripts from ( for example) www.hawkee.com ! ( if author will allow, you can even edit them to your own use )
    Everything got their end somewhere, with someone.

There is currently 1 user online. 0 members and 1 guests.

Most users ever online was 15,681 at 08:23 AM on 17-06-20.

Working...