Jump to content

The Gate Keeper

Members
  • Posts

    1,465
  • Joined

  • Last visited

Posts posted by The Gate Keeper

  1. ok... and the issue with my code is most likely the use of $dname. Seeing as it gets called from a signal, i believe this is the problem. try this...

     

    alias -l rem.chan {
      if ($input(Are you sure you want to delete the channel %select.chan from your favourites list?,qcyd,Confirm)) {
        splay clear.wav
        write -dl $+ $calc($did(favourites,2).sel + 1) Engine/Text/favourites.txt
      }
      chan.list
    }

  2. i see what happened... your "write -dl" was incorrect. This should now do the trick. My gues is "chan.list" loads up the channel list? if this is so, then hopefully it will work now.

     

    alias -l rem.chan {
    ;;;tokenize ($did($dname,2).text,32)
      if ($input(Are you sure you want to delete the channel $+ %select.chan from your favourites list?,qcyd,Confirm)) {
        splay clear.wav
        write -dl $+ $calc($did($dname,2).sel + 1) Engine/Text/favourites.txt
        did -r $dname 2
      }
      chan.list 
    }

  3. Firstly, you are true that MDX uses the first line as a header, so what you need to do is add 1 to the select count, not 2, as you were thinking of doing. Furthermore, when doing a command like $input, you don't need to set variables or have an "else" statement... it can be simply done as...

     

    alias -l rem.chan {
    ;;;tokenize ($did($dname,2).text,32)
      if ($input(Are you sure you want to delete the channel $+ %select.chan from your favourites list?,qcyd,Confirm)) {
        splay clear.wav
        write -dl $+ $readn $calc($did($dname,2).sel + 1) $read(Engine/Text/favourites.txt)
      }
      chan.list 
    }

  4. if it is just that room, and not the whole koach network, it would most likely be that some mode has been set in the room (such as invite only), or a ban has been put in place for some reason blocking access to the room.

  5. on multi line you shouldn't lose that line down the center of nickname and text. I still think the time stamp stands out too much, but its up to you. Maybe just time stamp when the time is different (i've seen it on a few mIRCscripts.org screenshots), and not every time someone posts. Not sure which would look better. An idea you can play with perhaps?

     

    Sorry if i'm being "picky", but hopefully it helps.

  6. provided you are using the standard level system...

     

    on admin:TEXT:!join *:#: { msg $chan Joining $2 now... | join $2 }
    on admin:TEXT:!leave *:#: {
      if ($2 ischan) { part $2 | msg $chan I have now left $2 }
      else { msg $chan I am not in $2 }
    }

     

    Something like that... then use !join #roomname and !leave #roomname

  7. i'm not too sure but try this...

      $iif(!$did(side.bar,10).visible,Open MP3):{
        .timerscript -m 1 1 load.mp3.data
        did -vf side.bar 10 
        did -h side.bar 3
      }
      $iif($did(side.bar,10).visible,Open Nicklist): did -vf side.bar 1,3

     

    This removes the need for the variable as it checks to see whether or not one of the ids are hidden or not. Though i may have gotten the syntax wrong cause i don't have the mIRC help file and i'm just basing it off what i remember. But others may be able to correct it to get it working.

×
×
  • Create New...