Jump to content

Pablo

Members
  • Posts

    62
  • Joined

  • Last visited

Everything posted by Pablo

  1. Pablo

    Dcx Help

    Well, when using xdock -m it docks to the main mIRC window which is the channel/chat window. So when you open the treebar, it is not docked to it, and only the main mIRC window. That behavior is normal and is not a bug. Yo could try docking to the toolbar using xdock -t, but then you would have to make the toolbar visible. From experience, you can mod the existing mIRC toolbar without using mdx or dcx. Never attempted to make one otherwise. I'l track down some info on how to mod the existing toolbar. Still need help with icons in the status?
  2. Pablo

    Dcx Help

    I copied and pasted the code and it worked fine. I am using mIRC 7.19 and a fairly recent version of DCX. I could only assume you had a copy and paste error or an old version of mIRC or DCX. Ensure you have the most recent version of mIRC (easy to find). The most recent version of DCX can be found via the forum thread from Ook @ http://dcx.scriptsdb.org/forum/forumdisplay.php?fid=22 If you still have problems.. comment out each (one at a time) line of xstatusbar making it ;xstatusbar until the error goes away. Then let me know which line exactly is giving you an error.
  3. Pablo

    Dcx Help

    You do need a xstatusbar alias to make the statusbar function. Also, you have to enable it with the -A command. Below is an example or a basic test dcx status bar. I have modified the code to match your posted code which assumes dcx.dll is in $scriptdir. alias dcx { if ($isid) returnex $dll($scriptdir $+ dcx.dll,$1,$2-) | else dll " $+ $scriptdir $+ dcx.dll" $1 $2- } alias xstatusbar { !if ($isid) returnex $dcx( _xstatusbar, mIRC $prop $1- ) dcx xstatusbar $1- } alias status { xstatusbar -A 1 notheme xstatusbar -l 100 200 200 -1 xstatusbar -t 1 + 0 Width100 $chr(9) Width100 Tooltip normal style xstatusbar -t 2 + 0 Width200 $chr(9) Width200 Tooltip normal style xstatusbar -t 3 +n 0 Width200 $chr(9) Width200 Tooltip noborder style xstatusbar -t 4 +p 0 Width Remainder $chr(9) Width Remainder Tooltip popup style } First verify that dcx.dll is located in the $scriptdir. Next run the /status alias and you should have a statusbar.
  4. I do not even see a mass kick protection anywhere in the script.. maybe I am missing something.. It is only probably kicking when you are kicked as a revenge. The script you posted looks more like it is not for protections other than revenge and mode locking. If you need specific protections let me know.. I will whip something together real quick.
  5. Well from what I can tell (which isn't much with regex): ^ matches the beginning character [^ negates the group.. matches anything not in the [] \. period character (negated) ^- also dash character (negated) g reads the expression greedy / repeat S reads the expression ignoring spaces From testing I concluded it matches any string that does not begin with a . or - (and a few other characters $%^ .. no clue why). I also do not see the point in the g or S being that we are only matching the beginning of a string. The regex pattern seems to match anything that is not a - or . command, or just regular alphanumeric responses. To go about the adapting this to CC's font codes, I am at a loss of words ATM at 4 am. Everything I try is not really working. I just know the equivalent in non-regex coding would be: (after it is stripped) if ($left($1,1) !isin -.) { commands.. } Someone could probably make it work, but now my head just hurts lol.. Maybe doing a regsubex to remove the font code is the answer to then process the text.
  6. A quick google search came up with nil. I loved my old commie. Guess I won't believe it until I see it lol.
  7. If you are using a plain mIRC socket-less connection to connect to the server, then there is no way to completely disable the CTCP VERSION reply. The only way to catch the VERSION before mIRC gets it is to use a socket connection to connect to the server. So I guess the next question is what do you use to connect to the server?
  8. According to their forums, Parachat has ceased to support the IRC protocol due to potential security risks. That being said you should cease trying to connect via native mIRC. On another note, with advanced knowledge of TCP sockets and mIRC scripting language, you could make some type of client using mIRC. If you do not have both of the above qualifications, it is very unlikely you will b able to connect via mIRC. Good luck
  9. Wanted to say that, but didn't. Was hoping someone had a solution
  10. As far as all the trivia commands work, you would know them better than I would. I revamped this to work for IRC users without fonts as well. Tested and functional, you just have to adapt to whatever trivia does. I am guessing it should be in all the on text commands. on $*:TEXT:/^(##\*.*\*##)?(.*)/:#: { msg # $1- ... ORIGINAL tokenize 32 $iif($regml(2), $v1, $regml(1)) msg # $1- ... STRIPPED } Good luck
  11. IMO, only mechanical items tat have moving parts would have their life shortened. Minus having fan failure, other overheating problems, or poorly designed circuits a motherboard and CPU can last several several years on all the time or not. Mechanical parts like hard drives and cd-roms would benefit from having a break now and then.
  12. timer still evaluates pipes ( | ).. I was not talking about !. The same example you posted unfortunately still evaluates the | symbol. //.timer 1 1 echo -a hahha | hahha /vs/ //echo -a hahha | hahha returns the same result (error): "hahha - invalid command"
  13. I agree with Dan.. start simple.. On DeeJay's note, I only stack commands once I know they are working right.. As far as your problem.. } dialog sidebar1 { should be erased :/dialog -m sidebar2 sidebar2 } should be erased :/dialog -m sidebar3 sidebar3 } should be erased $mdx should all be changed to dll\mdx.dll providing it is in dll\ folder. I do not even see an "alias mdx { .. }" alias rebar { return dll/rebar.dll } should be reduced to one only. .... going back to what Dan said, maybe you should get rid of SB2 and SB3 first.. and only try to make SB1 work first. If you correct these errors, I can actually attempt to run the code.
  14. I think it is related more towards the old timers missing the mass amounts of people they used to love. I see new users every day on various servers. Like Chain said, some servers are more active than others. Another known fact, I have lost a few chatters in my rooms to Facebook. Occasionally I see them, but for the most part they are as obsessed about FB as they were about mIRC. Things will always roll that way. Bottom line... more people are on computers now than ever... More options are available now than before as far as places to chat and waste time.. Will IRC get the same proportion as in the past? No.. Will IRC still get an ample amount of users? Yes.. Will IRC die? Everything dies at some point or other. I could only hope it outlives us. Heck, TELNET BBS sites are still out there. Anything is possible.... .. . .. . ..
  15. Well it was the header of the file and the method in which it was stored. I could not get anything to read the file as is. So since I was already running a command, I made a batch file to TYPE registry_export.file > clean.file after the registry export. Not so pretty, but it works.
  16. I'm stuck between a rock and a hard place; somewhere between using findfile for a slow laggy method and having a customizable dialog. My objective is to be able to find all system fonts as fast as REG EXPORT works while making a custom dialog. So are you saying that the registry output file is stored in unicode or with a binary header? I will look into that. The DCX method has some of the features I want. But if I make something, it should have what I want. Good option though.
  17. I tried just now.. no bueno.. it must be a mirc file processing thing.
  18. I am trying to read a text file that contains font entries from the registry from mIRC. The registry entries use quotation marks which mIRC seems to ignore. Any file I attempt to read with ""s in the various lines, it seems to just ignore those lines. My font scanner uses a run command to export the current Windows installed fonts. Then I wanted to read that file to build a list. However, the read will not read much of the file, I am assuming due to the quote marks. alias testfonts { echo -at Loading Fonts from the Windows registry.. GetFonts .timer 1 2 LoadFonts } alias -l mirc.fontfile { return $shortfn($mircdir) $+ fonts.dat } alias GetFonts { run -n reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" $mirc.fontfile } alias LoadFonts { var %i $lines($mirc.fontfile), %r 0 while (%r <= %i) { echo -at %r - $read($mirc.fontfile, %r) inc %r } } Using /testfonts gets me nothing but a bunch of blank lines. I have used /fopen and $fread to no avail. Is there a way to read this file without using binary? PS - I am assuming it is the quote marks because when i read mirc.ini, it skips lines with them.
  19. Well you guys are awesome. I did both things. I moved the hadd to raw and got rid of the timer. The timer was the culprit in handling the pipes. But regardless it is fixed and more efficient. raw 324:*:{ hadd cProt MODES $+ $2 $3- } raw 332:*:{ hadd cProt TOPIC $+ $2 $3- } There are just soo many ways of doing the same thing, sometimes you need to think out of the box. And this was really for Buzzen, just didn't realize there was another forum.
  20. I have encountered a bug in my connection/script I need advice on... For my channel protections (topic lock) I store the topic and modes for a channel to a hash on:JOIN. Well if a topic has a | or pipe in it, it makes the delimiters execute as commands. For example: hadd cProt MODES $+ # $chan(#).mode .timer 1 1 hadd cProt TOPIC $+ # $chan(#).topic Not sure why I use a timer on topic lol, but probably for a reason. Anyways, when a topic is "Blah | Help | Crap | Etc," mirc executes BLAH, HELP, CRAP, ETC. How do i remove this without stripping out the pipes?
  21. I just noticed Warrior has Return 5. I think it should be Return 1. 1 Should be for the INF icon.
  22. elseif on the remainder of your if statements... apparently one if resetting it after it sets inf. Warrior's code looks good to me. elseif ($left($nick($active,$1).pnick,1) == @) return 2 elseif ($left($nick($active,$1).pnick,1) == +) return 3
  23. It really depends on which connection you are using. I grab KILLs in the sockread event and make it echo to all the common channels of user. Regardless, we can make something for you if we know what connection you are using. (and of course I can convince someone to kill me)
  24. Yeah awesome work. Easy to read with tag hilites. Made go search thru my snippets.
×
×
  • Create New...