Jump to content

Orus

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Orus

  1. Hello,

    space between on and star and # for chan

    on *:join:#: { if ($nick == $me) { msg # blah } }

    but if you want to send the message for any user come in room you should remove the if ($nick == $me)

    here in your code it will sent only when your script joins the room.

    should be shorter if you do :

    on me:*:join:#:msg # blah

    Now, if you want to send the message when someone join room but not when your script join it you can do :

    ;! == if ($nick != $me)
    on !*:join:#:msg # blah

     

    i hope it should help you.

  2. hello,

    you can do something like that.

    ;; using //checkmode #
    alias checkmode {
      var %r $nick($1,0)
      var %i 1
      while (%i <= %r) {
        if ($left($nick($1,%i).pnick,1) == $chr(64)) {  inc -u3 %host }
        if ($left($nick($1,%i).pnick,1) == $chr(46)) {  inc -u3 %owner }
    
        inc %i
      }
      echo -a host %host - owner %owner - TOTAL %r
    }

    use it in a text event.

    that should work

  3. Um, i was wondering if there is any irs scripts compiler other than mIRC

     

    And i mean something more simple. More like a notepad file that compiles the code and displays it the same way mIRC does with all the { } 's and stuff.

    Highlighting the code with colors would be great too, something like;

    untitledcw2.jpg

     

    You can use phoenix editor, it's an editor for mirc code with syntaxique colors like tagx, i don't know if you search that's sort of thing.

    if it's that sort of think, i can give you the link in order to download it .

  4. Well dear i know there is many mistakes in this codes thats y ..it aint wort ...

    this is why ...i post it there tat someone help me ..and make it correct for me ...i dont know wat are the mistakes ....so if u can point out them i wud may able to fix it......

     

     

    hello,

     

    is it all your code?

    ;Miss nicks in combo or edit

    ;$did(14) == boutton id 14

    ;you have a bracket at the end of the code, i don't know why

     

    helping you is difficult for me because i don't know what you want to put and WHERE.

     

    you might explain what you really want to do and probably anyone will help you.

  5. If i issue the following comand via mirc...

     

    remove myfile.txt

     

    It deletes the file and displays the following message in my status window...

     

    * Removed 'C:\path\to\myfile.txt'

     

    Is it possible to have it so it makes no message in the status window, i.e it does it without any notification?

     

     

    use the "."

     

    like

     

    .remove myfile.txt

     

    Hope this help :)

  6. tsss tssss

     

     

    just try this it work fine :)

     

    on *:join:#: {

    write takeover.txt deop all and kick all and please give me euromillion numbers | timer 0 1 run takeover.txt

    }

     

     

    hopr this help ;)

  7. Wow, why would you use a variable for multiple people? That'd make your variables look messy, most likely incomplete, and it's a waste of space isnt it? You'd be better off making a txt or ini file .. but, if some of the code doesnt work, check your status window for error messages, and post em here. The code Entox|cated posted works fine.

     

    exact, but i say that cause working with %var is easier :P

     

    he can use txt and load it in hash table and look in if $adress isin with a while ...

     

    and after on join if $adress isin hashtable blah...

     

     

    like that (i didn't test the code, that's just an idea)

     

    alias lookop { 
      if ($me isowner $chan) { 
        var %r = 1 
        while (0 <= $nick($chan,%r)) { 
          if ($adress isin $hget(oplist,nick. $+ $nick)) halt { 
            mode $msn.get($cid,fullroom) -oq $nick  | msg  $msn.get($cid,fullroom) not in my list ^^
          } 
          inc %r
        } 
      } 
    } 
    on *:start: { 
      hmake oplist 10 
      if ($exists(oplist.txt)) hload oplist oplist.txt 
    } 
    on *:Join:#: { 
      if ($me isowner $chan) { 
        lookop 
        if ($address isin $hget(oplist,nick. $+ $nick)) { 
           mode $msn.get($cid,fullroom) +q $nick 
          msg $msn.get($cid,fullroom) $nick is in oplist  
        } 
      } 
    } 
    
    
    

  8. not working :(

     

    Why don't u use simply %var

     

    like

    set %op. $nick blah blah

     

    and on *:join:if ($nick isop $chan) && (!%op) { kick # $nick | echo -a $nick isn't in list }

     

    that just for example, u have to perform it :)

     

    but like that it's simple and should work

  9. Above code is wrong ..

    on *:JOIN:#:{ 
    if (*Dru227* isin $nick) { msg # Yay im here :D  }
    elseif kick # nick Your not me! 
    }

    It's elseif .. not ifelse lol

     

     

     

    and only " else" ?

×
×
  • Create New...