Date: Tue, 26 Jul 2005 21:56:30 -0400 (EDT) From: zak@ircii.org (Zak) -removed grep/egrep buggy/broken. diff -ru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Jul 26 14:08:31 2005 +++ amn/ChangeLog Tue Jul 26 21:52:26 2005 @@ -423,3 +423,6 @@ -update KNOWNBUGS regarding window level. //zak -update the epic5 aka E5-UPDATES and E5-KNOWNBUGS in amn/docs dir. //zak -Change cvs letter (gs) for snapshot/testing. //zak +-remove grep/egrep just too buggy might work on something like it in the + future //zak diff -ru amn.orig/core/exec.m amn/core/exec.m --- amn.orig/core/exec.m Sat Jul 23 23:58:26 2005 +++ amn/core/exec.m Tue Jul 26 21:51:25 2005 @@ -58,61 +58,3 @@ @ close($fd); }; -# Author -- wd@anduril.org White_Dragon Chip Norkus -# Any deviation from the original is Jeremy Nelson's fault. -# Contributed to the EPIC project by Phoengold, on Fri, 14 Apr 2000. -# -# Usage: /grep [-w #] -# /egrep [-w #] -# Performs a text search on the lastlog of the current/specified window -alias egrep grep $* -alias grep -{ - ^local win,exp,re,i,x,l,s.,l.; - - if (![$0]) { - echo Usage: /grep [-w #] ; - return; - }; - - @ win = 1; - - if ([$0] == [-w]) { - if (![$2]) - return; - @ win = [$1]; - @ exp = [$2-]; - } else { - @ exp = [$*]; - }; - - if (!winlevel($win)) - assign -win; - - @ re = regcomp($exp); - - ### grep here, and save the lines - @ i = getset(LASTLOG); - @ x = 0; - while (i) - { - @ l = line($i $win); - if (!regexec($re $l)) { - @ s[$x] = l; - @ l[$x] = i; - @ x++; - }; - @ i--; - }; - @ regfree($re); - - echo ------------------ Results of grep: ----------------------; - @ i = 0; - while (i < x) { - xecho -nolog $[4]l[$i]: $s[$i]; - @ i++; - }; - echo ------------------------ End -----------------------------; -}; - -#WhiteDragon'Y2K Date: Wed, 27 Jul 2005 02:36:58 -0400 (EDT) From: zak@ircii.org (Zak) -removed edump, kreca didn't think much of it, and i don't think i do now, after fucking things up a few times for me, it's just too brutal. diff -ru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Jul 26 21:52:26 2005 +++ amn/ChangeLog Wed Jul 27 02:35:13 2005 @@ -426,3 +426,8 @@ -added hold_mode script into compat.m //zak -remove grep/egrep just too buggy might work on something like it in the future //zak + +7/27/05 +-removed edump if one wants it just /load dump from the epic5 base/scripts + directory, it's just too brutal for us to have use and clutters code + at this time. diff -ru amn.orig/core/compat.m amn/core/compat.m --- amn.orig/core/compat.m Tue Jul 26 17:43:32 2005 +++ amn/core/compat.m Wed Jul 27 02:33:30 2005 @@ -304,112 +304,6 @@ #to make this script compatable with epic5 without needing to use the builtins #or too many nonessential aliases/hooks/crap. and some actual improvements. -#dump from epic5/source. -# Copyright (c) 2005 David B. Kratter (BlackJac@EFNet) - -alias edump (args default "variable alias hook") { - fe ($args) dd { - switch ($dd) { - (alias*) { - dump.alias; - }; - (all) { - fe (alias array bind channel dcc hook timer variable window) ee { - dump.$ee; - }; - }; - (array*) { - dump.array; - }; - (bind*) { - dump.bind; - }; - (channel*) { - dump.channel; - }; - (dcc*) { - dump.dcc; - }; - (hook*) (on*) { - dump.hook; - }; - (timer*) { - dump.timer; - }; - (var*) { - dump.variable; - }; - (win*) { - dump.window; - }; - (*) { - xecho -b -c -s Dump what? \('$toupper($choice)' is unrecognized\); - }; - }; - }; -}; - -alias dump.alias (void) { - xecho -b -c -s Dumping your global aliases; - fe ($filter(dump.* $symbolctl(pmatch alias *))) dd { - ^alias -$dd; - }; - defer fe ($symbolctl(pmatch alias dump.*)) dd { - ^alias -$dd; - }; -}; - -alias dump.array (void) { - xecho -b -c -s Dumping your arrays; - fe ($getarrays(*)) dd { - @ delarray($dd); - }; -}; - -alias dump.bind (void) { - xecho -b -c -s Dumping your binds; - ^bind -defaults; -}; - -alias dump.channel (void) { - xecho -b -c -s Dumping your channels; - ^join 0; -}; - -alias dump.dcc (void) { - xecho -b -c -s Dumping your DCCs; - ^dcc closeall; -}; - -alias dump.hook (void) { - xecho -b -c -s Dumping your ONs; - fe ($hookctl(list hooks)) dd { - @ hookctl(remove $dd); - }; -}; - -alias dump.timer (void) { - xecho -b -c -s Dumping your timers; - fe ($timerctl(refnums)) dd { - @ timerctl(delete $dd); - }; -}; - -alias dump.variable (void) { - xecho -b -c -s Dumping your global variables; - fe ($symbolctl(pmatch assign *)) dd { - ^assign -dd; - }; -}; - -alias dump.window (void) { - xecho -b -c -s Dumping your windows; - fe ($remw($windowctl(get 0 refnum) $windowctl(refnums))) dd { - ^window refnum_or_swap $dd kill; - }; - ^window double off fixed off hold_mode off lastlog_level all level all name - notify off notify_level all number 1 skip off swappable on; -}; - #done by hop/taken from epic5/scripts source. addset hold_mode bool { fe ($winrefs()) x { Date: Wed, 27 Jul 2005 02:51:07 -0400 (EDT) From: zak@ircii.org (Zak) -add a bind hook for rejecting dcc CHAT requests, we had one for accept i do not know why i did not add one for reject until now. diff -ru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Jul 27 02:35:13 2005 +++ amn/ChangeLog Wed Jul 27 02:49:26 2005 @@ -431,3 +431,6 @@ -removed edump if one wants it just /load dump from the epic5 base/scripts directory, it's just too brutal for us to have use and clutters code at this time. +-add a reject hook for dcc chat requests(don't know why i didn't add this + earlier all i needed to do was add another bind sheesh), so alt-T to accept + a dcc chat request and alt-R to reject dcc chat request. Binary files amn.orig/core/hooks.m and amn/core/hooks.m differ Date: Wed, 27 Jul 2005 03:05:53 -0400 (EDT) From: zak@ircii.org (Zak) -update the TODO file for some things that needs to be done so kreca doesn't go whining about 'well what is there to do?' or maybe just maybe he might ACTUALLY do some tasks there is left to do, probably not in this century tho. diff -ru amn.orig/TODO amn/TODO --- amn.orig/TODO Sat Jul 23 09:56:25 2005 +++ amn/TODO Wed Jul 27 03:03:33 2005 @@ -1,4 +1,4 @@ -Amnesiac TODO/procastinating list. +Amnesiac TODO/procrastinating list. - make sure when urls are broken, dont leave two extra spaces between this might be impossible to do since it's controlled by epic //kreca @@ -10,6 +10,20 @@ - finish up the notify logging..tog signon/signoffs/off/on etc.. //kreca/crapple? + +- cleanup fkeys.m for proper $bindctl usage. + +- Make a better startup format with as little ansi as possible and a better + layout. + +- make a first run motd of explaining simple commands to configure amnesiac + since not everyone READS DOCUMENTATIONS. ie; /config /theme /format /ahelp + /ehelp to get the best out of it. possibly by if savefiles don't exist + then show firstrun. or something. + +- finish up or scrap the adcc module, i really hate to touch this myself + i have never heard of a request for this module nor have i heard a single + complaint about it working or not working perhaps a vote? - maybe? for - glines... <@skullY> you could if ([$0]==[y] || [$0]==[yes]) //vote? Date: Wed, 27 Jul 2005 04:34:47 -0400 (EDT) From: zak@ircii.org (Zak) -update the TODO file for some things that needs to be done so kreca doesn't go whining about 'well what is there to do?' or maybe just maybe he might ACTUALLY do some tasks there is left to do, probably not in this century tho. diff -ru amn.orig/KNOWNBUGS amn/KNOWNBUGS --- amn.orig/KNOWNBUGS Tue Jul 26 13:57:31 2005 +++ amn/KNOWNBUGS Wed Jul 27 04:33:32 2005 @@ -21,5 +21,9 @@ window and /wlevel none should fix the issue. (this is usually only noticed on first run/startup) +-/pmsg aka paste msg to user and certain lines will fuck your client up, + will fix when one of us get's around to it or rewrite or something. + i would highly suggest avoiding the usage of /pmsg at this time. + //crapple //zak@ircii.org Date: Wed, 27 Jul 2005 04:46:28 -0400 (EDT) From: zak@ircii.org (Zak) -added theme for msoul (msouly) should be ok for users with shitty default rxvt fonts. (less high ansi) more non-ansi. diff -ru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Jul 27 02:49:26 2005 +++ amn/ChangeLog Wed Jul 27 04:43:19 2005 @@ -434,3 +434,5 @@ -add a reject hook for dcc chat requests(don't know why i didn't add this earlier all i needed to do was add another bind sheesh), so alt-T to accept a dcc chat request and alt-R to reject dcc chat request. +-added a theme for msoul, 'souly' should also be ok for users on shitty + default rxvt terminal fonts. Only in amn/themes: souly.th Date: Wed, 27 Jul 2005 05:23:11 -0400 (EDT) From: zak@ircii.org (Zak) update the todofile of critical things to do especially paste. to be a priority. diff -aru amn.orig/TODO amn/TODO --- amn.orig/TODO Wed Jul 27 03:03:33 2005 +++ amn/TODO Wed Jul 27 05:22:14 2005 @@ -34,5 +34,12 @@ add mirc kick for ppl using mirc colors. all should have toggle for on and off, and should work with kickops variable. +-/delword # does not work. workaround... /delword word #channel + should make it so one can do /delword #. else what's the point of + having the numerics there? + +-/pmsg broke, fucks up client, /paste should output to current window + and or query/msg etc.. and get rid of /pmsg altogether would be nice. + and of course! UNSURPRISING BUG FIXES. Date: Fri, 29 Jul 2005 01:29:05 -0400 (EDT) From: zak@ircii.org (Zak) center the chan_usernum output on format t 2 /sc;s diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Jul 27 04:43:19 2005 +++ amn/ChangeLog Fri Jul 29 01:27:21 2005 @@ -436,3 +436,7 @@ a dcc chat request and alt-R to reject dcc chat request. -added a theme for msoul, 'souly' should also be ok for users on shitty default rxvt terminal fonts. + +7/29/05 +-center the format_scan_usernum on scan #2 (to the best theoretical + possibility) requested by krimson. diff -aru amn.orig/sc/scan.2 amn/sc/scan.2 --- amn.orig/sc/scan.2 Sat May 28 02:38:02 2005 +++ amn/sc/scan.2 Fri Jul 29 01:25:07 2005 @@ -1,6 +1,6 @@ package scan2 -@format_scan_users=[$$(hblk)[$$(c1)o$$(hblk)!$$(wht)$$1$(cl)$$(hblk)] $$(hblk)[$$(c1)n$$(hblk)!$$(wht)$$2$$(hblk)] $$(hblk)[$$(c1)v$$(hblk)!$$(wht)$$3$$(hblk)]] +@format_scan_users=[ $$(hblk)[$$(c1)o$$(hblk)!$$(wht)$$1$(cl)$$(hblk)] $$(hblk)[$$(c1)n$$(hblk)!$$(wht)$$2$$(hblk)] $$(hblk)[$$(c1)v$$(hblk)!$$(wht)$$3$$(hblk)]] @format_scan_width=15 @format_scan_header=[ $$(hwht)ÚÄÄ$$(cl)Ä$$(hwht)Ä$$(cl)ÄÄÄÄÄ$$(c1)ÄÄ-ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ$$(hblk)ÄÄÄÄÄÄÄÄÄÄÄ-] @format_scan_onjoin_nicks_border=[$$(hblk)[$$(c1)³$$(hblk)]] Date: Sun, 31 Jul 2005 03:52:02 -0400 (EDT) From: zak@ircii.org (Zak) big huge jumbo commit and release! snippit from changelog of following mega mega changes. -clean up alias.m removing a couple of usages of ansified usage; -change the /bantype to not say oblivion, how do we/you/anyone miss this??? -remove some cluttered up aliases with multiple bindings to other aliases that ppl probably don't even use ie; /eadd /edel /iadd etc... and stupid useless ones like /4dv, and fix up the documented code a bit/organize. //zak -add a 'coloUr' alias to go with colOr and we all know it's spelled colour not color right? ;D modified(color.m) //zak -^^same for sbcolour modified(sbcolor.m) //zak -cleanup more ansified crap in themes.m and documented some minor things while in there. //zak -merge sping.m into lag.m and remove sping it's pointless for 2 small aliases in 2 diff files. //zak -test the whoform.load append in the updates.m file, hopefully this will fix some issues with the usage of /who not showing up right. //zak -clean up some ugly crap in the fakeversion shit, and remove some, while adding 2 new version formatting which might be more suitable for some, also cleanup of arrays.m while in there somewhat //zak -clean up fkeys.m to do more/less proper @ bindctl now, i am unsure if more need's to be done here as i really don't have the time to test. however the do.fkey alias does seem like the reasonable place to have it set as the other's just modifies it on the command lines directly. will need to look into this more in the future. //zak. -rename the KNOWNBUGS file to NOTES about some script issues not really a bug and not really a script issue just to be documented. //zak -rename the TODO to TODO-BUGS which lists both TODO/BUGS list. and update documents while in both files including todo/bugs. //zak -update the UPGRADE doc for 13g(s) snapshot/release. //zak -fixed the relay module up so nicely that kreca couldn't comprehend doing such a nice task!, and hell tossed out most of his 600lines of 'code' and it does more now than it used to! ;((((, so now /relm /paste/ relsm /relw can be outputted to an active window as long as there's a query or channel dcc chat opend in that window. bye bye /pmsg /pquery aka /fuckclient.. //zak -removed the attack theme(broken) //zak -removed statbar #13 which was ugly from my old scrollz script. and broken. now it's replaced with skully's vanilla statbar. #13. //zak -update the ahelp file to reflect changes on /relm/relsm/paste/relw etc.. while removing some. -update greetz(eater,grimzy) add /about alias with a notice upon startup. //zak -remove mass.m from pasture. //zak -release amnesiac1.0a-cvs13g enjoy! //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Fri Jul 29 01:27:21 2005 +++ amn/ChangeLog Sun Jul 31 03:45:13 2005 @@ -440,3 +440,48 @@ 7/29/05 -center the format_scan_usernum on scan #2 (to the best theoretical possibility) requested by krimson. + +7/30/05 +-clean up alias.m removing a couple of usages of ansified usage; +-change the /bantype to not say oblivion, how do we/you/anyone miss this??? +-remove some cluttered up aliases with multiple bindings to other aliases + that ppl probably don't even use ie; /eadd /edel /iadd etc... and stupid + useless ones like /4dv, and fix up the documented code a + bit/organize. //zak +-add a 'coloUr' alias to go with colOr and we all know it's spelled colour + not color right? ;D modified(color.m) //zak +-^^same for sbcolour modified(sbcolor.m) //zak +-cleanup more ansified crap in themes.m and documented some minor things + while in there. //zak +-merge sping.m into lag.m and remove sping it's pointless for 2 small + aliases in 2 diff files. //zak +-test the whoform.load append in the updates.m file, hopefully this will + fix some issues with the usage of /who not showing up right. //zak +-clean up some ugly crap in the fakeversion shit, and remove some, while + adding 2 new version formatting which might be more suitable + for some, also cleanup of arrays.m while in there somewhat //zak +-clean up fkeys.m to do more/less proper @ bindctl now, i am unsure if + more need's to be done here as i really don't have the time to test. + however the do.fkey alias does seem like the reasonable place to have + it set as the other's just modifies it on the command lines directly. + will need to look into this more in the future. //zak. +-rename the KNOWNBUGS file to NOTES about some script issues not really a + bug and not really a script issue just to be documented. //zak +-rename the TODO to TODO-BUGS which lists both TODO/BUGS list. and update + documents while in both files including todo/bugs. //zak +-update the UPGRADE doc for 13g(s) snapshot/release. //zak +-fixed the relay module up so nicely that kreca couldn't comprehend doing + such a nice task!, and hell tossed out most of his 600lines of 'code' + and it does more now than it used to! ;((((, so now /relm /paste/ relsm + /relw can be outputted to an active window as long as there's a query + or channel dcc chat opend in that window. bye bye /pmsg /pquery aka + /fuckclient.. //zak +-removed the attack theme(broken) //zak +-removed statbar #13 which was ugly from my old scrollz script. + and broken. now it's replaced with skully's vanilla statbar. #13. //zak +-update the ahelp file to reflect changes on /relm/relsm/paste/relw etc.. + while removing some. +-update greetz(eater,grimzy) add /about alias with a notice upon startup. + //zak +-remove mass.m from pasture. //zak +-release amnesiac1.0a-cvs13g Only in amn.orig: KNOWNBUGS Only in amn: NOTES Only in amn.orig: TODO Only in amn: TODO-BUGS diff -aru amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Sun Jul 24 00:46:47 2005 +++ amn/UPGRADE Sun Jul 31 01:11:39 2005 @@ -84,3 +84,16 @@ rm -rf ~/.amn/.a.fsetsave rm -rf ~/.amn/.a.fsave then /adump + +::cvs-8/9/10/11/12 to cvs13g (in theory) +rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) +rm -rf ~/.amn/.mod.save +then /adump + +::<=8 to cvs-13g. +rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Tue Jul 26 17:41:27 2005 +++ amn/amn.epic Sun Jul 31 03:37:46 2005 @@ -1,7 +1,7 @@ /* amnesiac by crapple mods/bugfixes by kreca pr0pz and thanks go to void!, xavier!, fudd, BlackJac, hop, criminal, krimson, -twez, azel, violence, whitney, skullY, Alien88, kreca and any others -out there who have helped out. +twez, azel, violence, whitney, skullY, Alien88, kreca, eater, grimzy and +any others out there who have helped out. */ package amnesiac @@ -102,11 +102,11 @@ @msgfloodsensor=60 @awayt=60 @awayl=[on] -@awayr=[dead] +@awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=12gs +@commit_id=13g @a.rel=[1.0a cvs/$commit_id] -@a.date=[20050724] +@a.date=[20050731] @_ss=15 @_ovsize=5 @_ovmode=[fibxwzZsy] Only in amn/ans: about.ans diff -aru amn.orig/ans/amc.load amn/ans/amc.load --- amn.orig/ans/amc.load Mon May 2 12:22:09 2005 +++ amn/ans/amc.load Sun Jul 31 03:41:10 2005 @@ -1,5 +1,4 @@ aecho -aecho eval _center When I was a child I had a fever eval _center My hands felt just like two balloons eval _center I've got that feeling once again @@ -8,4 +7,7 @@ eval _center I have become comfortably numb aecho eval _center Pink Floyd - Comfortably numb. +aecho +aecho +eval _center Note: see /about for additional information. aecho diff -aru amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Tue Jun 21 06:27:02 2005 +++ amn/core/alias.m Sun Jul 31 03:39:54 2005 @@ -1,5 +1,5 @@ package alias -#last modified by crapple 6/4/05 +#last modified by crapple 7/30/05 #op/oper commands.... alias bki {bk $*;ignore $0 msgs} @@ -25,10 +25,6 @@ alias -E {^mod ^C -e $*} alias +I {^mode $C +I $*} alias +E {^mod ^C +e $*} -alias eadd +E $* -alias edel -E $* -alias iadd +I $* -alias idel -I $* alias bk {bankick $*} alias kb {bankick $*} alias cmode {c $*} @@ -74,14 +70,16 @@ #shamelessly ripped from playdough -channels alias channels {xecho -b Current channels: $mychannels()} alias spew channels + +#ctcp user aliases alias ctime ctcp $0 time alias cinfo ctcp $0 clientinfo alias cuinfo ctcp $0 userinfo -alias finger ctcp $0 finger +alias cfinger ctcp $0 finger alias sctime echo you have been connected to $S for $tdiff2(${time() - F}) alias sb bans -#script echo's probably some depreciated/broken shit here -- /zak +#script echo's prolly ok..methinks after 2/m's in production. //zak alias abwecho xecho -b -v $cparse($*) alias awecho xecho -v $cparse($*) alias aecho echo $cparse($*) @@ -134,6 +132,7 @@ #help shortcuts... alias a ahelp $* +alias about {more $(loadpath)ans/about.ans} #amnesiac configuration cmd's can be saved with /save -- //zak alias autoget {config m $*} @@ -159,7 +158,6 @@ #exec commands.... alias dir ls -lF $* -alias cat {exec -o cat $*} alias iwhois {exec whois $0 $*} alias stime //exec -o date alias touch {exec touch $0- $*} @@ -176,9 +174,7 @@ alias hosts {exec host $*} alias dig {exec dig $*} -#hacking toolz -# these settings are not saved with /save /saveall add it to .ircrc if -# needs to be. //zak.. +#builtin simplification aliases. alias arejoin {set auto_rejoin toggle} alias aww {set auto_whowas toggle} alias cmd {set command_chars $*} @@ -191,8 +187,7 @@ alias uinfo {set user_information $*} alias vctcp {set verbose_ctcp togggle} -#dumps and reload script. -#for scripters and advanced users in general. +#dumps and reload script, for scripters and advanced users in general. alias adump dump all;fe ($getarrays()) n1 {@delarray($n1)};unload * fe;load ~/.epicrc ## CrazyEddie's alias @@ -206,7 +201,6 @@ } #long aliases below here, this is about as clean as this file will get. -#we'll give some more a try... //zak alias ibm437 fixterm alias latin1 { @@ -318,15 +312,15 @@ } } alias bantype if (![$0]) { - xecho -b bantype set to $bt_ - xecho -b /bantype + xecho -v [a+c] bantype set to $bt_ + xecho -v [a+c] /bantype }{ switch ($0) { - (normal) {@bt_=[normal];@_bt=6;xecho -b oblivion bantype set to normal (n!*u@h.d n!*u@d.h)} - (better) {@bt_=[better];@_bt=3;xecho -b oblivion bantype set to better (*!*u@*.d *!*u@d.*)} - (host) {@bt_=[host];@_bt=2;xecho -b oblivion bantype set to host (*!*@h.d *!*@d.h)} - (domain) {@bt_=[domain];@_bt=4;xecho -b oblivion bantype set to domain (*!*@*.d *!*@d.*)} + (normal) {@bt_=[normal];@_bt=6;xecho -v [a+c] bantype set to normal (n!*u@h.d n!*u@d.h)} + (better) {@bt_=[better];@_bt=3;xecho -v [a+c] bantype set to better (*!*u@*.d *!*u@d.*)} + (host) {@bt_=[host];@_bt=2;xecho -v [a+c] bantype set to host (*!*@h.d *!*@d.h)} + (domain) {@bt_=[domain];@_bt=4;xecho -v [a+c] bantype set to domain (*!*@*.d *!*@d.*)} } } @@ -451,12 +445,6 @@ } } -alias 4dv { - fe ($*) ii { - ^quote mode $C -vvvv $ii $ii $ii $ii - } -} - alias bankick { if (![$0]) { xecho -b syn: /bankick nick @@ -489,7 +477,7 @@ alias op if (![$0]) { banner.lchead - banner.mid $(a.ver)$(cparse usage%K:%n) /op + banner.mid syn: /op banner.foot }{ if (match(*#* $*)) { diff -aru amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Sun Jun 26 01:45:08 2005 +++ amn/core/arrays.m Sun Jul 31 00:12:35 2005 @@ -574,26 +574,22 @@ @ setitem(svform 10 $$word(0 $info(v))/$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] $$(a.ver)$$sar(g/././$(a.rel)) ) @ setitem(svform 11 $$(a.ver)$$sar(g/././$(a.rel)) $$word(0 $info(v))/$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)]) @ setitem(svform 12 $$(a.ver)[$$(a.rel)] $$word(0 $info(v))/$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)]) -# svform 13-15 added - phuzion - 12.04.99 +::svform 13-15 added - phuzion - 12.04.99 -- 16 added 12.05.99 @ setitem(svform 13 $$word(0 $info(v))/$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] - $$tolower($uname(%s)-$uname(%%r)) - amnesiac/$$(a.rel)) @ setitem(svform 14 $$toupper($word(0 $info(v)))-$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] - $$uname(%s)-$$uname(%%r) - amnesiac!$$(a.rel)) @ setitem(svform 15 $$toupper($word(0 $info(v)))-$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] - $$uname(%s)-$$uname(%%r) - amnesiac/$$(a.rel)) -# svform 16 added - phuzion - 12.05.99 @ setitem(svform 16 $$tolower($word(0 $info(v)))-$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] - $$tolower($uname(%s))-$$uname(%%r) - amnesiac/$$(a.rel)) @ setitem(svform 17 ..$$word(0 $info(v))!$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] $$tolower($uname()) \\\($$a.ver/$$a.rel\\\) $$scdesc) @ setitem(svform 18 $$sar(g/././$word(0 $info(v))/$word(1 $info(v)).$word(2 $info(v))).$$word(3 $info(v))[$$info(i)] $$tolower($sar(g/././$uname())) $$a.ver/$$sar(g/././$a.rel)) -# 19-26 added - zak - 1/1/04--5/3/05 -#fake version shit here..... -@ setitem(svform 19 ircii/epic5-0.0.5[$info(i)] sunos 5.10(insanity)amnesiac/$$(a.rel)) -@ setitem(svform 20 irssi v0.8.10-rc5 - running on Linux i686) -@ setitem(svform 21 BitchX-1.0c20cvs+ by panasync - Lunix 2.6.1337 : Keep it to yourself!) -@ setitem(svform 22 ircII 20040831+ScrollZ 1.9.4 (31.8.2004)+Cdcc v1.8+OperMods v1.0 by acidflash - clear(01g))) -@ setitem(svform 23 mIRC v6.16 Khaled Mardam-Bey) -@ setitem(svform 24 xchat 2.4.1 Linux 2.6.11-gentoo-r6 [i686/2.40GHz]) -@ setitem(svform 25 ircII 20050423+ScrollZ 1.9.5 (19.12.2004)+Cdcc v1.8+OperMods v1.0 by acidflash - Almost there) -@ setitem(svform 26 BitchX-1.1-final+ by panasync - *IX :7A69!) -@ setitem(svform 27 ircII EPIC4-2.0 OpenBSD 3.7 - Accept no limitations.) -@ setitem(svform 28 ircII EPIC5-0.0.6 OpenBSD 3.7 - Accept no limitations.) +::svform 19-20 added - zak - 7/30/05 - 21-26 -- fake version stuff. +@ setitem(svform 19 ircII $J $uname()) +@ setitem(svform 20 ircII $J[$info(i)] $uname()) +@ setitem(svform 21 ircii/$$word(0 $info(v))-$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$info(i)] sunos 5.10(insanity)amnesiac/$$(a.rel)) +@ setitem(svform 22 irssi v0.8.10-rc5 - running on OpenBSD Sparc64) +@ setitem(svform 23 ircII 20050423+ScrollZ 1.9.5 (19.12.2004)+Cdcc v1.8+OperMods v1.0 by acidflash - clear(01g))) +@ setitem(svform 24 ircII 20050423+ScrollZ 1.9.5 (19.12.2004)+Cdcc v1.8+OperMods v1.0 by acidflash - Almost there) +@ setitem(svform 25 BitchX-1.1-final+ by panasync - *IX :7A69!) +@ setitem(svform 26 mIRC v6.16 Khaled Mardam-Bey) ## wall formats @ delarray(wallform) diff -aru amn.orig/core/bans.m amn/core/bans.m --- amn.orig/core/bans.m Sun Jul 24 01:03:39 2005 +++ amn/core/bans.m Sun Jul 31 00:20:01 2005 @@ -151,8 +151,8 @@ alias _selfban { if ([$0]==[ON] || [$0]==[OFF]) { @_ubanself = [$0] - xecho -v (protect).. unban self set to $0 + xecho -v (sprot).. unban self set to $0 }{ - xecho -v (protect).. unban self set to $_ubanself + xecho -v (sprot).. unban self set to $_ubanself } } diff -aru amn.orig/core/color.m amn/core/color.m --- amn.orig/core/color.m Mon May 2 08:47:53 2005 +++ amn/core/color.m Sat Jul 30 23:04:58 2005 @@ -1,4 +1,5 @@ package color +alias colour color $* alias color { @:clear = [$(cl)] diff -aru amn.orig/core/compat.m amn/core/compat.m --- amn.orig/core/compat.m Wed Jul 27 02:33:30 2005 +++ amn/core/compat.m Sun Jul 31 01:25:22 2005 @@ -5,8 +5,8 @@ }; -#delset's ripped from builtins script written by blackjac. -#addset modded a bit thanks to xavier! +#addset's ripped from builtins script written by blackjac. +#xaddset modded a bit thanks to xavier! alias xaddset (name, type default "str", value) { # char and str sanitycheck, no default, int and bool default to 0/off switch ($type) { @@ -19,7 +19,7 @@ ^set $name $value; }; -#oldset (original addset alias from blackjack) +#addset (original addset alias from blackjack) alias addset (name, type, args) { if (@name && type) { @ symbolctl(create $name); @@ -242,7 +242,7 @@ set reverse_status_line on; #misc aliases/to go with functs that common people use. -#whowas... + alias whowas (nick, number default "$num_of_whowas", void) { //whowas $nick $number; }; @@ -256,7 +256,6 @@ }; }; -#auto_rejoin stuff... ^on #-kick 1 '$$servernick() *' { if (getset(auto_rejoin) == [on]) { if (:delay = getset(auto_rejoin_delay)) { @@ -289,7 +288,6 @@ }; #nasty hack at my usage of making an auto-reconnect //zak -#auto_reconnect shit. ^on #-server_lost 18 "*" { if (getset(auto_reconnect) == [on]) { if (:delay = getset(auto_reconnect_delay)) { diff -aru amn.orig/core/fkey.m amn/core/fkey.m --- amn.orig/core/fkey.m Fri May 20 21:38:30 2005 +++ amn/core/fkey.m Sun Jul 31 00:31:08 2005 @@ -126,26 +126,26 @@ } } alias do.fkey { -^bind ^[[[A parse_command $fke1 -^bind ^[OP parse_command $fke1 -^bind ^[[11~ parse_command $fke1 -^bind ^[[[B parse_command $fke2 -^bind ^[OQ parse_command $fke2 -^bind ^[[12~ parse_command $fke2 -^bind ^[[[C parse_command $fke3 -^bind ^[OR parse_command $fke3 -^bind ^[[13~ parse_command $fke3 -^bind ^[[[D parse_command $fke4 -^bind ^[OS parse_command $fke4 -^bind ^[[14~ parse_command $fke4 -^bind ^[[[E parse_command $fke5 -^bind ^[[15~ parse_command $fke5 -^bind ^[[17~ parse_command $fke6 -^bind ^[[18~ parse_command $fke7 -^bind ^[[19~ parse_command $fke8 -^bind ^[[20~ parse_command $fke9 -^bind ^[[21~ parse_command $fke10 -^bind ^[[23~ parse_command $fke11 -^bind ^[[24~ parse_command $fke12 +@ bindctl(sequence ^[[[A parse_command $fke1) +@ bindctl(sequence ^[OP parse_command $fke1) +@ bindctl(sequence ^[[11~ parse_command $fke1) +@ bindctl(sequence ^[[[B parse_command $fke2) +@ bindctl(sequence ^[OQ parse_command $fke2) +@ bindctl(sequence ^[[12~ parse_command $fke2) +@ bindctl(sequence ^[[[C parse_command $fke3) +@ bindctl(sequence ^[OR parse_command $fke3) +@ bindctl(sequence ^[[13~ parse_command $fke3) +@ bindctl(sequence ^[[[D parse_command $fke4) +@ bindctl(sequence ^[OS parse_command $fke4) +@ bindctl(sequence ^[[14~ parse_command $fke4) +@ bindctl(sequence ^[[[E parse_command $fke5) +@ bindctl(sequence ^[[15~ parse_command $fke5) +@ bindctl(sequence ^[[17~ parse_command $fke6) +@ bindctl(sequence ^[[18~ parse_command $fke7) +@ bindctl(sequence ^[[19~ parse_command $fke8) +@ bindctl(sequence ^[[20~ parse_command $fke9) +@ bindctl(sequence ^[[21~ parse_command $fke10) +@ bindctl(sequence ^[[23~ parse_command $fke11) +@ bindctl(sequence ^[[24~ parse_command $fke12) } do.fkey diff -aru amn.orig/core/help.m amn/core/help.m --- amn.orig/core/help.m Sat Jul 9 17:18:32 2005 +++ amn/core/help.m Sun Jul 31 02:48:52 2005 @@ -1,5 +1,5 @@ package help -@hwords=[relw rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir uldir tb ps df ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop paste readlog wall user chops sv relm relsm reln relsn emsg esay frelm tsave freln away back format config color sbcolor dict paste saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb kline links lk locops lpaste lsay mdv minv mkill mkline mme mmsg mnot more mv mw nops not operview operwall partall pmsg qk staynick supt theme tig tkline unban unkline untheme winhelp] +@hwords=[relw rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir uldir tb ps df ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop paste readlog wall user chops sv relm relsm reln relsn emsg esay frelm tsave freln away back format config color sbcolor dict paste saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb kline links lk locops lpaste lsay mdv minv mkill mkline mme mmsg mnot more mv mw nops not operview operwall partall qk staynick supt theme tig tkline unban unkline untheme winhelp] alias ahelp if (![$0]) { banner.head @_ohcenter=[${word(0 $geom()) / 2 + 40}] @@ -39,10 +39,8 @@ @ :qk=[%Wu%nsage%K:%n /qk - will bankick specified nick then unban them after 5 seconds. @ :bkt=[%Wu%nsage%K:%n /bkt same as qt. @ :df=[%Wu%nsage%K:%n /df shows disk space usage. -@ :a=[%Wu%nsage%K:%n /a short for ahelp. @ :dldir=[%Wu%nsage%K:%n /dldir sets download path. @ :uldir=[%Wu%nsage%K:%n /uldir sets upload path to file you need to upload. -@ :pmsg=[%Wu%nsage%K:%n /pmsg similar to /paste it will prompt you for what line and nick you want to paste. @ :partall=[%Wu%nsage%K:%n /partall will part all current channels. @ :operwall=[%Wu%nsage%K:%n /operwall will send a operwall with specified text to the server. @ :operview=[%Wu%nsage%K:%n /operview will open up a split window will the level WALLOPS OPNOTES SNOTES so all server msgs will go to that window. @@ -108,10 +106,10 @@ @ :user=[%Wu%nsage%K:%n /user <-nonops> <-ops> <-sort> hostmask :scans nicks on channel @ :chops=[%Wu%nsage%K:%n /chops scans op'd nicks on channel @ :sv=[%Wu%nsage%K:%n /sv shows current client/script version to channel -@ :relm=[%Wu%nsage%K:%n /relm relays last recieved msg number to channel -@ :relsm=[%Wu%nsage%K:%n /relsm relays last sent msg number to channel -@ :reln=[%Wu%nsage%K:%n /reln relays last notice recieved to channel -@ :relsn=[%Wu%nsage%K:%n /relsn relays last sent notice to channel +@ :relm=[%Wu%nsage%K:%n /relm then to paste msg lines in buffer +@ :relsm=[%Wu%nsage%K:%n /relsm then to paste sent msg lines in buffger +@ :reln=[%Wu%nsage%K:%n /reln then to paste notice lines in buffer +@ :relsn=[%Wu%nsage%K:%n /relsn then to paste sent notice lines in buffer @ :away=[%Wu%nsage%K:%n /away set yourself away] @ :back=[%Wu%nsage%K:%n /back turns away off.] @ :format=[%Wu%nsage%K:%n /format changes format letter to #] diff -aru amn.orig/core/lag.m amn/core/lag.m --- amn.orig/core/lag.m Tue Apr 5 17:01:09 2005 +++ amn/core/lag.m Sat Jul 30 23:25:22 2005 @@ -20,4 +20,25 @@ _orb.relag -oof \ No newline at end of file +#end psykotyk's orb. + +alias sping { + @pblah = time() + if (![$0]) { + @svar1=[$S] + //quote ping $svar1 :$svar1;do.pong + }{ + @svar=[$0] + //quote ping $svar :$svar;do.pong + } +} +alias do.pong { + ^on #^pong 10 "*" { + if ([$0] == svar ^^ [$0] == [$svar1]) { + xecho -v -b your lag to $0 is: ${time() - pblah} second(s) + ^on #^pong 10 -"*" + } + } +} + +oof diff -aru amn.orig/core/sbar.m amn/core/sbar.m --- amn.orig/core/sbar.m Mon Jul 4 12:34:51 2005 +++ amn/core/sbar.m Sun Jul 31 02:36:48 2005 @@ -1,5 +1,5 @@ package sbar -@ sbar.max = 14 +@ sbar.max = 13 alias sbar if ([$0] && ([$0] <= sbar.max)) { @statbar=[stat.$0] @statnum=[$0] diff -aru amn.orig/core/sbcolor.m amn/core/sbcolor.m --- amn.orig/core/sbcolor.m Mon May 2 09:38:20 2005 +++ amn/core/sbcolor.m Sat Jul 30 23:08:53 2005 @@ -1,4 +1,5 @@ package sbcolor +alias sbcolour sbcolor $* alias sbcolor { @:clear = [$(cl)] @:blue = [$(blu)] Only in amn.orig/core: sping.m diff -aru amn.orig/core/theme.m amn/core/theme.m --- amn.orig/core/theme.m Wed Jun 8 20:25:57 2005 +++ amn/core/theme.m Sat Jul 30 23:20:16 2005 @@ -1,5 +1,6 @@ package theme ## codelogic's theme module, thanx to robohak for help w/ padding +## modified crapple/kreca 05 alias tsave if ([$1]) { @ blahfile = $0 if (fexist($(loadpath)themes/$0.th)) { @@ -57,7 +58,7 @@ @ write($saveth @sc3=[$sc3) @ write($saveth @sc4=[$sc4) @ close($saveth) - xecho -v [a+c]: saved theme file [$(loadpath)themes/$(name).th] $(hblk)\($(cl)$desc$(hblk)\)$(cl) + xecho -v [a+c]: saved theme file [$(loadpath)themes/$(name).th] $desc ^load $(loadpath)themes/$(name).th ^eval load $(loadpath)core/fsets.m ^eval load $(loadpath)core/arrays.m @@ -89,7 +90,7 @@ ^eval load $(loadpath)core/arrays.m ^update.f ^getusers - xecho -v -b loaded theme file [$(0).th] by $auth $(hblk)\($(cl)$desc$(hblk)\)$(cl) + xecho -v [a+c] loaded theme file [$(0).th] by $auth $desc } } diff -aru amn.orig/core/update.m amn/core/update.m --- amn.orig/core/update.m Mon Jun 6 15:58:51 2005 +++ amn/core/update.m Sat Jul 30 23:28:28 2005 @@ -23,6 +23,7 @@ ^eval ncomp.load $ncomp ^eval svform.load $svform ^eval wallform.load $wallform +^eval whoform.load $whoform ^eval awayform.load $awayform ^eval actform.load $actform ^eval xdescform.load $descform diff -aru amn.orig/modules/relay/relay.m amn/modules/relay/relay.m --- amn.orig/modules/relay/relay.m Fri May 20 21:16:28 2005 +++ amn/modules/relay/relay.m Sun Jul 31 02:04:57 2005 @@ -1,67 +1,10 @@ subpackage relay -#kreca added some patches for better enhancements, see changelog. +#modified by crapple for the far greater good on 7/31/05! BYE BYE POISON! alias paste relw ^set output_rewrite $_paste($1-)$1- -alias pmsg { - if (![$0]) { - @relayw=[OFF] - for (@xx=0, xx= winsize()) { @@ -78,8 +21,8 @@ for (@xx=0, xx which line(s) to paste to $(hblk)]$(cl): " { + input "[enter which line(s) to paste to ]: " { fe ($*) xx { @ aa = substr("-" $xx) if ( aa != -1 ) @@ -120,7 +63,7 @@ } for (@cc=start,cc<=end, @cc++) { - ^msg $0 $getitem(_foo $cc) + msg $T $getitem(_foo $cc) } } @relayw=[ON] @@ -143,7 +86,7 @@ echo $(hblk)[$(hwht)$(yy)$(hblk)] $getitem(rmesg $yy) } } - input "$(hblk)[$(cl)enter which line(s) to relm$(hblk)]$(cl): " { + input "[enter which line(s) to relm]: " { fe ($*) xx { @ aa = substr("-" $xx) if ( aa != -1 ) @@ -157,7 +100,7 @@ } for (@cc=start,cc<=end, @cc++) { - ^say $getitem(rmesg $cc) + msg $T $getitem(rmesg $cc) } } @relayw=[ON] @@ -181,7 +124,7 @@ echo $(hblk)[$(hwht)$(yy)$(hblk)] $getitem(rnot $yy) } } - input "$(hblk)[$(cl)enter which line(s) to reln$(hblk)]$(cl): " { + input "[enter which line(s) to reln]: " { fe ($*) xx { @ aa = substr("-" $xx) if ( aa != -1 ) @@ -195,7 +138,7 @@ } for (@cc=start,cc<=end, @cc++) { - ^say $getitem(rnot $cc) + msg $T $getitem(rnot $cc) } } @relayw=[ON] @@ -222,7 +165,7 @@ echo $(hblk)[$(hwht)$(zz)$(hblk)] $getitem(smsg $zz) } } - input "$(hblk)[$(cl)enter which line(s) to relsm$(hblk)]$(cl): " { + input "[enter which line(s) to relsm]: " { fe ($*) xx { @ aa = substr("-" $xx) if ( aa != -1 ) @@ -236,7 +179,7 @@ } for (@cc=start,cc<=end, @cc++) { - ^say $getitem(smsg $cc) + msg $T $getitem(smsg $cc) } } @relayw=[ON] @@ -260,7 +203,7 @@ echo $(hblk)[$(hwht)$(zz)$(hblk)] $getitem(snot $zz) } } - input "$(hblk)[$(cl)enter which line(s) to relsm$(hblk)]$(cl): " { + input "[enter which line(s) to relsm]: " { fe ($*) xx { @ aa = substr("-" $xx) if ( aa != -1 ) @@ -274,7 +217,7 @@ } for (@cc=start,cc<=end, @cc++) { - $getitem(snot $cc) + msg $T $getitem(snot $cc) } } @relayw=[ON] Only in amn.orig/pasture: mass.m diff -aru amn.orig/stats/stat.13 amn/stats/stat.13 --- amn.orig/stats/stat.13 Mon Jul 4 12:22:24 2005 +++ amn/stats/stat.13 Mon Jul 4 11:22:10 2005 @@ -1,39 +1,34 @@ -/* $Id: stat.13,v 1.2 2003/09/05 01:42:45 void Exp $ */ -/* - * Created by Brian Weiss for DarkStar/EPIC4 - */ +package stat14 -### -### haxed by alpha for use with neurotik -### - -window double on -set INPUT_PROMPT 36Àì-1 -set REVERSE_STATUS_LINE OFF -set STATUS_AWAY 36[-1A${AWAY[MSGS] ? [36!-1$AWAY.MSGS] : []}36]-1 -set status_channel 36-[-1%C36 -set STATUS_CHANOP 36@-1 -set STATUS_CLOCK %T -set STATUS_DOES_EXPANDOS ON -set STATUS_FORMAT 36[%W36é%W36]ÍÍ[-1%R36]ÍÍ%Q36Í%>Í[%W36é%W36] -set STATUS_FORMAT1 36,-1ÖÄ[-1$Z36]Ä[-1%R36]Ä[56%*36%=%@-1%N%#36]-1%C%+%B36Ä%Q36Ä-1%F36Ä%>%A36Ä· -set STATUS_FORMAT2 36,-1ÇÄ%U%{2}S%536Ä%>%M36Ä[-1dcc36$fixsize($trunc(0 $before(of $after(: \(-1%D36\))))))]Ä[-1%V36]Ľ -set -STATUS_HOLD -set STATUS_HOLD_LINES 36Ä\(-1h36!-1%B36\)-1 -set STATUS_MAIL 36[-1mail36!-1%M36]-1 -set STATUS_MODE 36\(-1+%+36\)]-1 -set STATUS_NICKNAME $N -set STATUS_NO_REPEAT OFF -set STATUS_NOTIFY 36\(-1w36!-1%F36\)-1 -set STATUS_OPER 56*-1 -set STATUS_QUERY 36\(-1q36!-1$Q36\)-1 -set -STATUS_SCROLLBACK -set STATUS_SERVER 36[-1$left(24 $servername($winserv()))36/-1$lag()36]-1 -set STATUS_UMODE 36\(-1+%#36\)-1 -set STATUS_USER ${C ? [36[-1t36/-1$numonchannel() o36/-1$#chops() n36/-1$#nochops()36]ÄÄ-1] : []} -set status_user5 36Ä[-1lj36\(-1${lastjoinnk ? [$lastjoinnk] : []}${lastjoinch ? [36/-1$lastjoinch] : []}36\)]Ä -set STATUS_VOICE 36+-1 -set STATUS_WINDOW 56*-1 - - -/* EOF */ \ No newline at end of file +alias stat14 { +^window double off +^set status_format %T [%R] %*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L %D %W +^set status_format1 %T [%R] +%*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L +^set status_format2 (ops:%Y) (non:%X) (voc:%Z) %U %> +^set input_prompt > +^set status_umode (+%#) +^set status_oper * +^set status_channel %C +^set status_mode (+%+) +^set status_clock %T +^set status_chanop @ +^set status_format5 %> %5 +^set status_mail (Mail: %M) +^set status_user5 $(sc1)s$(hblk)/$(sc2)$S +^set status_voice + +^set status_away (Away) +^set status_hold_lines %B +^set status_query (Query: %Q) +^set STATUS_CPU_SAVER (%L) +^set STATUS_HOLD Held: +^set STATUS_NICKNAME %N +^set STATUS_NOTIFY (W: %F) +^set STATUS_OVERWRITE (Overwrite) +^set STATUS_SCROLLBACK (Scroll) +^set STATUS_SERVER %S +^set -STATUS_USER +^set STATUS_WINDOW ^^^^^^^^ +^set REVERSE_STATUS_LINE on +} +stat14 +^timer -del 14 Only in amn.orig/stats: stat.14 Only in amn.orig/themes: attack.th diff -aru amn.orig/themes/vanilla.th amn/themes/vanilla.th --- amn.orig/themes/vanilla.th Wed Jun 8 20:18:42 2005 +++ amn/themes/vanilla.th Sun Jul 31 02:36:31 2005 @@ -35,7 +35,7 @@ @actform=4 @whoform=2 @whofootform=2 -@statbar=[stat.14] +@statbar=[stat.13] @_whois=5 @c1=[ @c2=[ Date: Sun, 31 Jul 2005 04:17:02 -0400 (EDT) From: zak@ircii.org (Zak) ack, fkey.m core actually did break shit, back out changes until later. and re-released. blocked it before anyone did any downloads thankfully!. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sun Jul 31 03:45:13 2005 +++ amn/ChangeLog Sun Jul 31 04:13:00 2005 @@ -485,3 +485,4 @@ //zak -remove mass.m from pasture. //zak -release amnesiac1.0a-cvs13g +-ack the fkeys.m did actually break back out changes and re-release //zak diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Sun Jul 31 03:44:22 2005 +++ amn/TODO-BUGS Sun Jul 31 04:14:03 2005 @@ -14,8 +14,10 @@ (Alien88_[alien@umich.edu]) reset opermodes //vote? @ finish up the notify logging..tog signon/signoffs/off/on etc.. //kreca/crapple? -+ check to see if fkeys.m does need more @ bindctl usage in the future. +@ check to see if fkeys.m does need more @ bindctl usage in the future. (finished the todo of adding the @bindctl to do.fkey's alias) //zak + it broke as i released cvs13g backed out changes until later //zak. + + Make a better startup format with as little ansi as possible and a better layout. + make a first run motd of explaining simple commands to configure amnesiac diff -aru amn.orig/core/fkey.m amn/core/fkey.m --- amn.orig/core/fkey.m Sun Jul 31 00:31:08 2005 +++ amn/core/fkey.m Sun Jul 31 04:14:47 2005 @@ -126,26 +126,26 @@ } } alias do.fkey { -@ bindctl(sequence ^[[[A parse_command $fke1) -@ bindctl(sequence ^[OP parse_command $fke1) -@ bindctl(sequence ^[[11~ parse_command $fke1) -@ bindctl(sequence ^[[[B parse_command $fke2) -@ bindctl(sequence ^[OQ parse_command $fke2) -@ bindctl(sequence ^[[12~ parse_command $fke2) -@ bindctl(sequence ^[[[C parse_command $fke3) -@ bindctl(sequence ^[OR parse_command $fke3) -@ bindctl(sequence ^[[13~ parse_command $fke3) -@ bindctl(sequence ^[[[D parse_command $fke4) -@ bindctl(sequence ^[OS parse_command $fke4) -@ bindctl(sequence ^[[14~ parse_command $fke4) -@ bindctl(sequence ^[[[E parse_command $fke5) -@ bindctl(sequence ^[[15~ parse_command $fke5) -@ bindctl(sequence ^[[17~ parse_command $fke6) -@ bindctl(sequence ^[[18~ parse_command $fke7) -@ bindctl(sequence ^[[19~ parse_command $fke8) -@ bindctl(sequence ^[[20~ parse_command $fke9) -@ bindctl(sequence ^[[21~ parse_command $fke10) -@ bindctl(sequence ^[[23~ parse_command $fke11) -@ bindctl(sequence ^[[24~ parse_command $fke12) +^bind ^[[[A parse_command $fke1 +^bind ^[OP parse_command $fke1 +^bind ^[[11~ parse_command $fke1 +^bind ^[[[B parse_command $fke2 +^bind ^[OQ parse_command $fke2 +^bind ^[[12~ parse_command $fke2 +^bind ^[[[C parse_command $fke3 +^bind ^[OR parse_command $fke3 +^bind ^[[13~ parse_command $fke3 +^bind ^[[[D parse_command $fke4 +^bind ^[OS parse_command $fke4 +^bind ^[[14~ parse_command $fke4 +^bind ^[[[E parse_command $fke5 +^bind ^[[15~ parse_command $fke5 +^bind ^[[17~ parse_command $fke6 +^bind ^[[18~ parse_command $fke7 +^bind ^[[19~ parse_command $fke8 +^bind ^[[20~ parse_command $fke9 +^bind ^[[21~ parse_command $fke10 +^bind ^[[23~ parse_command $fke11 +^bind ^[[24~ parse_command $fke12 } do.fkey Date: Tue, 2 Aug 2005 06:18:53 -0400 (EDT) From: zak@ircii.org (Zak) multiple changes, documentation/removals, some improvements, couple bugfixes. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sun Jul 31 04:13:00 2005 +++ amn/ChangeLog Tue Aug 2 06:13:07 2005 @@ -486,3 +486,24 @@ -remove mass.m from pasture. //zak -release amnesiac1.0a-cvs13g -ack the fkeys.m did actually break back out changes and re-release //zak + +8/2/05 +-remove the usermods-commands.txt from documents it's not needed anymore + with the new improved help /ehelp when the module is + loaded just run /uhelp //zak +-remove the E5-UPDATES txtfile, not needed since script has both epic4/5 + support but i will keep the E5-KNOWNBUGS updated as i see fit. + this should shrink the scriptsize a bit. //zak +-updated some info in the UNTESTED documents mainly about the topwin module + issues. //zak +-fix a simple tyop in oper.m module //zak +-fixed up the alias in stat13 which used to be 14 ewps //zak +-update TODO-BUGS doc regarding unbanself/sprot module //zak +-modify amn.epic to reflect version as a snapshot. +-modify clones module to remove the /banclones /killclones it's pointless + and the way all the vhosts goes these days it's surely going to cause + some problems. learn to use /trickle /filter which is aliased to /trickle + will probably make some aliases in the future to use the /trickle alias. + to simplify things up. //zak +-modify version.m to allow for interoperability between channel/msg/dcc + when doing /sv and or /svf //zak diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Sun Jul 31 04:14:03 2005 +++ amn/TODO-BUGS Tue Aug 2 05:38:00 2005 @@ -27,6 +27,9 @@ @ finish up or scrap the adcc module, i really hate to touch this myself i have never heard of a request for this module nor have i heard a single complaint about it working or not working perhaps a vote? +@ test to verify some of the confusing hooks in various parts of the tree + regarding the unbanself protection i have never tested the sprot module + or know if it works... i don't even know if anyone uses it. @ maybe? for - glines... <@skullY> you could if ([$0]==[y] || [$0]==[yes]) //vote? @ add a module for set num of exclamation's !!!! before kicking person diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sun Jul 31 03:37:46 2005 +++ amn/amn.epic Tue Aug 2 05:38:55 2005 @@ -104,7 +104,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=13g +@commit_id=13gs @a.rel=[1.0a cvs/$commit_id] @a.date=[20050731] @_ss=15 diff -aru amn.orig/core/version.m amn/core/version.m --- amn.orig/core/version.m Sat Jul 23 13:38:05 2005 +++ amn/core/version.m Tue Aug 2 06:11:21 2005 @@ -1,14 +1,12 @@ package version -alias svf { - if (![$0]) { - say $fparse(format_sv) - }{ - msg $0 $fparse(format_sv) - } -} -alias sv (whom default "$C", void) +alias svf +{ + msg $T $fparse(format_sv); +}; + +alias sv { - msg $whom ircII $J/$info(i) $uname() $a.ver/$a.rel - $CLIENT_INFORMATION; + msg $T ircII $J/$info(i) $uname() $a.ver/$a.rel - $CLIENT_INFORMATION; }; Only in amn.orig/docs: E5-UPDATES diff -aru amn.orig/docs/UNTESTED amn/docs/UNTESTED --- amn.orig/docs/UNTESTED Tue Jul 5 22:48:24 2005 +++ amn/docs/UNTESTED Tue Aug 2 04:56:49 2005 @@ -1,5 +1,13 @@ -odcc.mod still needs to be tested/varified. - and or rewritten, i prefer the former!. +adcc.mod still needs to be tested/verified. +and or rewritten, i prefer the former!. + +topwin.mod - is unstable apparently it's this good. +right from the person who wrote it himself!. +[kreca_(dcc)] I need to fix the topwin module +>(dcc!kreca_) yes you do +[kreca_(dcc)] it's been so bad I havnt been using it myself +>(dcc!kreca_) hahaha +[kreca_(dcc)] ;p crapple //zak@ircii.org Only in amn.orig/docs: USERMODS-COMMANDS.TXT diff -aru amn.orig/modules/clones/clones.m amn/modules/clones/clones.m --- amn.orig/modules/clones/clones.m Sun Jul 24 01:14:28 2005 +++ amn/modules/clones/clones.m Tue Aug 2 05:41:30 2005 @@ -28,23 +28,6 @@ xecho -b $_flag($getitem(clones $i) $chan)$getitem(clones $i)!$userhost($getitem(clones $i)) } } -alias banclones { - ^local chan - @chan= getclones($*) - for (@ i=1,i [kreca_(dcc)] kreca fix dccme + -> [kreca_(dcc)] to output to the right window + + Make a better startup format with as little ansi as possible and a better layout. + make a first run motd of explaining simple commands to configure amnesiac diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Tue Aug 2 05:38:55 2005 +++ amn/amn.epic Wed Aug 3 17:23:36 2005 @@ -18,9 +18,6 @@ @epicver=word(0 $info(v)) if (epicver != [epic4] ) { ::stuff to load for epic5...(for compatability) - xdebug old_math - ::xdebug +new_math breaks country... ;/ - :: ^load $(loadpath)core/compat.m ::compiling sets... @@ -54,6 +51,7 @@ set client_information I get my kicks on channel six set user_information Are you from the FBI ? set mangle_logfiles ALL +set new_server_lastlog_level none set switch_channels_between_windows off set -status_user set -status_format1 @@ -104,7 +102,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=13gs +@commit_id=[13gs] @a.rel=[1.0a cvs/$commit_id] @a.date=[20050731] @_ss=15 diff -aru amn.orig/core/country.m amn/core/country.m --- amn.orig/core/country.m Mon Jul 25 17:44:30 2005 +++ amn/core/country.m Wed Aug 3 07:38:15 2005 @@ -1,268 +1,273 @@ package country -alias country { -@:AD=[Andorra], -@:AE=[United Arab Emirates] -@:AF=[Afghanistan] -@:AG=[Antigua and Barbuda] -@:AI=[Anguilla] -@:AL=[Albania] -@:AM=[Armenia] -@:AN=[Netherlands Antilles] -@:AO=[Angola] -@:AQ=[Antarctica (pHEAR)] -@:AR=[Argentina] -@:AS=[American Samoa] -@:AT=[Austria] -@:AU=[Australia] -@:AW=[Aruba] -@:AZ=[Azerbaijan] -@:BA=[Bosnia and Herzegovina] -@:BB=[Barbados] -@:BD=[Bangladesh] -@:BE=[Belgium] -@:BF=[Burkina Faso] -@:BG=[Bulgaria] -@:BH=[Bahrain] -@:BI=[Burundi] -@:BJ=[Benin] -@:BM=[Bermuda] -@:BN=[Brunei Darussalam] -@:BO=[Bolivia] -@:BR=[Brazil] -@:BS=[Bahamas] -@:BT=[Bhutan] -@:BV=[Bouvet Island] -@:BW=[Botswana] -@:BY=[Belarus] -@:BZ=[Belize] -@:CA=[Canada (pHEAR)] -@:CC=[Cocos Islands] -@:CF=[Central African Republic] -@:CG=[Congo] -@:CH=[Switzerland] -@:CI=[Cote D'ivoire] -@:CK=[Cook Islands] -@:CL=[Chile] -@:CM=[Cameroon] -@:CN=[China] -@:CO=[Colombia] -@:CR=[Costa Rica] -@:CS=[Former Czechoslovakia] -@:CU=[Cuba] -@:CV=[Cape Verde] -@:CX=[Christmas Island] -@:CY=[Cyprus] -@:CZ=[Czech Republic] -@:DE=[Germany] -@:DJ=[Djibouti] -@:DK=[Denmark] -@:DM=[Dominica] -@:DO=[Dominican Republic] -@:DZ=[Algeria] -@:EC=[Ecuador] -@:EE=[Estonia] -@:EG=[Egypt] -@:EH=[Western Sahara] -@:ER=[Eritrea] -@:ES=[Spain] -@:ET=[Ethiopia] -@:FI=[Finland] -@:FJ=Fiji] -@:FK=[Falkland Islands] -@:FM=[Micronesia] -@:FO=[Faroe Islands] -@:FR=[France] -@:FX=[France, Metropolitan] -@:GA=[Gabon] -@:GB=[Great Britain] -@:GD=[Grenada] -@:GE=[Georgia] -@:GF=[French Guiana] -@:GH=[Ghana] -@:GI=[Gibraltar] -@:GL=[Greenland] -@:GM=[Gambia] -@:GN=[Guinea] -@:GP=[Guadeloupe] -@:GQ=[Equatorial Guinea] -@:GR=[Greece] -@:GS=[S. Georgia and S. Sandwich Isles.] -@:GT=[Guatemala] -@:GU=[Guam] -@:GW=[Guinea-Bissau] -@:GY=[Guyana] -@:HK=[Hong Kong] -@:HM=[Heard and McDonald Islands] -@:HN=[Honduras] -@:HR=[Croatia] -@:HT=[Haiti] -@:HU=[Hungary] -@:ID=[Indonesia] -@:IE=[Ireland] -@:IL=[Israel] -@:IN=[India] -@:IO=[British Indian Ocean Territory] -@:IQ=[Iraq] -@:IR=[Iran] -@:IS=[Iceland] -@:IT=[Italy] -@:JM=[Jamaica] -@:JO=[Jordan] -@:JP=[Japan] -@:KE=[Kenya] -@:KG=[Kyrgyzstan] -@:KH=[Cambodia] -@:KI=[Kiribati] -@:KM=[Comoros] -@:KN=[St. Kitts and Nevis] -@:KP=[North Korea] -@:KR=[South Korea] -@:KW=[Kuwait] -@:KY=[Cayman Islands] -@:KZ=[Kazakhstan] -@:LA=[Laos] -@:LB=[Lebanon] -@:LC=[Saint Lucia] -@:LI=[Liechtenstein] -@:LK=[Sri Lanka] -@:LR=[Liberia] -@:LS=[Lesotho] -@:LT=[Lithuania] -@:LU=[Luxembourg] -@:LV=[Latvia] -@:LY=[Libya] -@:MA=[Morocco] -@:MC=[Monaco] -@:MD=[Moldova] -@:MG=[Madagascar] -@:MH=[Marshall Islands] -@:MK=[Macedonia] -@:ML=[Mali] -@:MM=[Myanmar] -@:MN=[Mongolia] -@:MO=[Macau] -@:MP=[Northern Mariana Islands] -@:MQ=[Martinique] -@:MR=[Mauritania] -@:MS=[Montserrat] -@:MT=[Malta] -@:MU=[Mauritius] -@:MV=[Maldives] -@:MW=[Malawi] -@:MX=[Mexico] -@:MY=[Malaysia] -@:MZ=[Mozambique] -@:NA=[Namibia] -@:NC=[New Caledonia] -@:NE=[Niger] -@:NF=[Norfolk Island] -@:NG=[Nigeria] -@:NI=[Nicaragua] -@:NL=[Netherlands] -@:NO=[Norway] -@:NP=[Nepal] -@:NR=[Nauru] -@:NT=[Neutral Zone (pHEAR)] -@:NU=[Niue] -@:NZ=[New Zealand] -@:OM=[Oman] -@:PA=[Panama] -@:PE=[Peru] -@:PF=[French Polynesia] -@:PG=[Papua New Guinea] -@:PH=[Philippines] -@:PK=[Pakistan] -@:PL=[Poland] -@:PM=[St. Pierre and Miquelon] -@:PN=[Pitcairn] -@:PR=[Puerto Rico] -@:PT=[Portugal] -@:PW=[Palau] -@:PY=[Paraguay] -@:QA=[Qatar] -@:RE=[Reunion] -@:RO=[Romania] -@:RU=[Russian Federation (pHEAR)] -@:RW=[Rwanda] -@:SA=[Saudi Arabia] -@:Sb=[Solomon Islands] -@:SC=[Seychelles] -@:SD=[Sudan] -@:SE=[Sweden] -@:SG=[Singapore] -@:SH=[St. Helena] -@:SI=[Slovenia] -@:SJ=[Svalbard and Jan Mayen Islands] -@:SK=[Slovak Republic] -@:SL=[Sierra Leone] -@:SM=[San Marino] -@:SN=[Senegal] -@:SO=[Somalia] -@:SR=[Suriname] -@:ST=[Sao Tome and Principe] -@:SU=[Former USSR (pHEAR)] -@:SV=[El Salvador] -@:SY=[Syria] -@:SZ=[Swaziland] -@:TC=[Turks and Caicos Islands] -@:TD=[Chad] -@:TF=[French Southern Territories] -@:TG=[Togo] -@:TH=[Thailand] -@:TJ=[Tajikistan] -@:TK=[Tokelau] -@:TM=[Turkmenistan] -@:TN=[Tunisia] -@:TO=[Tonga] -@:TP=[East Timor] -@:TR=[Turkey] -@:TT=[Trinidad and Tobago] -@:TV=[Tuvalu] -@:TW=[Taiwan] -@:TZ=[Tanzania] -@:UA=[Ukraine] -@:UG=[Uganda] -@:UK=[United Kingdom] -@:UM=[US Minor Outlying Islands] -@:US=[United States of America] -@:UY=[Uruguay] -@:UZ=[Uzbekistan] -@:VA=[Vatican City State] -@:VC=[St. Vincent and the grenadines] -@:VE=[Venezuela] -@:VG=[British Virgin Islands] -@:VI=[US Virgin Islands] -@:VN=[Vietnam] -@:VU=[Vanuatu] -@:WF=[Wallis and Futuna Islands] -@:WS=[Samoa] -@:YE=[Yemen] -@:YT=[Mayotte] -@:YU=[Yugoslavia] -@:ZA=[South Africa] -@:ZM=[Zambia] -@:ZR=[Zaire] -@:ZW=[Zimbabwe] -@:COM=[Internic Commercial] -@:EDU=[Educational Institution] -@:GOV=[Government] -@:INT=[International] -@:MIL=[Military] -@:NET=[Internic Network] -@:ORG=[Internic Non-Profit Organization] -@:RPA=[Old School ARPAnet] -@:ATO=[Nato Fiel] -@:MED=[United States Medical] -@:ARPA=[Reverse DNS] -@:ret=[$($0)] -if ( strlen($ret) > 0) { - @function_return=ret -} { - @function_return=[Unknown] +alias addcountry { + @:i = numitems(countryIndex) + @setitem(countryIndex $i $toupper($0)) + @setitem(countryName $i $1-) } + +alias country { + @:i= finditem(countryIndex $toupper($0)) + if ( i > -1) { + @function_return=getitem(countryName $i) + } { + @function_return =[Unknown] + } } - +@addcountry(AD Andorra) +@addcountry(AE United Arab Emirates) +@addcountry(AF Afghanistan) +@addcountry(AG Antigua and Barbuda) +@addcountry(AI Anguilla) +@addcountry(AL Albania) +@addcountry(AM Armenia) +@addcountry(AN Netherlands Antilles) +@addcountry(AO Angola) +@addcountry(AQ Antarctica (pHEAR)) +@addcountry(AR Argentina) +@addcountry(AS American Samoa) +@addcountry(AT Austria) +@addcountry(AU Australia) +@addcountry(AW Aruba) +@addcountry(AZ Azerbaijan) +@addcountry(BA Bosnia and Herzegovina) +@addcountry(BB Barbados) +@addcountry(BD Bangladesh) +@addcountry(BE Belgium) +@addcountry(BF Burkina Faso) +@addcountry(BG Bulgaria) +@addcountry(BH Bahrain) +@addcountry(BI Burundi) +@addcountry(BJ Benin) +@addcountry(BM Bermuda) +@addcountry(BN Brunei Darussalam) +@addcountry(BO Bolivia) +@addcountry(BR Brazil) +@addcountry(BS Bahamas) +@addcountry(BT Bhutan) +@addcountry(BV Bouvet Island) +@addcountry(BW Botswana) +@addcountry(BY Belarus) +@addcountry(BZ Belize) +@addcountry(CA Canada(pHEAR)) +@addcountry(CC Cocos Islands) +@addcountry(CF Central African Republic) +@addcountry(CG Congo) +@addcountry(CH Switzerland) +@addcountry(CI Cote D'ivoire) +@addcountry(CK Cook Islands) +@addcountry(CL Chile) +@addcountry(CM Cameroon) +@addcountry(CN China) +@addcountry(CO Colombia) +@addcountry(CR Costa Rica) +@addcountry(CS Former Czechoslovakia) +@addcountry(CU Cuba) +@addcountry(CV Cape Verde) +@addcountry(CX Christmas Island) +@addcountry(CY Cyprus) +@addcountry(CZ Czech Republic) +@addcountry(DE Germany) +@addcountry(DJ Djibouti) +@addcountry(DK Denmark) +@addcountry(DM Dominica) +@addcountry(DO Dominican Republic) +@addcountry(DZ Algeria) +@addcountry(EC Ecuador) +@addcountry(EE Estonia) +@addcountry(EG Egypt) +@addcountry(EH Western Sahara) +@addcountry(ER Eritrea) +@addcountry(ES Spain) +@addcountry(ET Ethiopia) +@addcountry(FI Finland) +@addcountry(FJ=Fiji) +@addcountry(FK Falkland Islands) +@addcountry(FM Micronesia) +@addcountry(FO Faroe Islands) +@addcountry(FR France) +@addcountry(FX France, Metropolitan) +@addcountry(GA Gabon) +@addcountry(GB Great Britain) +@addcountry(GD Grenada) +@addcountry(GE Georgia) +@addcountry(GF French Guiana) +@addcountry(GH Ghana) +@addcountry(GI Gibraltar) +@addcountry(GL Greenland) +@addcountry(GM Gambia) +@addcountry(GN Guinea) +@addcountry(GP Guadeloupe) +@addcountry(GQ Equatorial Guinea) +@addcountry(GR Greece) +@addcountry(GS S. Georgia and S. Sandwich Isles.) +@addcountry(GT Guatemala) +@addcountry(GU Guam) +@addcountry(GW Guinea-Bissau) +@addcountry(GY Guyana) +@addcountry(HK Hong Kong) +@addcountry(HM Heard and McDonald Islands) +@addcountry(HN Honduras) +@addcountry(HR Croatia) +@addcountry(HT Haiti) +@addcountry(HU Hungary) +@addcountry(ID Indonesia) +@addcountry(IE Ireland) +@addcountry(IL Israel) +@addcountry(IN India) +@addcountry(IO British Indian Ocean Territory) +@addcountry(IQ Iraq) +@addcountry(IR Iran) +@addcountry(IS Iceland) +@addcountry(IT Italy) +@addcountry(JM Jamaica) +@addcountry(JO Jordan) +@addcountry(JP Japan) +@addcountry(KE Kenya) +@addcountry(KG Kyrgyzstan) +@addcountry(KH Cambodia) +@addcountry(KI Kiribati) +@addcountry(KM Comoros) +@addcountry(KN St. Kitts and Nevis) +@addcountry(KP North Korea) +@addcountry(KR South Korea) +@addcountry(KW Kuwait) +@addcountry(KY Cayman Islands) +@addcountry(KZ Kazakhstan) +@addcountry(LA Laos) +@addcountry(LB Lebanon) +@addcountry(LC Saint Lucia) +@addcountry(LI Liechtenstein) +@addcountry(LK Sri Lanka) +@addcountry(LR Liberia) +@addcountry(LS Lesotho) +@addcountry(LT Lithuania) +@addcountry(LU Luxembourg) +@addcountry(LV Latvia) +@addcountry(LY Libya) +@addcountry(MA Morocco) +@addcountry(MC Monaco) +@addcountry(MD Moldova) +@addcountry(MG Madagascar) +@addcountry(MH Marshall Islands) +@addcountry(MK Macedonia) +@addcountry(ML Mali) +@addcountry(MM Myanmar) +@addcountry(MN Mongolia) +@addcountry(MO Macau) +@addcountry(MP Northern Mariana Islands) +@addcountry(MQ Martinique) +@addcountry(MR Mauritania) +@addcountry(MS Montserrat) +@addcountry(MT Malta) +@addcountry(MU Mauritius) +@addcountry(MV Maldives) +@addcountry(MW Malawi) +@addcountry(MX Mexico) +@addcountry(MY Malaysia) +@addcountry(MZ Mozambique) +@addcountry(NA Namibia) +@addcountry(NC New Caledonia) +@addcountry(NE Niger) +@addcountry(NF Norfolk Island) +@addcountry(NG Nigeria) +@addcountry(NI Nicaragua) +@addcountry(NL Netherlands) +@addcountry(NO Norway) +@addcountry(NP Nepal) +@addcountry(NR Nauru) +@addcountry(NT Neutral Zone(pHEAR)) +@addcountry(NU Niue) +@addcountry(NZ New Zealand) +@addcountry(OM Oman) +@addcountry(PA Panama) +@addcountry(PE Peru) +@addcountry(PF French Polynesia) +@addcountry(PG Papua New Guinea) +@addcountry(PH Philippines) +@addcountry(PK Pakistan) +@addcountry(PL Poland) +@addcountry(PM St. Pierre and Miquelon) +@addcountry(PN Pitcairn) +@addcountry(PR Puerto Rico) +@addcountry(PT Portugal) +@addcountry(PW Palau) +@addcountry(PY Paraguay) +@addcountry(QA Qatar) +@addcountry(RE Reunion) +@addcountry(RO Romania) +@addcountry(RU Russian Federation(pHEAR)) +@addcountry(RW Rwanda) +@addcountry(SA Saudi Arabia) +@addcountry(Sb Solomon Islands) +@addcountry(SC Seychelles) +@addcountry(SD Sudan) +@addcountry(SE Sweden) +@addcountry(SG Singapore) +@addcountry(SH St. Helena) +@addcountry(SI Slovenia) +@addcountry(SJ Svalbard and Jan Mayen Islands) +@addcountry(SK Slovak Republic) +@addcountry(SL Sierra Leone) +@addcountry(SM San Marino) +@addcountry(SN Senegal) +@addcountry(SO Somalia) +@addcountry(SR Suriname) +@addcountry(ST Sao Tome and Principe) +@addcountry(SU Former USSR(pHEAR)) +@addcountry(SV El Salvador) +@addcountry(SY Syria) +@addcountry(SZ Swaziland) +@addcountry(TC Turks and Caicos Islands) +@addcountry(TD Chad) +@addcountry(TF French Southern Territories) +@addcountry(TG Togo) +@addcountry(TH Thailand) +@addcountry(TJ Tajikistan) +@addcountry(TK Tokelau) +@addcountry(TM Turkmenistan) +@addcountry(TN Tunisia) +@addcountry(TO Tonga) +@addcountry(TP East Timor) +@addcountry(TR Turkey) +@addcountry(TT Trinidad and Tobago) +@addcountry(TV Tuvalu) +@addcountry(TW Taiwan) +@addcountry(TZ Tanzania) +@addcountry(UA Ukraine) +@addcountry(UG Uganda) +@addcountry(UK United Kingdom) +@addcountry(UM US Minor Outlying Islands) +@addcountry(US United States of America) +@addcountry(UY Uruguay) +@addcountry(UZ Uzbekistan) +@addcountry(VA Vatican City State) +@addcountry(VC St. Vincent and the grenadines) +@addcountry(VE Venezuela) +@addcountry(VG British Virgin Islands) +@addcountry(VI US Virgin Islands) +@addcountry(VN Vietnam) +@addcountry(VU Vanuatu) +@addcountry(WF Wallis and Futuna Islands) +@addcountry(WS Samoa) +@addcountry(YE Yemen) +@addcountry(YT Mayotte) +@addcountry(YU Yugoslavia) +@addcountry(ZA South Africa) +@addcountry(ZM Zambia) +@addcountry(ZR Zaire) +@addcountry(ZW Zimbabwe) +@addcountry(COM Internic Commercial) +@addcountry(EDU Educational Institution) +@addcountry(GOV Government) +@addcountry(INT International) +@addcountry(MIL Military) +@addcountry(NET Internic Network) +@addcountry(ORG Internic Non-Profit Organization) +@addcountry(RPA Old School ARPAnet) +@addcountry(ATO Nato Fiel) +@addcountry(MED United States Medical) +@addcountry(ARPA Reverse DNS) Date: Wed, 3 Aug 2005 20:25:18 -0400 (EDT) From: zak@ircii.org (Zak) some country.m fixups, and help changes, minor stuff.. country for 3/4 letter domains are still broken. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 3 17:27:05 2005 +++ amn/ChangeLog Wed Aug 3 20:21:04 2005 @@ -520,3 +520,7 @@ -remove some uneeded compatability like old_math we can now use the new math. -update the notes file to reflect reality. +-update notes regarding terminfo in FreeBSD. +-some minor country.m tyop's blame kreca. //zak +-more cleanup of helpfiles with the new moduler help menu stuff... + new help menu /ohelp for operview/oper help, added list to /ehelp. //zak diff -aru amn.orig/NOTES amn/NOTES --- amn.orig/NOTES Wed Aug 3 17:26:11 2005 +++ amn/NOTES Wed Aug 3 18:54:12 2005 @@ -13,5 +13,10 @@ http://amnesiac.ircii.org/misc/ there are also some other fonts in there as well which may or may not work. +terminfo/termcap issues on FreeBSD not sure about DragonFly... possible fix +ln -s /usr/compat/linux/usr/share/terminfo /usr/share/misc +and cross your fingers? - help from |Rain| (naturally i presume this +requires the linux-compat libs installed.) + //crapple //zak@ircii.org diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Wed Aug 3 17:23:36 2005 +++ amn/amn.epic Wed Aug 3 19:20:31 2005 @@ -19,7 +19,6 @@ if (epicver != [epic4] ) { ::stuff to load for epic5...(for compatability) ^load $(loadpath)core/compat.m - ::compiling sets... addset auto_rejoin bool; xaddset auto_rejoin_delay int; diff -aru amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Sun Jul 31 00:12:35 2005 +++ amn/core/arrays.m Wed Aug 3 19:53:25 2005 @@ -1,5 +1,5 @@ package arrays -# last modified: 6/6/05 by crapple +# last modified: 7/31/05 by crapple ## msg formats @ delarray(mform) diff -aru amn.orig/core/country.m amn/core/country.m --- amn.orig/core/country.m Wed Aug 3 07:38:15 2005 +++ amn/core/country.m Wed Aug 3 19:46:06 2005 @@ -84,7 +84,7 @@ @addcountry(ES Spain) @addcountry(ET Ethiopia) @addcountry(FI Finland) -@addcountry(FJ=Fiji) +@addcountry(FJ Fiji) @addcountry(FK Falkland Islands) @addcountry(FM Micronesia) @addcountry(FO Faroe Islands) @@ -202,7 +202,7 @@ @addcountry(RU Russian Federation(pHEAR)) @addcountry(RW Rwanda) @addcountry(SA Saudi Arabia) -@addcountry(Sb Solomon Islands) +@addcountry(SB Solomon Islands) @addcountry(SC Seychelles) @addcountry(SD Sudan) @addcountry(SE Sweden) diff -aru amn.orig/core/ehelp.m amn/core/ehelp.m --- amn.orig/core/ehelp.m Sun Jul 24 02:09:09 2005 +++ amn/core/ehelp.m Wed Aug 3 20:19:29 2005 @@ -9,6 +9,7 @@ echo bwhelp <bwk help> banwordkick help menu. [module] echo mjhelp <mjoin help> mjoin/ajoin help menu. [module] echo abhelp <abot help> autobot help menu. [module] + echo ohelp <oper help> operview/oper help menu [module] echo winhelp <window help> window shortcuts help menu. [core] echo smhelp <special modes> exempt modes cmds help menu. [core] echo ---------------------------------------------------------------------- diff -aru amn.orig/core/help.m amn/core/help.m --- amn.orig/core/help.m Sun Jul 31 02:48:52 2005 +++ amn/core/help.m Wed Aug 3 20:08:15 2005 @@ -1,5 +1,5 @@ package help -@hwords=[relw rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir uldir tb ps df ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop paste readlog wall user chops sv relm relsm reln relsn emsg esay frelm tsave freln away back format config color sbcolor dict paste saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb kline links lk locops lpaste lsay mdv minv mkill mkline mme mmsg mnot more mv mw nops not operview operwall partall qk staynick supt theme tig tkline unban unkline untheme winhelp] +@hwords=[relw rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir uldir tb ps df ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop paste readlog wall user chops sv relm relsm reln relsn emsg esay frelm tsave freln away back format config color sbcolor dict paste saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb links lk lpaste lsay mdv minv mme mmsg mnot more mv mw nops not partall qk staynick supt theme tig unban untheme winhelp] alias ahelp if (![$0]) { banner.head @_ohcenter=[${word(0 $geom()) / 2 + 40}] @@ -21,7 +21,6 @@ banner.foot abecho $a.ver usage -> /ahelp }{ -@ :tkline=[%Wu%nsage%K:%n /tkline [nick|ident@host] will temp kline for specified minutes.] @ :rn=[%Wu%nsage%K:%n /rn will change nick to a random nick of 7 chars] @ :rk=[%Wu%nsage%K:%n /rk will kick a random nick out of your current channel] @ :addmod=[%Wu%nsage%K:%n /addmod module1,module2,module3... valid modules are $_modules] @@ -30,7 +29,6 @@ @ :listmod=[%Wu%nsage%K:%n /listmod will list all modules loaded.] @ :winhelp=[%Wu%nsage%K:%n /winhelp will display help menu for windowing shortcuts. @ :untheme=[%Wu%nsage%K:%n /untheme will make amnesiac revert back to the default theme. -@ :unkline=[%Wu%nsage%K:%n /unkline will remove kline from server list. @ :unban=[%Wu%nsage%K:%n /unban will unban nick or host from current channel @ :tig=[%Wu%nsage%K:%n /tig will display all current ignores and prompt to delete one. @ :theme=[%Wu%nsage%K:%n /theme will display all amnesiac themes and you can choose which one you want. @@ -42,8 +40,6 @@ @ :dldir=[%Wu%nsage%K:%n /dldir sets download path. @ :uldir=[%Wu%nsage%K:%n /uldir sets upload path to file you need to upload. @ :partall=[%Wu%nsage%K:%n /partall will part all current channels. -@ :operwall=[%Wu%nsage%K:%n /operwall will send a operwall with specified text to the server. -@ :operview=[%Wu%nsage%K:%n /operview will open up a split window will the level WALLOPS OPNOTES SNOTES so all server msgs will go to that window. @ :not=[%Wu%nsage%K:%n /not will unset topic on current channel. @ :nops=[%Wu%nsage%K:%n /nops will display all nonops on current channel. @ :vocs=[%Wu%nsage%K:%n /vocs will display all voiced members on current channel. @@ -53,16 +49,12 @@ @ :mnot=[%Wu%nsage%K:%n /mnot will mass notice current channel with specified text. @ :mmsg=[%Wu%nsage%K:%n /mmsg will mass msg current channel with specified text. @ :mme=[%Wu%nsage%K:%n /mme will send a action to all current channels. -@ :mkline=[%Wu%nsage%K:%n /mkline will mass kline current channel for specified reason -@ :mkill=[%Wu%nsage%K:%n /mkill will mass kill current channel @ :minv=[%Wu%nsage%K:%n /minv <#channel> mass invites users from current channel to specified channel. @ :mdv=[%Wu%nsage%K:%n /mdv will mass devoice current channel. @ :lsay=[%Wu%nsage%K:%n /lsay just try it :) -@ :lpaste=[%Wu%nsage%K:%n /lpaste will paste to current channel last line recieved. -@ :locops=[%Wu%nsage%K:%n /locops will send a msg to all operators on current server +@ :lpaste=[%Wu%nsage%K:%n /lpaste will paste to current channel last line recieved. @ :lk=[%Wu%nsage%K:%n /lk will kick all non op'd and voiced lusers from current channel @ :links=[%Wu%nsage%K:%n /links will give you a server list of all the servers linked to current network -@ :kline=[%Wu%nsage%K:%n /kline will set a kline for nick or specified ident@host @ :kickban=[%Wu%nsage%K:%n /kickban will kick and ban nick from current channel @ :kb=[%Wu%nsage%K:%n /kb will kick and ban nick from current channel. @ :inv=[%Wu%nsage%K:%n /inv will invite nick to current channel. diff -aru amn.orig/modules/oper/oper.m amn/modules/oper/oper.m --- amn.orig/modules/oper/oper.m Tue Aug 2 05:04:36 2005 +++ amn/modules/oper/oper.m Wed Aug 3 20:17:01 2005 @@ -45,12 +45,12 @@ } } -/ON -SERVER_NOTICE "*requesting gline for*" { +/on -server_notice "*requesting gline for*" { @glineTarget=strip([] [$11]); - @glineReason=strip([] [$12-]); + @glineReason=strip([] [$12-]); } -ALIAS gi { +alias gi { input "GLINE $glineTarget for '$glineReason'? (y/n) " { if ( [$0] == [y] ) /quote gline $glineTarget :$glineReason } @@ -316,3 +316,27 @@ } ^on ^219 * # + +alias ohelp { + if (!$[0]) { + +echo -----------------------= Oper Help =-------------------------- + +echo /tkline [nick|ident@host] will temp kline for +echo specified minutes. +echo /unkline will remove kline from server list. +echo /operwall will send a operwall with specified text to the server. +echo /ov will open up a split window will the level WALLOPS OPNOTES SNOTES +echo so all server msgs will go to that window. +echo /mkline will mass kline current channel for specified reason +echo /mkill will mass kill current channel +echo /locops will send a msg to all operators on current server +echo /kline will set a kline for nick or specified ident@host +echo /modlist view ircd modules. +echo /modload loads specified ircd module. +echo /modunload unloads specified ircd module. +echo binds ^E scroll_backward in ovwin ^D scroll_forward in ovwin + +echo ------------------------------------------------------------------- + } +} Date: Sat, 6 Aug 2005 16:17:19 -0400 (EDT) From: zak@ircii.org (Zak) bunch of patches/themes/changes/blah read changelog diff/e-mail -still getting over my hangover and violence won't stop being emo on irc! ;( //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 3 20:21:04 2005 +++ amn/ChangeLog Sat Aug 6 16:15:14 2005 @@ -524,3 +524,13 @@ -some minor country.m tyop's blame kreca. //zak -more cleanup of helpfiles with the new moduler help menu stuff... new help menu /ohelp for operview/oper help, added list to /ehelp. //zak +-fixed the country.m to show all country names thanks to skullY! //zak +-added a new msg format for violence (a) 39 //zak +-added 2 new oper commands for Alien88 /dline and /undline //zak +-update /ohelp to reflect reality. //zak +-add a bunch of new formats joins/msg/publics to help with latin1 charset + users //zak +-change the default look a bit (better methinks) and formats. //zak +-i beleive that we are getting very close to an official release since some + ppl has been requesting to put it on epicsol's page. i just want to make + sure everything is a-ok before doing so. //zak diff -aru amn.orig/README amn/README --- amn.orig/README Sat Jul 23 09:45:53 2005 +++ amn/README Sat Aug 6 01:19:47 2005 @@ -24,4 +24,4 @@ crapple/kreca/skullY@efnet know. (crapple) (kreca) - (skullY) + (skullY) diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Wed Aug 3 14:39:16 2005 +++ amn/TODO-BUGS Sat Aug 6 04:20:20 2005 @@ -7,8 +7,6 @@ @ = requests/votes $ = knownbug. -@ make sure when urls are broken, dont leave two extra spaces between - this might be impossible to do since it's controlled by epic //kreca + Redo /ahelp fucking ugly. //any sucke^H^H^Hnice volunteers? @ (Alien88_[alien@umich.edu]) if ov is toggled on (Alien88_[alien@umich.edu]) reset opermodes //vote? @@ -23,12 +21,6 @@ -> [kreca_(dcc)] kreca fix dccme -> [kreca_(dcc)] to output to the right window -+ Make a better startup format with as little ansi as possible and a better - layout. -+ make a first run motd of explaining simple commands to configure amnesiac - since not everyone READS DOCUMENTATIONS. ie; /config /theme /format /ahelp - /ehelp to get the best out of it. possibly by if savefiles don't exist - then show firstrun. or something. @ finish up or scrap the adcc module, i really hate to touch this myself i have never heard of a request for this module nor have i heard a single complaint about it working or not working perhaps a vote? @@ -60,6 +52,12 @@ and or query/msg etc.. and get rid of /pmsg altogether would be nice. (hop is planning on making a shit output to current window not just chan in the near future...however we should have some temp fix until then) + +8/6/05 fixed one night by accident when totally trashed on alcohol it + was such a hard fix too /eval set word_break $strip(. $word_break) kreca + should be ashamed of himself. //zak +! make sure when urls are broken, dont leave two extra spaces between + this might be impossible to do since it's controlled by epic //kreca and of course! UNSURPRISING BUG FIXES. diff -aru amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Sun Jul 31 01:11:39 2005 +++ amn/UPGRADE Sat Aug 6 01:20:58 2005 @@ -97,3 +97,16 @@ rm -rf ~/.amn/.a.fsetsave rm -rf ~/.amn/.a.fsave then /adump + +::cvs-8/9/10/11/12 to cvs14 (in theory) +rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) +rm -rf ~/.amn/.mod.save +then /adump + +::<=8 to cvs-14. +rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Wed Aug 3 19:20:31 2005 +++ amn/amn.epic Sat Aug 6 06:55:34 2005 @@ -32,7 +32,6 @@ ::various sets set floating_point_math on set high_bit_esc 0 -set no_fail_disconnect on set insert_mode on set -continued_line set dcc_sliding_window 1024 @@ -58,6 +57,8 @@ window 1 level none window 1 name amnesiac window 1 double on +::fix for kreca who isn't the brightest star in the sky to not break URLS. +eval set word_break $strip(. $word_break) :: ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### @_modules=[topwin ncomp flood abot lsay sprot aol query away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] @@ -101,9 +102,9 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[13gs] +@commit_id=[14] @a.rel=[1.0a cvs/$commit_id] -@a.date=[20050731] +@a.date=[20050806] @_ss=15 @_ovsize=5 @_ovmode=[fibxwzZsy] @@ -139,7 +140,7 @@ @getumode=[iw] @showop=[off] @autoget=[off] -@_jwin=[off] +@_jwin=[on] @_pubnick=N @_tsop=[off] @_tss=[on] @@ -147,34 +148,32 @@ @_boxfoot = [ $cparse($(c1)À)$cparse($(c3)Ä)$(hblk)- ÄÄ -$(cl)] @_ubanself=[off] ## default theme vars. -@mform=26 -@smform=37 -@pubform=1 -@spubform=5 -@spuboform=1 -@signform=11 -@joinform=12 -@leaveform=[11] -@modeform=2 -@notform=21 -@snotform=20 -@sdcform=22 -@dcform=18 +@mform=39 +@smform=52 +@pubform=41 +@spubform=41 +@spuboform=53 +@signform=4 +@joinform=16 +@leaveform=[3] +@modeform=4 +@notform=19 +@snotform=21 +@sdcform=19 +@dcform=15 @topform=4 -@ctcpform=8 -@sctcpform=11 -@echostr=45 +@ctcpform=3 +@sctcpform=8 +@echostr=57 @ncomp=15 -@svform=17 +@svform=18 @snf=3 @wallform = [2] -@bwallform=2 -@awayform=9 -@actform=1 -@actform=1 -@descform=1 +@bwallform=4 +@awayform=5 +@actform=3 +@descform=2 @sdescform=1 -@actform=1 @statbar=[stat.11] @whoform=1 @whofootform=1 @@ -195,7 +194,7 @@ ^eval $mkdir($(savepath)) ::poor mans THUTTUP on file not found loader. -^on ^yell * # +/*^on ^yell * #*/ ::end poor mans THUTTUP. ^eval ^load $(savepath)$savefile diff -aru amn.orig/ans/whois.ans amn/ans/whois.ans --- amn.orig/ans/whois.ans Sat May 28 02:38:02 2005 +++ amn/ans/whois.ans Sat Aug 6 01:08:48 2005 @@ -32,7 +32,7 @@ eval aecho . signon : Thu May 12 06:46:51 2005 eval aecho eval aecho %K[%n4%K]%n -eval aecho \(violence!prozac@euro.scenewhore.org)$country($rightw(1 $sar(g/./ / org)))) +eval aecho \(violence!prozac@euro.scenewhore.org\)$country($rightw(1 $sar(g/./ / org)))) eval aecho ircname : don't hate me cuz i'm an emokid eval aecho channels : @#emokids @#suicide @#failed_suicide_attempt_anonymous eval aecho server : irc.deathwish.net (god kills a kitten everytime you masturbate) diff -aru amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Wed Aug 3 19:53:25 2005 +++ amn/core/arrays.m Sat Aug 6 06:49:17 2005 @@ -1,5 +1,5 @@ package arrays -# last modified: 7/31/05 by crapple +# last modified: 8.06.05 - crapple ## msg formats @ delarray(mform) @@ -42,6 +42,8 @@ @ setitem(mform 36 $$fparse(format_timestamp_some $($_timess))%K[%n$$1%K]%n $$3- %n%K[$$(c3)$$before(@ $2)$$(hblk)@$$(c3)$$after(@ $2)%K]) @ setitem(mform 37 $$fparse(format_timestamp_some $($_timess))*$$1* $$3-) @ setitem(mform 38 *$$1* $$3-) +:: mform 39 - violence 8.06.05 +@ setitem(mform 39 $$fparse(format_timestamp_some $($_timess))%K.$$(hwht).$$(hblk)\\\($$(hwht)$$1$$(hblk)\\\[%n$$before(@ $2)$$(hblk)@%n$$after(@ $2)%K]\\\)%n $$3-) ## send msg formats @ delarray(smform) @@ -95,6 +97,11 @@ @ setitem(smform 47 $$fparse(format_timestamp_some $($_timess))$$(c3)>[%n$$1$$(c3)]%n $$2-) @ setitem(smform 48 $$fparse(format_timestamp_some $($_timess))*$$1*> $$2-) @ setitem(smform 49 *$$1*> $$2-) +:: smform 50-53 - crapple - 8.06.05 +@ setitem(smform 50 $$fparse(format_timestamp_some $(S_timess))$$(hwht)-> \\\($$(cl)$$1$$(hwht)\\\)$$(cl) $$2-) +@ setitem(smform 51 $$fparse(format_timestamp_some $(S_timess))$$(cl)-$$(hwht)>%n$$(hgrn) \\\($$(cl)$$1$$(hgrn)\\\)$$(cl) $$2-) +@ setitem(smform 52 $$fparse(format_timestamp_some $(S_timess))-> \\\($$1\\\) $$2-) +@ setitem(smform 53 $$fparse(format_timestamp_some $(S_timess))$$(cl)-$$(hwht)>%n$$(wht) \\\($$(cl)$$1$$(wht)\\\)$$(cl) $$2-) ## public formats @ delarray(pubform) @@ -138,6 +145,10 @@ @ setitem(pubform 37 $$fparse(format_timestamp_some $($_timess))$$(c3)[%n$$[-9]1$$(c3)]%n $$2-) @ setitem(pubform 38 $$fparse(format_timestamp_some $($_timess))<$$1> $$2-) @ setitem(pubform 39 <$$1> $$2-) +:: pubform 40-42 - crapple 8.06.05 +@ setitem(pubform 40 $$fparse(format_timestamp_some $($_timess))$$(wht)\\\(%n$$1$$(wht)\\\)%n $$2-) +@ setitem(pubform 41 $$fparse(format_timestamp_some $($_timess))$$(cl)\\\(%n$$1$$(cl)\\\)%n $$2-) +@ setitem(pubform 42 $$fparse(format_timestamp_some $($_timess))$$(hwht)\\\(%n$$1$$(hwht)\\\)%n $$2-) ## send public formats @ delarray(spubform) @@ -182,6 +193,10 @@ @ setitem(spubform 37 $$fparse(format_timestamp_some $($_timess))$$(c3)[%n$$[-9]1$$(c3)]%n $$2-) @ setitem(spubform 38 $$fparse(format_timestamp_some $($_timess))> $$2-) @ setitem(spubform 39 > $$2-) +:: sendpub 40-42 - crapple 8.06.05 +@ setitem(spubform 40 $$fparse(format_timestamp_some $($_timess))$$(wht)\\\(%n$$1$$(wht)\\\)%n $$2-) +@ setitem(spubform 41 $$fparse(format_timestamp_some $($_timess))$$(cl)\\\(%n$$1$$(cl)\\\)%n $$2-) +@ setitem(spubform 42 $$fparse(format_timestamp_some $($_timess))$$(hwht)\\\(%n$$1$$(hwht)\\\)%n $$2-) ## send public other formats @ delarray(spuboform) @@ -277,6 +292,11 @@ @ setitem(joinform 10 $$G %cj%noin%K/%c$$2 %K[%n$$1%K!%c$$before(@ $3)%n@%c$$after(@ $3)%K]%n) @ setitem(joinform 11 $$G $$1 \\\($$3\\\) has joined channel $$2) @ setitem(joinform 12 $$G $$(c1)$$1 %K[$(cl)$$sar(g/@/$(hblk)@$(cl)/$3)$$(c1)%K]%n has joined $$(c2)$$2) +:: join added 13-16 crapple 8.06.05 +@ setitem(joinform 13 $$G $$(cl)$$1 %n$$(wht)\\\($$(cl)$$3$$(wht)\\\)%n has joined $$2) +@ setitem(joinform 14 $$G $$(wht)$$1%n $$(cl)\\\($$(cl)$$3$$(cl)\\\)%n has joined $$2) +@ setitem(joinform 15 $$G $$(wht)$$1%n $$(hwht)\\\($$(cl)$$3$$(hwht)\\\)%n has joined $$2) +@ setitem(joinform 16 $$G $$(cl)$$1%n $$(wht)\\\($$(ck)$$3$$(wht)\\\)%n has joined $$(wht)$$2%n) ## leaves formats @ delarray(leaveform) @@ -528,9 +548,13 @@ @ setitem(echostr 49 $(hblk)ð$(c1)ð$(c2)ð$(cl)) @ setitem(echostr 50 $(hblk)=$(c1)=$(c2)=$(cl)) @ setitem(echostr 51 $(hblk)ö$(c1)ö$(c2)ö$(cl)) +:: echostr crapple 52-57 added - crapple 8.06.05 @ setitem(echostr 52 [S+Z]) @ setitem(echostr 53 [A+C]) @ setitem(echostr 54 ***) +@ setitem(echostr 55 [a+c]) +@ setitem(echostr 56 ===) +@ setitem(echostr 57 [a]) ## ncomp formats @ delarray(ncomp) diff -aru amn.orig/core/country.m amn/core/country.m --- amn.orig/core/country.m Wed Aug 3 19:46:06 2005 +++ amn/core/country.m Sat Aug 6 00:11:17 2005 @@ -9,7 +9,7 @@ alias country { - @:i= finditem(countryIndex $toupper($0)) + @:i= matchitem(countryIndex $toupper($0)) if ( i > -1) { @function_return=getitem(countryName $i) } { Only in amn/core: l.old diff -aru amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Sun Jun 12 03:21:31 2005 +++ amn/core/window.m Sat Aug 6 04:46:18 2005 @@ -77,9 +77,8 @@ alias rtop topoff alias rtopwin delmod topwin alias topwin addmod topwin -alias wa window add $* alias wadd wa $* -alias rmwadd dq $* +alias rwadd dq $* alias msgwin {wc;wsl;window level msgs,notices;window name messages} alias dccwin {wc;wsl;window level dcc;window name dcc} alias wsl {window swap last} @@ -122,13 +121,11 @@ } } -alias WNC2 {window new hide swap last double on split off channel $0 $1 $2} +alias wnc2 {window new hide swap last double on split off channel $0 $1 $2} #from blackjac's script. SentinelX?. /* Copyright (c) 2003 David B. Kratter (BlackJac@EFNet) - - Version: 1.0.2003.12.02.1 This will allow you to toggle between hidden windows 1 through 20 more easily. Press Esc+1 to toggle between windows 1 and 11, Esc+2 for win- diff -aru amn.orig/modules/oper/oper.m amn/modules/oper/oper.m --- amn.orig/modules/oper/oper.m Wed Aug 3 20:17:01 2005 +++ amn/modules/oper/oper.m Sat Aug 6 00:59:16 2005 @@ -140,6 +140,14 @@ quote gline $0 :$1- } +alias dline { + quote dline $0 :$1- +} + +alias undline { + quote undline $* +} + alias cjupe { quote mode $0 +j } @@ -335,6 +343,8 @@ echo /modlist view ircd modules. echo /modload loads specified ircd module. echo /modunload unloads specified ircd module. +echo /dline reason. will set a dline with reason. (ratbox) +echo /undline will remove a dline. (ratbox) echo binds ^E scroll_backward in ovwin ^D scroll_forward in ovwin echo ------------------------------------------------------------------- diff -aru amn.orig/wis/whois.4 amn/wis/whois.4 --- amn.orig/wis/whois.4 Mon Jul 25 17:39:42 2005 +++ amn/wis/whois.4 Sat Aug 6 01:06:10 2005 @@ -1,5 +1,5 @@ ^sfset format_whois_header ---- -^sfset format_whois_nick \($1!$2@$3)$country($rightw(1 $sar(g/./ / $3)))) +^sfset format_whois_nick \($1!$2@$3\)$country($rightw(1 $sar(g/./ / $3)))) ^sfset format_whois_name ircname : $1- ^sfset format_whois_channels channels : $1- ^sfset format_whois_server server : $1 \($2-\) Date: Sat, 6 Aug 2005 22:28:06 -0400 (EDT) From: zak@ircii.org (Zak) -too many changes to list here big jumbo patch/release bug reports/any reports would be appreciated. enjoy. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sat Aug 6 16:15:14 2005 +++ amn/ChangeLog Sat Aug 6 22:19:52 2005 @@ -534,3 +534,22 @@ -i beleive that we are getting very close to an official release since some ppl has been requesting to put it on epicsol's page. i just want to make sure everything is a-ok before doing so. //zak +-renable the old_math until i have everything sorted out for the time being + //zak +-add a new alias /emopart with uses emopart.reasons in $loadpath. +-update TODO-BUGS. +-add /ecycle(emocycle) /mon /moff which turns the new_math on/off in epic5 + ircII EPIC5-0.0.5 (Commit id: 1273) (Date of release: 20050420) and later. + makes it easier for the scripters to debug/update the script for the new + math. couple of short form emopart aliases /epart /dpart. //zak +-adjust some settings on which should be set on epic4 and or epic5. and the + order. (amn.epic) //zak +-adjust version to sync with reality. +-modify emopart.reasons kick.reasons quits.reasons a bit to be a little less + LAME. //zak +-more huge format in array changes, you guys may noticed timestamping on + join and parts are different than before. some help from violence and + skullY //zak +-update my theme -nocturnal //zak +-fix up statbar #12 to include query (hopefully it's enough room) //zak +-release amnesiac1.0a-cvs14 diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Sat Aug 6 04:20:20 2005 +++ amn/TODO-BUGS Sat Aug 6 17:07:55 2005 @@ -16,6 +16,9 @@ (finished the todo of adding the @bindctl to do.fkey's alias) //zak it broke as i released cvs13g backed out changes until later //zak. +@ need to redo the formats stuff somewhere or possibly arrays(*gulp*) + for the new_math parser. + @ kreca asked me to add this addition to the TODO file i presume this means he might actually do more ;( -> [kreca_(dcc)] kreca fix dccme diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sat Aug 6 06:55:34 2005 +++ amn/amn.epic Sat Aug 6 22:22:15 2005 @@ -19,6 +19,10 @@ if (epicver != [epic4] ) { ::stuff to load for epic5...(for compatability) ^load $(loadpath)core/compat.m + ::(*gulp*) DON'T HATE ME. + xdebug old_math + ^set old_math_parser on + ::formats/arrays/lusers still requires old_math. ::compiling sets... addset auto_rejoin bool; xaddset auto_rejoin_delay int; @@ -194,7 +198,7 @@ ^eval $mkdir($(savepath)) ::poor mans THUTTUP on file not found loader. -/*^on ^yell * #*/ +^on ^yell * # ::end poor mans THUTTUP. ^eval ^load $(savepath)$savefile diff -aru amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Tue Aug 2 06:45:45 2005 +++ amn/core/alias.m Sat Aug 6 19:16:09 2005 @@ -1,5 +1,5 @@ package alias -#last modified by crapple 7/30/05 +#last modified by crapple 8.06.05 #op/oper commands.... alias bki {bk $*;ignore $0 msgs} @@ -56,9 +56,6 @@ alias svrtime time $S alias disco disconnect alias rwhois quote whois $0 $1 -alias k kick $* -alias p part $* -alias l part $* alias accept { quote accept $*} alias cid accept $* alias rmcid { quote accept -$*} @@ -102,6 +99,11 @@ alias d describe $* alias j {/join $channame($0) $1-} alias p part $* +alias k kick $* +alias p part $* +alias l part $* +alias epart emopart $* +alias dpart emopart $* alias cloak {ignore *!*@* ctcp} alias uncloak tig alias lall partall @@ -186,6 +188,8 @@ alias shist {set scrollback $*} alias uinfo {set user_information $*} alias vctcp {set verbose_ctcp togggle} +alias mon {set old_math_parser on} +alias moff {set old_math_parser off} #dumps and reload script, for scripters and advanced users in general. alias adump dump all;fe ($getarrays()) n1 {@delarray($n1)};unload * fe;load ~/.epicrc @@ -225,8 +229,10 @@ } +alias emopart { + part $C $srand$randread($(loadpath)emopart.reasons) +} - alias cops { ^on who -* ^on ^who * { @@ -554,6 +560,13 @@ @:key=key($chan) xecho -b cycling on channel $chan\, one moment... ^quote part $chan;wait;join $chan $key +} + +alias ecycle { + @:chan=ischannel($0)?[$0]:C + @:key=key($chan) + xecho -b emo cycling on channel $chan\, one moment... + ^emopart $chan;wait;join $chan $key } alias waitop { diff -aru amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Sat Aug 6 06:49:17 2005 +++ amn/core/arrays.m Sat Aug 6 21:49:35 2005 @@ -42,7 +42,7 @@ @ setitem(mform 36 $$fparse(format_timestamp_some $($_timess))%K[%n$$1%K]%n $$3- %n%K[$$(c3)$$before(@ $2)$$(hblk)@$$(c3)$$after(@ $2)%K]) @ setitem(mform 37 $$fparse(format_timestamp_some $($_timess))*$$1* $$3-) @ setitem(mform 38 *$$1* $$3-) -:: mform 39 - violence 8.06.05 +## mform 39 - violence 8.06.05 @ setitem(mform 39 $$fparse(format_timestamp_some $($_timess))%K.$$(hwht).$$(hblk)\\\($$(hwht)$$1$$(hblk)\\\[%n$$before(@ $2)$$(hblk)@%n$$after(@ $2)%K]\\\)%n $$3-) ## send msg formats @@ -97,11 +97,11 @@ @ setitem(smform 47 $$fparse(format_timestamp_some $($_timess))$$(c3)>[%n$$1$$(c3)]%n $$2-) @ setitem(smform 48 $$fparse(format_timestamp_some $($_timess))*$$1*> $$2-) @ setitem(smform 49 *$$1*> $$2-) -:: smform 50-53 - crapple - 8.06.05 -@ setitem(smform 50 $$fparse(format_timestamp_some $(S_timess))$$(hwht)-> \\\($$(cl)$$1$$(hwht)\\\)$$(cl) $$2-) -@ setitem(smform 51 $$fparse(format_timestamp_some $(S_timess))$$(cl)-$$(hwht)>%n$$(hgrn) \\\($$(cl)$$1$$(hgrn)\\\)$$(cl) $$2-) -@ setitem(smform 52 $$fparse(format_timestamp_some $(S_timess))-> \\\($$1\\\) $$2-) -@ setitem(smform 53 $$fparse(format_timestamp_some $(S_timess))$$(cl)-$$(hwht)>%n$$(wht) \\\($$(cl)$$1$$(wht)\\\)$$(cl) $$2-) +## smform 50-53 - crapple - 8.06.05 +@ setitem(smform 50 $$fparse(format_timestamp_some $($_timess))%W-$$(cl)>%n%W \\\($$(cl)$$1%W\\\)%n $$2-) +@ setitem(smform 51 $$fparse(format_timestamp_some $($_timess))$$(cl)-%W>%n$$(hgrn) \\\($$(cl)$$1$$(hgrn)\\\)%n $$2-) +@ setitem(smform 52 $$fparse(format_timestamp_some $($_timess))$$(cl)-%w>%n \\\($$1\\\) $$2-) +@ setitem(smform 53 $$fparse(format_timestamp_some $($_timess))$$(cl)-%W>%n%W \\\($$(cl)$$1%W\\\)%n $$2-) ## public formats @ delarray(pubform) @@ -145,7 +145,7 @@ @ setitem(pubform 37 $$fparse(format_timestamp_some $($_timess))$$(c3)[%n$$[-9]1$$(c3)]%n $$2-) @ setitem(pubform 38 $$fparse(format_timestamp_some $($_timess))<$$1> $$2-) @ setitem(pubform 39 <$$1> $$2-) -:: pubform 40-42 - crapple 8.06.05 +## pubform 40-42 - crapple 8.06.05 @ setitem(pubform 40 $$fparse(format_timestamp_some $($_timess))$$(wht)\\\(%n$$1$$(wht)\\\)%n $$2-) @ setitem(pubform 41 $$fparse(format_timestamp_some $($_timess))$$(cl)\\\(%n$$1$$(cl)\\\)%n $$2-) @ setitem(pubform 42 $$fparse(format_timestamp_some $($_timess))$$(hwht)\\\(%n$$1$$(hwht)\\\)%n $$2-) @@ -193,7 +193,7 @@ @ setitem(spubform 37 $$fparse(format_timestamp_some $($_timess))$$(c3)[%n$$[-9]1$$(c3)]%n $$2-) @ setitem(spubform 38 $$fparse(format_timestamp_some $($_timess))> $$2-) @ setitem(spubform 39 > $$2-) -:: sendpub 40-42 - crapple 8.06.05 +## sendpub 40-42 - crapple 8.06.05 @ setitem(spubform 40 $$fparse(format_timestamp_some $($_timess))$$(wht)\\\(%n$$1$$(wht)\\\)%n $$2-) @ setitem(spubform 41 $$fparse(format_timestamp_some $($_timess))$$(cl)\\\(%n$$1$$(cl)\\\)%n $$2-) @ setitem(spubform 42 $$fparse(format_timestamp_some $($_timess))$$(hwht)\\\(%n$$1$$(hwht)\\\)%n $$2-) @@ -280,39 +280,48 @@ ## join formats @ delarray(joinform) @ setitem(joinform 0 !) -@ setitem(joinform 1 $$G $$(c4)$$1 %K[$$(c3)$$3%K]%n has joined $$2) -@ setitem(joinform 2 $$G $$(c4)$$1 %K\\\($$(c3)$$3%K\\\)%n has joined $$2) -@ setitem(joinform 3 $$G %c.%K.[%Wj%noin%K/%n$$2%K]%n $$1%K\\\(%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$3)%K\\\)%n) -@ setitem(joinform 4 $$G $$(c1)$$1 %K[$$(c2)$$3$$(c1)%K]%n has joined $$(c2)$$2) -@ setitem(joinform 5 $$G %K.%c.%K[%Wj%noin%c.%n$$2%K] \\\(%n$$1%K[%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$3)%K]\\\)%n) -@ setitem(joinform 6 $$G %K.%m.%K[%Wj%noin%m.%n$$1%K\\\(%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$3)%K\\\)]%n to %m$$2) -@ setitem(joinform 7 $$G %K\\\(%Wjoin%K/%W$$2%K\\\)%n - %W$$1%K[$$(c1)$$before(@ $3)%K@$$(c1)$$after(@ $3)%K]) -@ setitem(joinform 8 $$G $$(c1)join$$(hblk)\\\($(cl)$$2$$(hblk)\\\)..$$(cl) $$(hwht)$$1$$(cl)!$$(c1)$$3) -@ setitem(joinform 9 $$G %K[%cjoin%K!%n$$2%K]%n $$1%W.%n.%c$$3%n) -@ setitem(joinform 10 $$G %cj%noin%K/%c$$2 %K[%n$$1%K!%c$$before(@ $3)%n@%c$$after(@ $3)%K]%n) +@ setitem(joinform 1 $$fparse(format_timestamp_some $($_timess))$$(c4)$$1 %K[$$(c3)$$3%K]%n has joined $$2) +@ setitem(joinform 2 $$(c4)$$1 %K\\\($$(c3)$$3%K\\\)%n has joined $$2 $$Z) +@ setitem(joinform 3 %c.%K.[%Wj%noin%K/%n$$2%K]%n $$1%K\\\(%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$3)%K\\\)%n $$Z) +@ setitem(joinform 4 $$fparse(format_timestamp_some $($_timess))$$(c1)$$1 %K[$$(c2)$$3$$(c1)%K]%n has joined $$(c2)$$2) +@ setitem(joinform 5 $$fparse(format_timestamp_some $($_timess))%K.%c.%K[%Wj%noin%c.%n$$2%K] \\\(%n$$1%K[%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$3)%K]\\\)%n) +@ setitem(joinform 6 $$fparse(format_timestamp_some $($_timess))%K.%m.%K[%Wj%noin%m.%n$$1%K\\\(%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$3)%K\\\)]%n to %m$$2) +@ setitem(joinform 7 $$G %K\\\(%Wjoin%K/%W$$2%K\\\)%n - %W$$1%K[$$(c1)$$before(@ $3)%K@$$(c1)$$after(@ $3)%K]%n $$Z) +@ setitem(joinform 8 $$G $$(c1)join$$(hblk)\\\($(cl)$$2$$(hblk)\\\)..$$(cl) $$(hwht)$$1$$(cl)!$$(c1)$$3%n $$Z) +@ setitem(joinform 9 $$fparse(format_timestamp_some $($_timess))%K[%cjoin%K!%n$$2%K]%n $$1%W.%n.%c$$3%n) +@ setitem(joinform 10 $$fparse(format_timestamp_some $($_timess))%cj%noin%K/%c$$2 %K[%n$$1%K!%c$$before(@ $3)%n@%c$$after(@ $3)%K]%n) @ setitem(joinform 11 $$G $$1 \\\($$3\\\) has joined channel $$2) @ setitem(joinform 12 $$G $$(c1)$$1 %K[$(cl)$$sar(g/@/$(hblk)@$(cl)/$3)$$(c1)%K]%n has joined $$(c2)$$2) -:: join added 13-16 crapple 8.06.05 -@ setitem(joinform 13 $$G $$(cl)$$1 %n$$(wht)\\\($$(cl)$$3$$(wht)\\\)%n has joined $$2) -@ setitem(joinform 14 $$G $$(wht)$$1%n $$(cl)\\\($$(cl)$$3$$(cl)\\\)%n has joined $$2) -@ setitem(joinform 15 $$G $$(wht)$$1%n $$(hwht)\\\($$(cl)$$3$$(hwht)\\\)%n has joined $$2) -@ setitem(joinform 16 $$G $$(cl)$$1%n $$(wht)\\\($$(ck)$$3$$(wht)\\\)%n has joined $$(wht)$$2%n) +## join added 13-17 crapple 8.06.05 +@ setitem(joinform 13 $$(cl)$$1 %n$$(wht)\\\($$(cl)$$3$$(wht)\\\)%n has joined $$2 $$Z) +@ setitem(joinform 14 $$fparse(format_timestamp_some $($_timess))$$(wht)$$1%n $$(cl)\\\($$(cl)$$3$$(cl)\\\)%n has joined $$2) +@ setitem(joinform 15 $$(wht)$$1%n $$(hwht)\\\($$(cl)$$3$$(hwht)\\\)%n has joined $$2 $$Z) +@ setitem(joinform 16 $$fparse(format_timestamp_some $($_timess))$$(cl)$$1%n $$(wht)\\\($$(ck)$$3$$(wht)\\\)%n has joined $$(wht)$$2%n) +@ setitem(joinform 17 $$G $$(wht)$$1%n $$(hgrn)\\\($$(cl)$$3$$(hgrn)\\\)%n$$(cl) has joined $$(hblu)$$2%n$$(cl) $$Z%n) +## join added 18-19 violence 8.06.05 +@ setitem(joinform 18 $$fparse(format_timestamp_some $($_timess))%c$$1 %K\\\[%C$$3%K\\\]%n has joined %C$$2) +@ setitem(joinform 19 $$fparse(format_timestamp_some $($_timess))$$(c4)$$1 %K[$$(c3)$$3%K]%n has joined $$2) ## leaves formats @ delarray(leaveform) @ setitem(leaveform 0 !) @ setitem(leaveform 1 $$G $$(c1)$$1 %K\\\($$(c2)$$2%K\\\) %nhas left $$(c2)$$3 %K[%n$$4-%K]) -@ setitem(leaveform 2 $$G $$(c1)$$1 %K\\\[$$(c2)$$2%K\\\] %nhas left $$(c2)$$3 %K[%n$$4-%K]) +@ setitem(leaveform 2 $$G $$(c1)$$1 %K\\\[$$(c2)$$2%K\\\] %nhas left $$(c2)$$3 %K[%n$$4-%K]%n at $$Z) @ setitem(leaveform 3 $$G $$1 %K[%w$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$2)%K]%n has left $$3 %K[%W$$4-%K]) -@ setitem(leaveform 4 $$G %c.%K.[%Wp%nart%K/%n$$3%K]%n $$1%K\\\(%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$2)%K\\\) %K[%n$$4-%K]%n) -@ setitem(leaveform 5 $$G %K.%c.%K[%Wp%nart%c.%n$$3%K]%n %K\\\(%n$$1%K[%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$2)%K]\\\)%n %K[%n$$4-%K]) -@ setitem(leaveform 6 $$G %K.%m.%K[%Wp%nart%m.%n$$1%K\\\(%n$$msar(g/@/$(hblk)@$(cl)/$(hblk).$(cl)/$2)%K\\\)]%n of %m$$3 %K[%n$$4-%K]) -@ setitem(leaveform 7 $$G %K\\\(%Wpart%K/%W$$3%K\\\)%n - %W$$1%K[$$(c1)$$before(@ $2)%K@$$(c1)$$after(@ $2)%K] \\\(%n$$4-%K\\\)) -@ setitem(leaveform 8 $$G %K\\\($$(c1)p%Kú$$(c2)$$3%K\\\)%n $$1%K[%n$$2%K] \\\(%n$$4-%K\\\)%n) -@ setitem(leaveform 9 $$G $$(c1)part$$(hblk)\\\($(cl)$$3$$(hblk)\\\).. $$(cl)$$1$$(hwht)!$$(c1)$$2) -@ setitem(leaveform 10 $$G %K[%npart%K!%c$$3%K]%n $$1%W.%n.%c$$2%n) -@ setitem(leaveform 11 $$G part%K/%n$$3 %K[%n$$1%K!%n$$before(@ $2)%K@%n$$after(@ $2)%K]%n) +@ setitem(leaveform 4 $$fparse(format_timestamp_some $($_timess))%c.%K.[%Wp%nart%K/%n$$3%K]%n $$1%K\\\(%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$2)%K\\\) %K[%n$$4-%K]%n) +@ setitem(leaveform 5 $$G %K.%c.%K[%Wp%nart%c.%n$$3%K]%n %K\\\(%n$$1%K[%n$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$2)%K]\\\)%n %K[%n$$4-%K]%n at $$Z) +@ setitem(leaveform 6 $$fparse(format_timestamp_some $($_timess))%K.%m.%K[%Wp%nart%m.%n$$1%K\\\(%n$$msar(g/@/$(hblk)@$(cl)/$(hblk).$(cl)/$2)%K\\\)]%n of %m$$3 %K[%n$$4-%K]) +@ setitem(leaveform 7 $$fparse(format_timestamp_some $($_timess))%K\\\(%Wpart%K/%W$$3%K\\\)%n - %W$$1%K[$$(c1)$$before(@ $2)%K@$$(c1)$$after(@ $2)%K] \\\(%n$$4-%K\\\)) +@ setitem(leaveform 8 $$fparse(format_timestamp_some $($_timess))%K\\\($$(c1)p%Kú$$(c2)$$3%K\\\)%n $$1%K[%n$$2%K] \\\(%n$$4-%K\\\)%n) +@ setitem(leaveform 9 $$G $$(c1)part$$(hblk)\\\($(cl)$$3$$(hblk)\\\).. $$(cl)$$1$$(hwht)!$$(c1)$$2%n $$Z) +@ setitem(leaveform 10 $$fparse(format_timestamp_some $($_timess))%K[%npart%K!%c$$3%K]%n $$1%W.%n.%c$$2%n) +@ setitem(leaveform 11 $$G part%K/%n$$3 %K[%n$$1%K!%n$$before(@ $2)%K@%n$$after(@ $2)%K]%n $$Z) @ setitem(leaveform 12 $$G $$1 has left channel $$3) +## leaves 13-14 violence - 8.06.05 +@ setitem(leaveform 13 $$fparse(format_timestamp_some $($_timess))$$(hwht)$$1 %K\\\[%n$$before(@ $2)%K@%n$$after(@ $2)%K\\\]%n has left $$3 %K\\\[%n$$4-%K\\\]) +@ setitem(leaveform 14 $$fparse(format_timestamp_some $($_timess))$$(c1)$$1 %K\\\[$$(c2)$$2%K\\\] %nhas left $$(c2)$$3 %K[%n$$4-%K]) +## leaves 15 - crapple - 8.06.05 +@ setitem(leaveform 15 $$G $$1 %K[%G$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$2)%K]%n has left $$3 %K[%W$$4-%K]%n at $$Z) ## mode formats @ delarray(modeform) @@ -323,6 +332,10 @@ @ setitem(modeform 4 $$fparse(format_timestamp_some $($_timess))$$zt %cmode%C.%c$$2 %K\\\(%n$$3 $$4-%K\\\) %nby %n$$1) @ setitem(modeform 5 $$fparse(format_timestamp_some $($_timess)) *** Mode change "$$3-" for $$2 by $$1) @ setitem(modeform 6 *** Mode change "$$3-" for $$2 by $$1) +## 7-9 - violence - 8.06.05 +@ setitem(modeform 7 $$fparse(format_timestamp_some $($_timess))$$zt%cmode%C.%c$$2 %K\\\(%n$$3 $$4-%K\\\) %nby %n$$1) +@ setitem(modeform 8 $$fparse(format_timestamp_some $($_timess))%Mmode%K/%m$$2 %K\\\[$$(hwht)$$3-%K\\\] %nby $$(hwht)$$1) +@ setitem(modeform 9 $$fparse(format_timestamp_some $($_timess))%K\\\[%cmode%K\\\(%C$$2%K\\\) %c$$3 $$4-%K\\\] %nby %C$$1) ## notice formats @ delarray(notform) @@ -422,6 +435,8 @@ @ setitem(sdcform 24 $$fparse(format_timestamp_some $($_timess))$$(c3)-$$(c4)> $$(c3)[%n=$$1$$(c3)]%n $$2-) @ setitem(sdcform 25 $$fparse(format_timestamp_some $($_timess))$$=> =$$1= $$2-) @ setitem(sdcform 26 $$=> =$$1= $$2-) +## sent dcc - 27/slightly modified #8 - violence - 8.06.05 +@ setitem(sdcform 27 $$fparse(format_timestamp_some $($_timess))$$zt$$(hblk)[$$(hgrn)dcc$$(hblk)\\\($$(grn)$$1$$(hblk)\\\)]$$(cl) $$2-) ## dcc formats @ delarray(dcform) @@ -452,6 +467,8 @@ @ setitem(dcform 24 $$fparse(format_timestamp_some $($_timess))$$(c3)[%n$$1$$(c3)!%ndcc$$(c3)]%n $$2-) @ setitem(dcform 25 $$fparse(format_timestamp_some $($_timess))=$$1= $$2-) @ setitem(dcform 26 =$$1= $$2-) +## dccform - 27/slightly modded #8 - violence - 8.06.05 +@ setitem(dcform 27 $$fparse(format_timestamp_some $($_timess))$$zt$$(hblk)[$$(grn)$$1$$(hblk)\\\($$(hgrn)dcc$$(hblk)\\\)]$$(cl) $$2-) ## topic formats @ delarray(topform) @@ -541,14 +558,14 @@ @ setitem(echostr 43 $(hblk)Ä$(c1)Ä$(c2)Ä$(cl)) @ setitem(echostr 44 $(hblk)Ä$(c3)Ä$(c4)Ä$(cl)) @ setitem(echostr 45 ***) -# echostr 46-51 added - phuzion - 12.04.99 +## echostr 46-51 added - phuzion - 12.04.99 @ setitem(echostr 46 $(hblk)þ$(c1)þ$(c2)þ$(cl)) @ setitem(echostr 47 $(hblk)‘$(c1)‘$(c2)‘$(cl)) @ setitem(echostr 48 $(hblk)÷$(c1)÷$(c2)÷$(cl)) @ setitem(echostr 49 $(hblk)ð$(c1)ð$(c2)ð$(cl)) @ setitem(echostr 50 $(hblk)=$(c1)=$(c2)=$(cl)) @ setitem(echostr 51 $(hblk)ö$(c1)ö$(c2)ö$(cl)) -:: echostr crapple 52-57 added - crapple 8.06.05 +## echostr crapple 52-57 added - crapple 8.06.05 @ setitem(echostr 52 [S+Z]) @ setitem(echostr 53 [A+C]) @ setitem(echostr 54 ***) @@ -577,7 +594,7 @@ @ setitem(ncomp 15 :) @ setitem(ncomp 16 ;) @ setitem(ncomp 17 - ) -# ncomp 18-19 added - phuzion - 12.04.99 +## ncomp 18-19 added - phuzion - 12.04.99 @ setitem(ncomp 18 > ) @ setitem(ncomp 19 > ) @ setitem(ncomp 20 |>) @@ -598,14 +615,14 @@ @ setitem(svform 10 $$word(0 $info(v))/$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] $$(a.ver)$$sar(g/././$(a.rel)) ) @ setitem(svform 11 $$(a.ver)$$sar(g/././$(a.rel)) $$word(0 $info(v))/$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)]) @ setitem(svform 12 $$(a.ver)[$$(a.rel)] $$word(0 $info(v))/$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)]) -::svform 13-15 added - phuzion - 12.04.99 -- 16 added 12.05.99 +##svform 13-15 added - phuzion - 12.04.99 -- 16 added 12.05.99 @ setitem(svform 13 $$word(0 $info(v))/$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] - $$tolower($uname(%s)-$uname(%%r)) - amnesiac/$$(a.rel)) @ setitem(svform 14 $$toupper($word(0 $info(v)))-$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] - $$uname(%s)-$$uname(%%r) - amnesiac!$$(a.rel)) @ setitem(svform 15 $$toupper($word(0 $info(v)))-$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] - $$uname(%s)-$$uname(%%r) - amnesiac/$$(a.rel)) @ setitem(svform 16 $$tolower($word(0 $info(v)))-$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] - $$tolower($uname(%s))-$$uname(%%r) - amnesiac/$$(a.rel)) @ setitem(svform 17 ..$$word(0 $info(v))!$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$$info(i)] $$tolower($uname()) \\\($$a.ver/$$a.rel\\\) $$scdesc) @ setitem(svform 18 $$sar(g/././$word(0 $info(v))/$word(1 $info(v)).$word(2 $info(v))).$$word(3 $info(v))[$$info(i)] $$tolower($sar(g/././$uname())) $$a.ver/$$sar(g/././$a.rel)) -::svform 19-20 added - zak - 7/30/05 - 21-26 -- fake version stuff. +##svform 19-20 added - zak - 7/30/05 - 21-26 -- fake version stuff. @ setitem(svform 19 ircII $J $uname()) @ setitem(svform 20 ircII $J[$info(i)] $uname()) @ setitem(svform 21 ircii/$$word(0 $info(v))-$$word(1 $info(v)).$$word(2 $info(v)).$$word(3 $info(v))[$info(i)] sunos 5.10(insanity)amnesiac/$$(a.rel)) diff -aru amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Sat Jul 23 14:57:25 2005 +++ amn/core/fsets.m Sat Aug 6 20:44:49 2005 @@ -64,8 +64,8 @@ ^on ^msg * {echo $fparse(format_msg $0 $userhost() $1-)} ^on ^send_msg * {echo $fparse(format_send_msg $0 $1-)} ^on ^channel_signoff * xecho $fparse(format_signoff $0 $1 $2-) -^on ^join * xecho $fparse(format_join $0 $1 $2) $Z -^on ^part * xecho $fparse(format_leave $0 $userhost() $1 $3-) $Z +^on ^join * xecho $fparse(format_join $0 $1 $2) +^on ^part * xecho $fparse(format_leave $0 $userhost() $1 $3-) ^on ^mode * xecho $fparse(format_mode $0 $1 $2 $3-) ^on ^nickname * echo $fparse(format_nickname $0 $1) ^on ^invite * echo $fparse(format_invite $0 $1);echo $G press Ctrl-K to join;@invchan=[$1] Only in amn.orig/core: l.old diff -aru amn.orig/core/lusers.m amn/core/lusers.m --- amn.orig/core/lusers.m Sat Aug 6 16:07:53 2005 +++ amn/core/lusers.m Sat Aug 6 17:34:51 2005 @@ -28,9 +28,9 @@ on ^266 * { ^on ^raw_irc -"$S % $N :Highest connection count*" # @ _lu.um = [$6] - ^set floating_point_math_var on + ^set floating_point_math on xecho -v $(hblk)[$cparse($(c2)³)$(hblk)] $cparse($(c2)g)$cparse($(c1)lobal users)$(hblk).. $(cl)$[6]_lu.u ${_lu.um?[$(cl)max$(c.hk).. $(cl)$[6]_lu.um ]:}$cparse($(c1)\()$(cl)$_lu.i invisible, $_lu.o operators$cparse($(c1)\)) - xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)l)$cparse($(c1)ocal users)$(hblk)... $(cl)$[6]_lu.lu ${_lu.lum?[$(cl)max$(c.hk).. $(cl)$[6]_lu.lum ]:}$cparse($(c1)\()$(cl)$trunc(1 ${100 * _lu.lu / _lu.u})\%$cparse($(c1)\)) + xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)l)$cparse($(c1)ocal users)$(hblk)... $(cl)$[6]_lu.lu ${_lu.lum?[$(cl)max$(c.hk).. $(cl)$[6]_lu.lum ]:}$cparse($(c1)\()$(cl)$trunc(1 ${100 * (_lu.lu / _lu.u)})\%$cparse($(c1)\)) xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)s)$cparse($(c1)ervers)$(hblk)....... $(cl)$[6]_lu.s $cparse($(c1)\()$(cl)$trunc(1 ${_lu.u / _lu.s}) avg users per server$cparse($(c1)\)) xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)c)$cparse($(c1)hannels)$(hblk)...... $(cl)$[6]_lu.c $cparse($(c1)\()$(cl)$trunc(1 ${_lu.u / _lu.c}) avg users per channel$cparse($(c1)\)) } Only in amn: emopart.reasons diff -aru amn.orig/kick.reasons amn/kick.reasons --- amn.orig/kick.reasons Wed May 25 16:44:26 2005 +++ amn/kick.reasons Sat Aug 6 19:50:37 2005 @@ -1,35 +1,29 @@ you have the nicest teeth I ever cummed across. stop it dad! You're crushing my smokes! -Guns make holes in people. Weed makes people giggle and eat cake. look at the lost souls, they seem so black. I have enough of it -Shit! Cops at my door! Gotta check the real world too Even good things pass away -Beer calls -Your mom works for me Are you threatening me ? -Gimme TP for my bunghole No pain no gain Hey, why did I ban ? -I have the power supreme -I'm madman, hell on wheels, born a wicked child, left alone in the fields -More important things on my mind One day sheep will rule the world -If you're fighting to live, It's ok to die! -I need a ride to the morgue, that's what 911 is for. -Born from the dark, in the black cloak of night. -Set the world Afire!!! They said it'd never come, we knew it was a lie. Time to kiss your ass goodbye, the end has just begun. No time to change your fate, no time left, it's too late. -And if it comes, the living will envy the dead! No one will be left to prove the humans existed. -We all live on one planet and it will all go up in smoke. -And now the final scene, a global darkening... -Einstein said `we'll use rocks on the other side'. -No Survivors!!!!!! Set the World Afire!!!! I walk, I walk alone, into the promised land... But the time has come when all good things shall pass. -The fatter they are, the fatter they fall I'm your little nightmare +Eat right, exercise regularly, die anyway. +Death to all fanatics! +I never forget a face, but in your case I'll make an exception. +i would have been your father but the damn dog beat me over the fence! +!!! +Weeding out the emo +I wish your cliche machine would break. +i used to dream about doing this when i was a little boy! +<3=======8 +I really dispise you internet know-it-alls +YOUR BODY iS NOT A TEMPle YOUR mOM LIED TO YOU +you're worse then those swollen tummy ethiopian kids diff -aru amn.orig/modules/netsplit/netsplit.m amn/modules/netsplit/netsplit.m --- amn.orig/modules/netsplit/netsplit.m Mon Jun 6 15:57:42 2005 +++ amn/modules/netsplit/netsplit.m Sat Aug 6 20:34:30 2005 @@ -71,7 +71,7 @@ ^ON ^JOIN * { if (netjoined($encode($tolower($1)) $encode($0) $1 $0 $USERHOST()) == 1) { - xecho $fparse(format_join $0 $1 $2) $Z + xecho $fparse(format_join $0 $1 $2) } } diff -aru amn.orig/quit.reasons amn/quit.reasons --- amn.orig/quit.reasons Wed May 25 16:44:32 2005 +++ amn/quit.reasons Sat Aug 6 19:43:53 2005 @@ -4,7 +4,6 @@ stop it dad! You're crushing my smokes! Guns make holes in people. Weed makes people giggle and eat cake. look at the lost souls, they seem so black. -more stable than your mother I'm outta here... The fatter they are, the fatter they fall I'm your little nightmare @@ -13,3 +12,4 @@ Backup not found! A)bort, R)etry or P)anic? A)bort, R)etry, I)gnore, V)alium? A)bort, R)etry, P)retend this never happened... +I really dispise you internet know-it-alls diff -aru amn.orig/stats/stat.12 amn/stats/stat.12 --- amn.orig/stats/stat.12 Mon Jul 4 11:19:38 2005 +++ amn/stats/stat.12 Sat Aug 6 22:13:23 2005 @@ -2,6 +2,7 @@ ## thank you dh!#@ ^set input_prompt $(mag).$(sc1).$(hblk)\($(sc1)$C$(hblk)\)$(cl) alias stat12 { +^set status_query $(sc1)query$(hblk)\($(sc1)=%Q$(hblk)) ^set STATUS_AWAY $(sc1)zZzZ$(mag) +$(cl) ^set STATUS_CHANNEL $(mag)/$(sc1)%C$(cl) ^set STATUS_CHANOP $(sc2)@$(cl) @@ -9,7 +10,7 @@ ^set STATUS_CPU_SAVER (%L) ^set STATUS_FORMAT %T [%R] %*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L %D %U %W ^set STATUS_FORMAT1 $(hwht)<ÄÄ$(cl)ÄÄ$(hblk)¿ %=%*%@$(sc1)%N$(cl)%#%C%+ %>%! $(hblk)\($(cl)o$(mag)/$(sc1)%2 $(cl)n$(mag)/$(sc1)%3 $(cl)v$(mag)/$(sc1)%4$(hblk)\)$(cl) $(mag)+$(sc2) w$(sc1)in$(hblk):$(sc1) %R $(hwht)<ÄÄ$(cl)ÄÄ$(hblk)¿$(cl) -^set STATUS_FORMAT2 $(hblk)À$(cl)ÄÄ$(hwht)ÄÄ>$(sc1) %T $(mag)+$(sc2) $(sc2)s$(sc1)erv$(hblk):$(sc1)%{2}S %> $(hblk)\($(sc2)a$(sc1)ct$(mag): $(sc1)%F$(hblk)) $(mag)+$(sc2) %A $(sc2)l$(sc1)ag$(hblk):$(sc1)%1$(hblk) À$(cl)ÄÄ$(hwht)ÄÄ>$(cl) +^set STATUS_FORMAT2 $(hblk)À$(cl)ÄÄ$(hwht)ÄÄ>$(sc1) %T $(mag)+$(sc2) $(sc2)s$(sc1)erv$(hblk):$(sc1)%{2}S %> %Q $(hblk)\($(sc2)a$(sc1)ct$(mag): $(sc1)%F$(hblk)) $(mag)+$(sc2) %A $(sc2)l$(sc1)ag$(hblk):$(sc1)%1$(hblk) À$(cl)ÄÄ$(hwht)ÄÄ>$(cl) ^set STATUS_MODE $(hblk)\($(cl)+$(sc1)%+$(hblk)\)$(cl) ^set STATUS_NICK %N ^set STATUS_NOTIFY %F diff -aru amn.orig/themes/nocturnal.th amn/themes/nocturnal.th --- amn.orig/themes/nocturnal.th Sun Jun 5 23:59:40 2005 +++ amn/themes/nocturnal.th Sat Aug 6 22:15:49 2005 @@ -4,15 +4,15 @@ @auth=[crapple] @desc=[nocturnal] @name=[nocturnal] -@scdesc=[\(nocturnal)] -@mform=9 -@smform=35 +@scdesc=[\(nocturnal\)] +@mform=28 +@smform=51 @pubform=5 @spubform=17 @spuboform=6 @signform=6 -@joinform=12 -@leaveform=[3] +@joinform=17 +@leaveform=[15] @modeform=1 @notform=19 @snotform=28 @@ -23,24 +23,24 @@ @sctcpform=8 @echostr=45 @ncomp=15 -@svform=10 +@svform=18 @snf=3 -@wallform=[6] +@wallform = [6] @bwallform=6 @awayform=9 @actform=3 -@actoform=3 +@actform=3 @descform=2 @sdescform=2 -@pubnotform=1 -@statbar=[stat.5] -@_whois=3 -@c1 = [ -@c2 = [ -@c3 = [ -@c4 = [ -@c5 = [ -@sc1 = [ -@sc2 = [ -@sc3 = [ -@sc4 = [ +@actform=3 +@statbar=[stat.12] +@_whois=[3] +@c1=[ +@c2=[ +@c3=[ +@c4=[ +@c5=[ +@sc1=[ +@sc2=[ +@sc3=[ +@sc4=[ Date: Sun, 7 Aug 2005 03:39:48 -0400 (EDT) From: zak@ircii.org (Zak) -an alias fix, and updated some docs.. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sat Aug 6 22:19:52 2005 +++ amn/ChangeLog Sun Aug 7 03:32:12 2005 @@ -553,3 +553,9 @@ -update my theme -nocturnal //zak -fix up statbar #12 to include query (hopefully it's enough room) //zak -release amnesiac1.0a-cvs14 + +8/7/05 +-fix a window alias. and remove window name amnesiac on startup. //zak +-sync version to reality. //zak +-update TODO-BUGS //zak +-update E5-KNOWNBUGS doc's from -HEAD. diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Sat Aug 6 17:07:55 2005 +++ amn/TODO-BUGS Sun Aug 7 03:24:02 2005 @@ -7,7 +7,6 @@ @ = requests/votes $ = knownbug. -+ Redo /ahelp fucking ugly. //any sucke^H^H^Hnice volunteers? @ (Alien88_[alien@umich.edu]) if ov is toggled on (Alien88_[alien@umich.edu]) reset opermodes //vote? @ finish up the notify logging..tog signon/signoffs/off/on etc.. @@ -30,25 +29,30 @@ @ test to verify some of the confusing hooks in various parts of the tree regarding the unbanself protection i have never tested the sprot module or know if it works... i don't even know if anyone uses it. -@ maybe? for - glines... - <@skullY> you could if ([$0]==[y] || [$0]==[yes]) //vote? @ add a module for set num of exclamation's !!!! before kicking person with kickops on/off option add repeat kick with option for # of repeats before kicking offender. add mirc kick for ppl using mirc colors. all should have toggle for on and off, and should work with kickops variable. -#bugs listed below. +## some bugs listed below. 7/30/5 move topicwin as a kinda buggy module since it does need work (doesn't update the topic if multiple chans in same window) //zak $@ delword # does not work. workaround... /delword word #channel - should make it so one can do /delword #. else what's the point of + should make it so one can do /delword #. else what's the point of having the numerics there? $@ Improve topwindowing some... //kreca? -#bugs fixed. +## bugs fixed. / projects done. +8/7/05 doesn't look like this is needed move to here votes closed. //zak +- maybe? for - glines... + <@skullY> you could if ([$0]==[y] || [$0]==[yes]) //vote? + +8/7/05 pretty much happy with where this is at now... //zak +! Redo /ahelp fucking ugly. //any sucke^H^H^Hnice volunteers? + 7/30/05 fixed/relm/paste/relwm etc.. can now be outputted to an active window see changelog. //zak ! pmsg broke, fucks up client, /paste should output to current window diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sat Aug 6 22:22:15 2005 +++ amn/amn.epic Sun Aug 7 03:19:12 2005 @@ -59,16 +59,13 @@ set -status_format1 set -status_format2 window 1 level none -window 1 name amnesiac window 1 double on ::fix for kreca who isn't the brightest star in the sky to not break URLS. eval set word_break $strip(. $word_break) -:: + ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### @_modules=[topwin ncomp flood abot lsay sprot aol query away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] -::colours - @ cl = [\\[0m] @ blk = [\\[0\;30m] @ blu = [\\[0\;34m] @@ -95,7 +92,7 @@ @ byel = [\\[43m] @ bcyn = [\\[46m] -::assigns +##assigns @_ort=3 @_bt=3 @@ -106,7 +103,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[14] +@commit_id=[14s] @a.rel=[1.0a cvs/$commit_id] @a.date=[20050806] @_ss=15 diff -aru amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Sat Aug 6 04:46:18 2005 +++ amn/core/window.m Sun Aug 7 03:03:08 2005 @@ -77,7 +77,7 @@ alias rtop topoff alias rtopwin delmod topwin alias topwin addmod topwin -alias wadd wa $* +alias wadd window add $* alias rwadd dq $* alias msgwin {wc;wsl;window level msgs,notices;window name messages} alias dccwin {wc;wsl;window level dcc;window name dcc} diff -aru amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Tue Jul 26 14:04:06 2005 +++ amn/docs/E5-KNOWNBUGS Sun Aug 7 03:31:29 2005 @@ -2,21 +2,12 @@ KNOWN ERRATA (eg, bugs, or unresolved requests): ------------------------------------------------ -* Support dalnet's CASEMAPPING=ascii senselessness. -* /exec -out should go to current target, not just current channel. -* /load will ignore pathname if it can't be found. -* Function to "humanize" a number? (ie, 1024 -> "1k") -* Math parser selection should be done by a /set now -* Crap should not be considered when matching a line with /lastlog -> (#epic) $windowctl(SET ACTIVITY_FORMAT 2 "$2:$1") -> (#epic) $windowctl(SET ACTIVITY_LEVEL 2 "$winchan($0) $2") -> (#epic) $windowctl(SET ACTIVITY_LEVEL 2) --> (#epic) $windowctl(SET ACTIVITY_DATA "$winchan($0) $2") * For /dcc get nick ... file1 file2 ... where not-offered-file immediately follows an offered-file, treat it as an implied rename. -* Need a new server state "ERROR" for unrecoverable unexpected errors. -* Black wants altchan.bj renamed to altchan -* Reconnections back to unix pathnames segfault? All back reconnections? +* /DCC GET is broken, it appends the dirname twice or something. LOOK FOR IN THE NEXT RELEASE ---------------------------- @@ -729,3 +720,17 @@ * Fix up how relative filenames are found with /load. See UPDATES * Add ascii_str[n]icmp and rfc1459_str[n]icmp for use with alists. * Make nick+channel name lookups handled according to 005 CASEMAPPING! +* Begin the work of "normalizing" argument handling to /dcc commands. +* Convert some more dcc commands, making progress! +* Fix pf problems with tabkey.jm +* Add "UNPRINTABLE" as a mangle type, remove all non-printable chars. +* Add /set old_math_parser, to turn on the old math parser (don't do this! :P) +* Whack /xdebug old_math +* Rename 'altchan.bj' to 'altchan' +* Add new server state, "ERROR" which triggers for non-recoverable socket errs. +* Try to give some trailing context for unmatched braces/bracket/parens. +* Fix bug in marshall_getaddrinfo. DOH! +* Add humanize_number() to compat.c, and fix compiler warnings. +* Change /exec -out to output to the current target, (*gulp*) +* Add /lastlog -mangle to permit you to match against mangled lines. +* Add per-window activity data, for weirdo and howl, see UPDATES Only in amn.orig/docs: SOME-COMMANDS.TXT From: Kreca Date: Mon, 8 Aug 2005 23:34:33 +0200 (CEST) -added a new /format for nickname changes. Check /format u. Made by violence, t\ hanks! diff -ru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sun Aug 7 09:32:12 2005 +++ amn/ChangeLog Mon Aug 8 16:37:08 2005 @@ -559,3 +559,6 @@ -sync version to reality. //zak -update TODO-BUGS //zak -update E5-KNOWNBUGS doc's from -HEAD. + +8/8/05 +-added a new /format for nickname changes. Check /format u. Made by violence, thanks! diff -ru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sun Aug 7 09:19:12 2005 +++ amn/amn.epic Mon Aug 8 16:36:41 2005 @@ -178,6 +178,7 @@ @statbar=[stat.11] @whoform=1 @whofootform=1 +@nickform=3 @_whois=4 @c1 = [\\[0\;36m] @c2 = [\\[1\;36m] diff -ru amn.orig/ans/format.ans amn/ans/format.ans --- amn.orig/ans/format.ans Sat May 28 08:38:02 2005 +++ amn/ans/format.ans Mon Aug 8 16:36:41 2005 @@ -1,7 +1,7 @@ eval aecho eval aecho -------------------= Amnesiac Formats =------------------------ eval aecho -eval aecho [a] messages [k] send notices +eval aecho [a] messages [k] send notices [u] nick changes eval aecho [b] send messages [l] send dcc chat [v] channel wall eval aecho [c] publics [m] dcc chat [w] away formats eval aecho [d] send publics [n] topics [x] action formats diff -ru amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Sun Aug 7 03:49:35 2005 +++ amn/core/arrays.m Mon Aug 8 16:36:41 2005 @@ -728,3 +728,21 @@ @ setitem(whofootform 1 ÀÄÄÄÄÄ---%cÄ%C--%cÄÄ%C-%cÄÄÄÄÄÄ---%KÄ%c--%KÄÄ%c-%KÄÄÄÄÄÄÄÄÄ--- -- -) @ setitem(whofootform 2 *** $$1-) @ setitem(whofootform 3 *** %Y$$1:%w %W$$2%w $$3-) + +## nick change formats -violence +@ delarray(nickform) +@ setitem(nickform 0 !) +@ setitem(nickform 1 $$G %w$$1 %nis now known as %m$$2) +@ setitem(nickform 2 $$G %w$$1 %nis now known as %m$$2 %n$$Z) +@ setitem(nickform 3 $$G %c$$1 %nis now known as %m$$2) +@ setitem(nickform 4 $$G %c$$1 %nis now known as %m$$2 %n$$Z) +@ setitem(nickform 5 $$G %g$$1 %nis now known as %G$$2) +@ setitem(nickform 6 $$G %g$$1 %nis now known as %G$$2 %n$$Z) +@ setitem(nickform 7 $$G %nnick change %K\\\(%c$$1 %K-> %m$$2%K\\\)) +@ setitem(nickform 8 $$G %nnick change %K\\\(%c$$1 %K-> %m$$2%K\\\) %n$$Z) +@ setitem(nickform 9 $$G %nnick change %K\\\(%g$$1 %K-> %G$$2%K\\\)) +@ setitem(nickform 10 $$G %nnick change %K\\\(%g$$1 %K-> %G$$2%K\\\) %n$$Z) +@ setitem(nickform 11 $$fparse(format_timestamp_some $($_timess))$$G %c$$1%n is now known as %m$$2) +@ setitem(nickform 12 $$fparse(format_timestamp_some $($_timess))$$G %W$$1 %nis now known as %m$$2) +@ setitem(nickform 13 $$fparse(format_timestamp_some $($_timess))$$G %nnick change %K\\\(%c$$1 %K-> %m$$2%K\\\)) +@ setitem(nickform 14 $$fparse(format_timestamp_some $($_timess))$$G %nnick change %K\\\(%W$$1 %K-> %m$$2%K\\\)) diff -ru amn.orig/core/format.m amn/core/format.m --- amn.orig/core/format.m Mon Jun 6 01:36:48 2005 +++ amn/core/format.m Mon Aug 8 16:36:41 2005 @@ -21,6 +21,7 @@ (r) { if (![$1]) {ncomp.show} {ncomp $1} } (s) { if (![$1]) {svform.show} {svform $1} } (t) { if (![$1]) {ansiload $(loadpath)ans/scan.ans} {sformat $1;@snf=[$1]} } + (u) { if (![$1]) {nickform.show} {nickform $1} } (v) { if (![$1]) {wallform.show} {wallform $1} } (w) { if (![$1]) {awayform.show} {awayform $1} } (x) { if (![$1]) {actform.show} {actform $1} } @@ -799,3 +800,35 @@ xecho -v current format set to $whoform @format_who=getitem(whoform $whoform) } + + +alias nickform if ([$0]) { + if (isnumber($0)&&[$0] to set nick change format + xecho -v -b current format set to $nickform + @format_nickname=getitem(nickform $nickform) +} + + + diff -ru amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Sun Aug 7 02:44:49 2005 +++ amn/core/fsets.m Mon Aug 8 16:36:41 2005 @@ -37,7 +37,7 @@ alias fparse {eval return $(cparse($($*)))} @ format_msg_group = [%K-$$(c2)$$1%K:$$(c1)$$2%K-%n $$3-] @ format_wallop = [%K!$$(c1)$$1:$$2%K! %n$$3-] -@ format_nickname = [$$G %w$$1%n is now known as $$(c3)$$2] +@ format_nickname = [$$G %c$$1 %nis now known as %m$$2] @ format_invite = [$$G %K<$$(c1)\$1%K\\\($$(c2)invite%K.$$(c1)\$2%K\\\)>] @ format_dcc_connect = [$$G $$(c2)DCC %n$$2 connection with %w$$1%K[$$(c2)$$3, port $$4%K]%n established] @ format_dcc_request = [$$G $$(c2)DCC %n$$2 %K\\\(%n$$3%K\\\) %nrequest from %w$$1%K[$$(c1)$$userhost() %K[$$(c3)$$4%K:$$(c3)$$5%K]]] diff -ru amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Mon Jun 6 00:20:55 2005 +++ amn/core/save.m Mon Aug 8 16:36:41 2005 @@ -142,6 +142,7 @@ @write($savemt @pubnotform = [$pubnotform]) @write($savemt @whoform = [$whoform]) @write($savemt @whofootform = [$whofootform]) + @write($savemt @nickform = [$nickform]) @write($savemt @_whois = [$_whois]) @close($savemt) diff -ru amn.orig/core/update.m amn/core/update.m --- amn.orig/core/update.m Sun Jul 31 05:28:28 2005 +++ amn/core/update.m Mon Aug 8 16:36:41 2005 @@ -24,6 +24,7 @@ ^eval svform.load $svform ^eval wallform.load $wallform ^eval whoform.load $whoform +^eval nickform.load $nickform ^eval awayform.load $awayform ^eval actform.load $actform ^eval xdescform.load $descform Date: Mon, 8 Aug 2005 21:18:21 -0400 (EDT) From: zak@ircii.org (Zak) -fix igsave possibly, some comment updates... //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Mon Aug 8 10:37:08 2005 +++ amn/ChangeLog Mon Aug 8 21:17:01 2005 @@ -562,3 +562,5 @@ 8/8/05 -added a new /format for nickname changes. Check /format u. Made by violence, thanks! +-possibly fixed the ignore save... oops //zak +-some comment changes and documentation update somewhat. //zak diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Sun Aug 7 03:24:02 2005 +++ amn/TODO-BUGS Mon Aug 8 21:16:29 2005 @@ -62,7 +62,7 @@ 8/6/05 fixed one night by accident when totally trashed on alcohol it was such a hard fix too /eval set word_break $strip(. $word_break) kreca - should be ashamed of himself. //zak + should be ashamed of himself. //zak (apparently not proper fix just a hack) ! make sure when urls are broken, dont leave two extra spaces between this might be impossible to do since it's controlled by epic //kreca diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Mon Aug 8 10:36:41 2005 +++ amn/amn.epic Mon Aug 8 21:15:44 2005 @@ -60,7 +60,7 @@ set -status_format2 window 1 level none window 1 double on -::fix for kreca who isn't the brightest star in the sky to not break URLS. +##hack to not break URLS. eval set word_break $strip(. $word_break) ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### @@ -195,9 +195,9 @@ ^eval set QUIT_MESSAGE $tolower($J) - $randread($(loadpath)quit.reasons) ^eval $mkdir($(savepath)) -::poor mans THUTTUP on file not found loader. +##poor mans THUTTUP on file not found loader. ^on ^yell * # -::end poor mans THUTTUP. +##end poor mans THUTTUP. ^eval ^load $(savepath)$savefile ^eval ^load $(savepath)$csavefile diff -aru amn.orig/core/igsave.m amn/core/igsave.m --- amn.orig/core/igsave.m Wed May 25 16:59:45 2005 +++ amn/core/igsave.m Mon Aug 8 21:11:36 2005 @@ -1,5 +1,5 @@ alias igsave { - @igsfile=[$(savepath).obv.ig.save] + @igsfile=[$(savepath).a.ig.save] @rename($igsfile $igsfile~) @saveig = open($igsfile W T) fe ($igmask(*)) _igmasks { diff -aru amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Mon Aug 8 10:36:41 2005 +++ amn/core/save.m Mon Aug 8 21:13:18 2005 @@ -169,7 +169,7 @@ alias saveall { -@_savevar=[csave asave fsave botsave shitsave usersave fsetsave chansave wordssave modsave] +@_savevar=[csave asave fsave botsave shitsave usersave fsetsave chansave wordssave modsave igsave] fe ($_savevar) n1 { if (match($n1 $aliasctl(alias match *))) { $n1 Date: Tue, 9 Aug 2005 00:47:56 -0400 (EDT) From: zak@ircii.org (Zak) -fix stupid sbar #11 variables, where they came from i haven't the slightest clue, sync with reality. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Mon Aug 8 21:17:01 2005 +++ amn/ChangeLog Tue Aug 9 00:46:31 2005 @@ -564,3 +564,7 @@ -added a new /format for nickname changes. Check /format u. Made by violence, thanks! -possibly fixed the ignore save... oops //zak -some comment changes and documentation update somewhat. //zak +-fix sbar num 11 to output proper format ops/non/voice it was using + vars i have no idea where they came from set it the way my script works + status_users2 = chops aka %2 users3 = nonops aka %3 and %4 = voice + remember this in the future should any of you guys do sbar formats. //zak diff -aru amn.orig/stats/stat.11 amn/stats/stat.11 --- amn.orig/stats/stat.11 Mon Jul 4 11:18:04 2005 +++ amn/stats/stat.11 Tue Aug 9 00:42:13 2005 @@ -4,7 +4,7 @@ ^set status_format [operview] %>%S ^set status_format1 %T [win:%R] +%*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L ^set -input_prompt -^set status_format2 (ops:%Y) (non:%X) (voc:%Z) %U %> +^set status_format2 (ops:%2) (non:%3) (voc:%4) %U %> ^set status_umode (+%#) ^set status_oper * ^set status_channel %C diff -aru amn.orig/stats/stat.5 amn/stats/stat.5 --- amn.orig/stats/stat.5 Mon Jul 4 11:14:13 2005 +++ amn/stats/stat.5 Tue Aug 9 00:24:59 2005 @@ -1,9 +1,6 @@ package stat5 - alias stat5 { - ^set -input_prompt - ^set status_format1 $(sc2)Ú$(sc1)Ä$(hblk)Ä %*%=%@$(sc1)%N$(hblk)\($(sc3)%#$(hblk)) $(sc1)%C$(hblk)\($(sc3)%+%!$(hblk)) %> $(hblk)\($(sc1)o$(hblk)/$(sc3)%2 $(sc1)n$(hblk)/$(sc3)%3 $(sc1)v$(hblk)/$(sc3)%4$(hblk)) $(hblk)ÄÄÄÄÄÄÄÄÄÄÄÄÄ $(sc1)lag$(hblk)\($(sc3)%1$(hblk))Ä$(sc1)¿ ^set status_format2 $(sc1)À$(hblk)Ä $(sc1)time$(hblk)\($(sc3)%T$(hblk)) $(sc1)win$(hblk)\($(sc3)%R$(hblk)) %F %A %M %Q %> %6 $(hblk)Ä$(sc1)Ä$(sc2)Ù ^set status_umode +%# @@ -27,4 +24,4 @@ stat5 ^timer -del 14 ^window double on -^timer -window -1 -refnum 14 -rep -1 60 ^set status_user6 $sar(g/ //$(sc1)up$(hblk)\($(sc1)$before(m $tdiff2(${time() - F}))m)$(hblk)) \ No newline at end of file +^timer -window -1 -refnum 14 -rep -1 60 ^set status_user6 $sar(g/ //$(sc1)up$(hblk)\($(sc1)$before(m $tdiff2(${time() - F}))m)$(hblk)) Date: Tue, 9 Aug 2005 00:58:07 -0400 (EDT) From: zak@ircii.org (Zak) -fix some stupid aliases that someone somehow somewhere forgot to add $* and fucked up on the last commit so you'll see double commits in here.. oops. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Mon Aug 8 21:17:01 2005 +++ amn/ChangeLog Tue Aug 9 00:54:31 2005 @@ -561,6 +561,13 @@ -update E5-KNOWNBUGS doc's from -HEAD. 8/8/05 --added a new /format for nickname changes. Check /format u. Made by violence, thanks! +-added a new /format for nickname changes. Check /format u. + Made by violence, thanks! //kreca -possibly fixed the ignore save... oops //zak -some comment changes and documentation update somewhat. //zak +-fix sbar num 11 to output proper format ops/non/voice it was using + vars i have no idea where they came from set it the way my script works + status_users2 = chops aka %2 users3 = nonops aka %3 and %4 = voice + remember this in the future should any of you guys do sbar formats. //zak +-fix a couple of stupid forgotten usages of ADDING $* for some aliases + noticed by violence.... who missed this? and how/why? kreca??. diff -aru amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Sat Aug 6 19:16:09 2005 +++ amn/core/alias.m Tue Aug 9 00:53:34 2005 @@ -6,16 +6,16 @@ alias kbi {bk $*;ignore $0 msgs} alias bkt {qk $*} alias ov operview -alias unban ub -alias cb ub -alias clearbans ub +alias unban ub $* +alias cb ub $* +alias clearbans ub $* alias not {^topic -$C } alias untopic not alias rmtop not alias bans banstat alias mdop mdeop alias dop {deop $*} -alias dv devoice +alias dv devoice $* alias v voice $* alias t topic $* alias c {^mode $C $*} diff -aru amn.orig/stats/stat.11 amn/stats/stat.11 --- amn.orig/stats/stat.11 Mon Jul 4 11:18:04 2005 +++ amn/stats/stat.11 Tue Aug 9 00:42:13 2005 @@ -4,7 +4,7 @@ ^set status_format [operview] %>%S ^set status_format1 %T [win:%R] +%*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L ^set -input_prompt -^set status_format2 (ops:%Y) (non:%X) (voc:%Z) %U %> +^set status_format2 (ops:%2) (non:%3) (voc:%4) %U %> ^set status_umode (+%#) ^set status_oper * ^set status_channel %C diff -aru amn.orig/stats/stat.5 amn/stats/stat.5 --- amn.orig/stats/stat.5 Mon Jul 4 11:14:13 2005 +++ amn/stats/stat.5 Tue Aug 9 00:24:59 2005 @@ -1,9 +1,6 @@ package stat5 - alias stat5 { - ^set -input_prompt - ^set status_format1 $(sc2)Ú$(sc1)Ä$(hblk)Ä %*%=%@$(sc1)%N$(hblk)\($(sc3)%#$(hblk)) $(sc1)%C$(hblk)\($(sc3)%+%!$(hblk)) %> $(hblk)\($(sc1)o$(hblk)/$(sc3)%2 $(sc1)n$(hblk)/$(sc3)%3 $(sc1)v$(hblk)/$(sc3)%4$(hblk)) $(hblk)ÄÄÄÄÄÄÄÄÄÄÄÄÄ $(sc1)lag$(hblk)\($(sc3)%1$(hblk))Ä$(sc1)¿ ^set status_format2 $(sc1)À$(hblk)Ä $(sc1)time$(hblk)\($(sc3)%T$(hblk)) $(sc1)win$(hblk)\($(sc3)%R$(hblk)) %F %A %M %Q %> %6 $(hblk)Ä$(sc1)Ä$(sc2)Ù ^set status_umode +%# @@ -27,4 +24,4 @@ stat5 ^timer -del 14 ^window double on -^timer -window -1 -refnum 14 -rep -1 60 ^set status_user6 $sar(g/ //$(sc1)up$(hblk)\($(sc1)$before(m $tdiff2(${time() - F}))m)$(hblk)) \ No newline at end of file +^timer -window -1 -refnum 14 -rep -1 60 ^set status_user6 $sar(g/ //$(sc1)up$(hblk)\($(sc1)$before(m $tdiff2(${time() - F}))m)$(hblk)) Date: Tue, 9 Aug 2005 19:14:47 -0400 (EDT) From: zak@ircii.org (Zak) -update epic5 knownbugs documentation, add a new whois format #6 done by violence. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Aug 9 00:54:31 2005 +++ amn/ChangeLog Tue Aug 9 19:13:00 2005 @@ -571,3 +571,9 @@ remember this in the future should any of you guys do sbar formats. //zak -fix a couple of stupid forgotten usages of ADDING $* for some aliases noticed by violence.... who missed this? and how/why? kreca??. + +8/9/05 +-update E5-KNOWNBUGS documentation. +-add a new whois format #6 based off default scrollz whois format which i've + been wanting for quite some time, which violence did for me, thanks a lot!. + //zak diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Mon Aug 8 21:15:44 2005 +++ amn/amn.epic Tue Aug 9 19:13:20 2005 @@ -196,7 +196,7 @@ ^eval $mkdir($(savepath)) ##poor mans THUTTUP on file not found loader. -^on ^yell * # +*^on ^yell * # ##end poor mans THUTTUP. ^eval ^load $(savepath)$savefile diff -aru amn.orig/ans/whois.ans amn/ans/whois.ans --- amn.orig/ans/whois.ans Sat Aug 6 01:08:48 2005 +++ amn/ans/whois.ans Tue Aug 9 19:10:04 2005 @@ -52,3 +52,14 @@ eval aecho *** idle: 47 minutes 11 seconds eval aecho *** skullY signed on at Sat Apr 2 02:21:01 2005 eval aecho +eval aecho %K[%n6%K]%n +eval aecho +eval aecho %cwarjest %n: %msk%W@%mapexsoftware.com %n\(drama is my middle name) \[Internic Commercial] +eval aecho %BChannels %n:%C @#emokids @#nambla +eval aecho %BServer %n:%C irc.deathwish.net%n \(WHAT GOD WANT'S GOD GET'S\) +eval aecho %BSetAway %n: away: (everyone hates me cuz i'm paranoid) +eval aecho %BActually %n:%B 127.0.0.1 +eval aecho %BIrcOp %n: warjest is an IRC Sucker +eval aecho %BIdle %n: 2 days 15 hours 27 seconds +eval aecho %BSignOn %n: Sun Aug 7 03:58:05 2005 +eval aecho diff -aru amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Tue Aug 9 00:53:34 2005 +++ amn/core/alias.m Tue Aug 9 03:22:11 2005 @@ -190,6 +190,7 @@ alias vctcp {set verbose_ctcp togggle} alias mon {set old_math_parser on} alias moff {set old_math_parser off} +alias ioff {set -input_prompt} #dumps and reload script, for scripters and advanced users in general. alias adump dump all;fe ($getarrays()) n1 {@delarray($n1)};unload * fe;load ~/.epicrc diff -aru amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Mon Aug 8 10:36:41 2005 +++ amn/core/fsets.m Tue Aug 9 18:38:08 2005 @@ -135,8 +135,10 @@ if (format_whois_header) { xecho -v $fparse(format_whois_header) } - xecho -v $fparse(format_whois_nick $1 $2 $3) - xecho -v $fparse(format_whois_name $5-) + xecho -v $fparse(format_whois_nick $1 $2 $3 $5-) + if (format_whois_name) { + xecho -v $fparse(format_whois_name $5-) + } } on ^319 * xecho -v $fparse(format_whois_channels $2-) on ^312 * xecho -v $fparse(format_whois_server $2 $3-) diff -aru amn.orig/core/whois.m amn/core/whois.m --- amn.orig/core/whois.m Sat Jun 4 01:40:47 2005 +++ amn/core/whois.m Tue Aug 9 18:38:08 2005 @@ -6,6 +6,7 @@ (3) {@_whois=3;^eval load ${loadpath}wis/whois.3} (4) {@_whois=4;^eval load ${loadpath}wis/whois.4} (5) {@_whois=5;^eval load ${loadpath}wis/whois.5} + (6) {@_whois=6;^eval load ${loadpath}wis/whois.6} } xecho -v [a+c] whois format set to $(_whois) } diff -aru amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Sun Aug 7 03:31:29 2005 +++ amn/docs/E5-KNOWNBUGS Tue Aug 9 17:40:22 2005 @@ -2,12 +2,7 @@ KNOWN ERRATA (eg, bugs, or unresolved requests): ------------------------------------------------ --> (#epic) $windowctl(SET ACTIVITY_FORMAT 2 "$2:$1") --> (#epic) $windowctl(SET ACTIVITY_LEVEL 2 "$winchan($0) $2") --> (#epic) $windowctl(SET ACTIVITY_LEVEL 2) -* For /dcc get nick ... file1 file2 ... where not-offered-file immediately - follows an offered-file, treat it as an implied rename. -* /DCC GET is broken, it appends the dirname twice or something. + LOOK FOR IN THE NEXT RELEASE ---------------------------- @@ -734,3 +729,7 @@ * Change /exec -out to output to the current target, (*gulp*) * Add /lastlog -mangle to permit you to match against mangled lines. * Add per-window activity data, for weirdo and howl, see UPDATES +* Initialize activity_format and activity_data when creating window. doh! +* Fix /dcc get, and I probably should fix other things as well. +* Add a couple of new behaviors for /dcc get, see UPDATES +* Fix a bunch of compiler warnings. Only in amn/wis: whois.6 Date: Tue, 9 Aug 2005 19:17:18 -0400 (EDT) From: zak@ircii.org (Zak) -ERPS. //zak diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Tue Aug 9 19:13:20 2005 +++ amn/amn.epic Tue Aug 9 19:16:46 2005 @@ -196,7 +196,7 @@ ^eval $mkdir($(savepath)) ##poor mans THUTTUP on file not found loader. -*^on ^yell * # +^on ^yell * # ##end poor mans THUTTUP. ^eval ^load $(savepath)$savefile Date: Tue, 9 Aug 2005 19:24:05 -0400 (EDT) From: zak@ircii.org (Zak) some subtler changes and a few whitespace zaps for whois.6 formats to align things properly. //zak diff -aru amn.orig/wis/whois.6 amn/wis/whois.6 --- amn.orig/wis/whois.6 Tue Aug 9 18:49:25 2005 +++ amn/wis/whois.6 Tue Aug 9 19:21:51 2005 @@ -6,7 +6,7 @@ ^sfset format_whois_away %BSetAway %n: $1- ^sfset format_whois_actual %BActually %n:%B $3 ^sfset format_whois_login %BLogin %n: $1 login as $3 -^sfset format_whois_operator %BIrcOp %n: $1 is an IRC Operator +^sfset format_whois_operator %BIrcOp %n: $1 $2- ^sfset format_whois_admin %BIrcAdm %n: $1 is a Server Administrator ^sfset format_whois_idle %BIdle %n: $tdiff($1) ^sfset format_whois_unknown $1: No such nick/channel Date: Fri, 12 Aug 2005 07:34:14 -0400 From: Zak modified lusers.m done by skully which i'll prolly hack up more when i wake up later on today. to patch to cd ~/amn/core patch < /path/to/file.patch kthx. //zak [cut below here for those who don't know how to fucking patch] --- amn.old/core/lusers.m Sat Aug 6 17:34:51 2005 +++ amn/core/lusers.m Thu Aug 11 21:29:31 2005 @@ -1,12 +1,16 @@ package lusers -## last modified by crappe on 06/26/05 +## last modified by skullY on 2005 Aug 11. ## stolen from argon cause of sheer leetness. +## fixed by skullY because it was broked with the new math parser. +## It's still all ugly and there's at least one new hack, but really, who +## cares that much about lusers? on ^001 * # on ^002 * # on ^003 * # on ^004 * { - @ _lu.v = [$2]} + @ _lu.v = [$2] +} on ^251 * { echo $(hwht)s$(cl)tatistics for $cparse($(c1)$S) echo $(hwht)ÚÄ$(cl)ÄÄ$cparse($(c1)Ä)$(cl)ÄÄ$(hwht)Ä$(cl)Ä$cparse($(c1)Ä)$(hblk)- -- - @@ -15,24 +19,46 @@ ^shook 266 0 0 0 0 0 0 0} @ _lu.u = [$3] + [$6] @ _lu.i = [$6] - @ _lu.s = [$9]} + @ _lu.s = [$9] +} on ^252 * { - @ _lu.o = [$1]} + @ _lu.o = [$1] +} on ^254 * { - @ _lu.c = [$1]} + @ _lu.c = [$1] +} on ^255 * { - @ _lu.lu = [$3] - @ _lu.ls = [$6]} + #@ _lu.lu = [$3] + @ _lu.ls = [$6] +} on ^265 * { - @ _lu.lum = [$6]} + @ _lu.lu = [$1] + @ _lu.lum = [$2] + ^assign _lu.lumd $2, +} on ^266 * { ^on ^raw_irc -"$S % $N :Highest connection count*" # - @ _lu.um = [$6] + @ _lu.um = [$2] + ^assign _lu.umd $2, + #echo _lu.u: $_lu.u + #echo _lu.um: $_lu.um + #echo _lu.i $_lu.i + #echo _lu.s $_lu.s + #echo _lu.o $_lu.o + #echo _lu.c $_lu.c + #echo _lu.ls $_lu.ls + #echo _lu.lu $_lu.lu + #echo _lu.lum $_lu.lum ^set floating_point_math on - xecho -v $(hblk)[$cparse($(c2)³)$(hblk)] $cparse($(c2)g)$cparse($(c1)lobal users)$(hblk).. $(cl)$[6]_lu.u ${_lu.um?[$(cl)max$(c.hk).. $(cl)$[6]_lu.um ]:}$cparse($(c1)\()$(cl)$_lu.i invisible, $_lu.o operators$cparse($(c1)\)) - xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)l)$cparse($(c1)ocal users)$(hblk)... $(cl)$[6]_lu.lu ${_lu.lum?[$(cl)max$(c.hk).. $(cl)$[6]_lu.lum ]:}$cparse($(c1)\()$(cl)$trunc(1 ${100 * (_lu.lu / _lu.u)})\%$cparse($(c1)\)) - xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)s)$cparse($(c1)ervers)$(hblk)....... $(cl)$[6]_lu.s $cparse($(c1)\()$(cl)$trunc(1 ${_lu.u / _lu.s}) avg users per server$cparse($(c1)\)) - xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)c)$cparse($(c1)hannels)$(hblk)...... $(cl)$[6]_lu.c $cparse($(c1)\()$(cl)$trunc(1 ${_lu.u / _lu.c}) avg users per channel$cparse($(c1)\)) + # FIXME: $_lu.umd and $_lu.lumd are really cheap hacks so I don't have to + # figure out how to parse things for the stupid lined up columns people + # seem to like when I've been up for 34 hours without aid of any drugs + # that can't be found in your 7-11's fridge. But at least now the + # next two lines don't make the new math parser bitch. -skullY + xecho -v $(hblk)[$cparse($(c2)³)$(hblk)] $cparse($(c2)g)$cparse($(c1)lobal users)$(hblk).. $(cl)$[6]_lu.u max$(c.hk) $(cl)$[7]_lu.umd $cparse($(c1)\()$(cl)$_lu.i invisible, $_lu.o operators$cparse($(c1)\)) + xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)l)$cparse($(c1)ocal users)$(hblk)... $(cl)$[6]_lu.lu max$(c.hk) $(cl)$[7]_lu.lumd $cparse($(c1)\()$(cl)$trunc(5 ${100 * (_lu.lu / _lu.u)})\%$cparse($(c1)\)) + xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)s)$cparse($(c1)ervers)$(hblk)....... $(cl)$[6]_lu.s $cparse($(c1)\()$(cl)$trunc(2 ${_lu.u / _lu.s}) avg users per server$cparse($(c1)\)) + xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)c)$cparse($(c1)hannels)$(hblk)...... $(cl)$[6]_lu.c $cparse($(c1)\()$(cl)$trunc(2 ${_lu.u / _lu.c}) avg users per channel$cparse($(c1)\)) } on ^250 * { xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)c)$cparse($(c1)onnect count)$(hblk)..$(cl)$4 $5 $6 $7 $9 Date: Fri, 12 Aug 2005 19:18:07 -0400 (EDT) From: zak@ircii.org (Zak) -add lusers.m patch from skullY(still needs work) fix up dictionary.m done by kreca which he asked me to commit, move shitty topwin module to pasture. and some other subtler changes. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Aug 9 19:13:00 2005 +++ amn/ChangeLog Fri Aug 12 19:14:37 2005 @@ -577,3 +577,14 @@ -add a new whois format #6 based off default scrollz whois format which i've been wanting for quite some time, which violence did for me, thanks a lot!. //zak +-the last of some-commands.txt removed since most of it is now all + documented in the new menuish help system /ehelp. + +8/13/05 +-rewrite dict module. Fixed the output, looks a lot better now and it'll +work fine with epic5. //kreca +-turn off the annoying notify_on_termination per default. +-add a lusers.m patch/hack which still needs works on done by skullY. +-move the topicwin module to pasture, until kreca does something about it. + too many complaints. it's a hack it's ugly. maybe it'll be fixed later + maybe it won't bug him if you want it fix ;p diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Mon Aug 8 21:16:29 2005 +++ amn/TODO-BUGS Fri Aug 12 19:11:48 2005 @@ -17,6 +17,7 @@ @ need to redo the formats stuff somewhere or possibly arrays(*gulp*) for the new_math parser. +^^also fix anything else regarding breakage to the new math. (grumble) @ kreca asked me to add this addition to the TODO file i presume this means he might actually do more ;( diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Tue Aug 9 19:16:46 2005 +++ amn/amn.epic Fri Aug 12 19:16:02 2005 @@ -54,6 +54,7 @@ set user_information Are you from the FBI ? set mangle_logfiles ALL set new_server_lastlog_level none +set notify_on_termination off set switch_channels_between_windows off set -status_user set -status_format1 @@ -64,7 +65,7 @@ eval set word_break $strip(. $word_break) ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### -@_modules=[topwin ncomp flood abot lsay sprot aol query away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] +@_modules=[ncomp flood abot lsay sprot aol query away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] @ cl = [\\[0m] @ blk = [\\[0\;30m] diff -aru amn.orig/core/lusers.m amn/core/lusers.m --- amn.orig/core/lusers.m Sat Aug 6 17:34:51 2005 +++ amn/core/lusers.m Fri Aug 12 03:38:48 2005 @@ -1,12 +1,16 @@ package lusers -## last modified by crappe on 06/26/05 +## last modified by skullY on 2005 Aug 11. ## stolen from argon cause of sheer leetness. +## fixed by skullY because it was broked with the new math parser. +## It's still all ugly and there's at least one new hack, but really, who +## cares that much about lusers? on ^001 * # on ^002 * # on ^003 * # on ^004 * { - @ _lu.v = [$2]} + @ _lu.v = [$2] +} on ^251 * { echo $(hwht)s$(cl)tatistics for $cparse($(c1)$S) echo $(hwht)ÚÄ$(cl)ÄÄ$cparse($(c1)Ä)$(cl)ÄÄ$(hwht)Ä$(cl)Ä$cparse($(c1)Ä)$(hblk)- -- - @@ -15,24 +19,46 @@ ^shook 266 0 0 0 0 0 0 0} @ _lu.u = [$3] + [$6] @ _lu.i = [$6] - @ _lu.s = [$9]} + @ _lu.s = [$9] +} on ^252 * { - @ _lu.o = [$1]} + @ _lu.o = [$1] +} on ^254 * { - @ _lu.c = [$1]} + @ _lu.c = [$1] +} on ^255 * { - @ _lu.lu = [$3] - @ _lu.ls = [$6]} + #@ _lu.lu = [$3] + @ _lu.ls = [$6] +} on ^265 * { - @ _lu.lum = [$6]} + @ _lu.lu = [$1] + @ _lu.lum = [$2] + ^assign _lu.lumd $2, +} on ^266 * { ^on ^raw_irc -"$S % $N :Highest connection count*" # - @ _lu.um = [$6] + @ _lu.um = [$2] + ^assign _lu.umd $2, + #echo _lu.u: $_lu.u + #echo _lu.um: $_lu.um + #echo _lu.i $_lu.i + #echo _lu.s $_lu.s + #echo _lu.o $_lu.o + #echo _lu.c $_lu.c + #echo _lu.ls $_lu.ls + #echo _lu.lu $_lu.lu + #echo _lu.lum $_lu.lum ^set floating_point_math on - xecho -v $(hblk)[$cparse($(c2)³)$(hblk)] $cparse($(c2)g)$cparse($(c1)lobal users)$(hblk).. $(cl)$[6]_lu.u ${_lu.um?[$(cl)max$(c.hk).. $(cl)$[6]_lu.um ]:}$cparse($(c1)\()$(cl)$_lu.i invisible, $_lu.o operators$cparse($(c1)\)) - xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)l)$cparse($(c1)ocal users)$(hblk)... $(cl)$[6]_lu.lu ${_lu.lum?[$(cl)max$(c.hk).. $(cl)$[6]_lu.lum ]:}$cparse($(c1)\()$(cl)$trunc(1 ${100 * (_lu.lu / _lu.u)})\%$cparse($(c1)\)) - xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)s)$cparse($(c1)ervers)$(hblk)....... $(cl)$[6]_lu.s $cparse($(c1)\()$(cl)$trunc(1 ${_lu.u / _lu.s}) avg users per server$cparse($(c1)\)) - xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)c)$cparse($(c1)hannels)$(hblk)...... $(cl)$[6]_lu.c $cparse($(c1)\()$(cl)$trunc(1 ${_lu.u / _lu.c}) avg users per channel$cparse($(c1)\)) + # FIXME: $_lu.umd and $_lu.lumd are really cheap hacks so I don't have to + # figure out how to parse things for the stupid lined up columns people + # seem to like when I've been up for 34 hours without aid of any drugs + # that can't be found in your 7-11's fridge. But at least now the + # next two lines don't make the new math parser bitch. -skullY + xecho -v $(hblk)[$cparse($(c2)³)$(hblk)] $cparse($(c2)g)$cparse($(c1)lobal users)$(hblk).. $(cl)$[6]_lu.u max$(c.hk) $(cl)$[7]_lu.umd $cparse($(c1)\()$(cl)$_lu.i invisible, $_lu.o operators$cparse($(c1)\)) + xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)l)$cparse($(c1)ocal users)$(hblk)... $(cl)$[6]_lu.lu max$(c.hk) $(cl)$[7]_lu.lumd $cparse($(c1)\()$(cl)$trunc(5 ${100 * (_lu.lu / _lu.u)})\%$cparse($(c1)\)) + xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)s)$cparse($(c1)ervers)$(hblk)....... $(cl)$[6]_lu.s $cparse($(c1)\()$(cl)$trunc(2 ${_lu.u / _lu.s}) avg users per server$cparse($(c1)\)) + xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)c)$cparse($(c1)hannels)$(hblk)...... $(cl)$[6]_lu.c $cparse($(c1)\()$(cl)$trunc(2 ${_lu.u / _lu.c}) avg users per channel$cparse($(c1)\)) } on ^250 * { xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)c)$cparse($(c1)onnect count)$(hblk)..$(cl)$4 $5 $6 $7 $9 diff -aru amn.orig/core/mod.m amn/core/mod.m --- amn.orig/core/mod.m Sun Jul 24 00:33:27 2005 +++ amn/core/mod.m Fri Aug 12 19:13:24 2005 @@ -1,7 +1,7 @@ package mod #last modified by crapple 6/12/05 -@_modules=[topwin flood ncomp aol lsay sprot query abot away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] +@_modules=[flood ncomp aol lsay sprot query abot away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] alias vmod {xecho -v valid modules are [$_modules]} alias smod vmod @@ -82,7 +82,7 @@ }{ @_mch1=sar(g/,/ /$0) fe ($_mch1) n1 { - if (!match($n1 $jot(1 26))) { + if (!match($n1 $jot(1 25))) { fe ($_mch1) n1 { ^unload $n1 @delitem(_mods $finditem(_mods $n1)) @@ -90,7 +90,7 @@ } } - if (match($n1 $jot(1 26))) { + if (match($n1 $jot(1 25))) { fe ($_mch1) n1 { ^push _mlist $getitem(_mods $n1) } diff -aru amn.orig/modules/dict/dict.m amn/modules/dict/dict.m --- amn.orig/modules/dict/dict.m Sun Jul 24 01:14:56 2005 +++ amn/modules/dict/dict.m Fri Aug 12 19:04:35 2005 @@ -1,30 +1,62 @@ package dict -## most of this taken from crackrock. server var taken from pv - - +## most of this taken from crackrock and made a lot better. server var taken from pv. @ dict.serv = [dict.org] @ dict.port = 2628 +alias processdict { + switch ( $* ) + { + (Trying *) + (*Trying *) + (Connected to *) + (*Connected to *) + (220*) + (150*) + (151*) + (151*) + (*connection closed by foreign host*) + { + return; + } + (.) + { +xecho -c -- ------------------------------------------------------------------ + } +/*(.) to only show the first word. the dot separates them*/ + (?DEFINITION 0) + (250*) + { + ^exec -close %dict + } + (SPELLING 0) + { + xecho -c -b $cparse($(hwht)$dword$(hblk):$(cl) No suggestions given.) + ^exec -close %dict + } + (552* no match*) + { + xecho -c -b no match for $dword; + ^exec -close %dict + } + (Escape character is '^]'.) + { +xecho -c -- ------------------------------------------------------------------ + ^exec -in %dict DEFINE * $dword + } + (*) + { + if ( strlen($*) > 0) + { + xecho -c $* + } + } + } + +} alias dict { if (![$0]) {/ahelp dict}{ - @ dword = [$*] + @dword=[$*] ^exec -name dict telnet $dict.serv $dict.port - ^on ^exec "dict *" {xecho -c $cparse($(c1)>$(cl) $1-)} - ^on ^exec "dict Trying *" # - ^on ^exec "dict *Trying *" # - ^on ^exec "dict Connected to *" # - ^on ^exec "dict *Connected to *" # - ^on ^exec "dict Escape character is '^]'." {^exec -in %dict DEFINE * $dword} - ^on ^exec "dict 220*" # - ^on ^exec "dict 150*" # - ^on ^exec "dict 151*" # - ^on ^exec "dict 250*" {^exec -9 %dict} - ^on ^exec "dict ?" {^exec -9 %dict} - ^on ^exec_prompt * {^exec -9 %dict} - ^on ^exec "dict ?DEFINITION 0" {^exec -9 %dict} - ^on ^exec "dict 552* no match*" {xecho -c -b no match for $dword;^exec -9 %dict} - ^on ^exec "dict SPELLING 0"{xecho -c -b $cparse($(hwht)$dword$(hblk):$(cl) No suggestions given.);^exec -9 %dict} - ^on ^exec "*connection closed by foreign host*" # - ^on ^exec_exit "DICT % %" # + ^exec -line {/processdict $*} %dict } ^assign -dict } \ No newline at end of file Only in amn.orig/modules: topwin Only in amn/pasture: topwin Date: Fri, 12 Aug 2005 20:26:06 -0400 (EDT) From: zak@ircii.org (Zak) bunch of fixes to update more bullshit for the new_math parser. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Fri Aug 12 19:14:37 2005 +++ amn/ChangeLog Fri Aug 12 20:22:31 2005 @@ -583,8 +583,11 @@ 8/13/05 -rewrite dict module. Fixed the output, looks a lot better now and it'll work fine with epic5. //kreca --turn off the annoying notify_on_termination per default. --add a lusers.m patch/hack which still needs works on done by skullY. +-turn off the annoying notify_on_termination per default. //zak +-add a lusers.m patch/hack which still needs works on done //skullY. -move the topicwin module to pasture, until kreca does something about it. too many complaints. it's a hack it's ugly. maybe it'll be fixed later - maybe it won't bug him if you want it fix ;p + maybe it won't bug him if you want it fix ;p //zak +-fix /config to work with the new_math_nicely_documented bullshit help + from kreca. //zak +-fix amn.epic to update for new_math_bullshit //zak diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Aug 12 19:16:02 2005 +++ amn/amn.epic Fri Aug 12 20:19:56 2005 @@ -95,20 +95,20 @@ ##assigns -@_ort=3 -@_bt=3 +@_ort=[3] +@_bt=[3] @bt_=[better] -@mfloodtimer=10 -@msgfloodsensor=60 -@awayt=60 +@mfloodtimer=[10] +@msgfloodsensor=[60] +@awayt=[60] @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] @commit_id=[14s] @a.rel=[1.0a cvs/$commit_id] @a.date=[20050806] -@_ss=15 -@_ovsize=5 +@_ss=[15] +@_ovsize=[5] @_ovmode=[fibxwzZsy] @kickonban=[off] @kickops=[off] @@ -150,37 +150,37 @@ @_boxfoot = [ $cparse($(c1)À)$cparse($(c3)Ä)$(hblk)- ÄÄ -$(cl)] @_ubanself=[off] ## default theme vars. -@mform=39 -@smform=52 -@pubform=41 -@spubform=41 -@spuboform=53 -@signform=4 -@joinform=16 +@mform=[39] +@smform=[52] +@pubform=[41] +@spubform=[41] +@spuboform=[53] +@signform=[4] +@joinform=[16] @leaveform=[3] -@modeform=4 -@notform=19 -@snotform=21 -@sdcform=19 -@dcform=15 -@topform=4 -@ctcpform=3 -@sctcpform=8 -@echostr=57 -@ncomp=15 -@svform=18 -@snf=3 +@modeform=[4] +@notform=[19] +@snotform=[21] +@sdcform=[19] +@dcform=[15] +@topform=[4] +@ctcpform=[3] +@sctcpform=[8] +@echostr=[57] +@ncomp=[15] +@svform=[18] +@snf=[3] @wallform = [2] -@bwallform=4 -@awayform=5 -@actform=3 -@descform=2 -@sdescform=1 +@bwallform=[4] +@awayform=[5] +@actform=[3] +@descform=[2] +@sdescform=[1] @statbar=[stat.11] -@whoform=1 -@whofootform=1 -@nickform=3 -@_whois=4 +@whoform=[1] +@whofootform=[1] +@nickform=[3] +@_whois=[4] @c1 = [\\[0\;36m] @c2 = [\\[1\;36m] @c3 = [\\[0\;35m] @@ -297,8 +297,8 @@ ^update.f ^getusers oof -@adf=0 -@percent=0 +@adf=[0] +@percent=[0] ^_ob ^_timestamp ^_timestampsome diff -aru amn.orig/core/config.m amn/core/config.m --- amn.orig/core/config.m Sun Jul 24 01:02:33 2005 +++ amn/core/config.m Fri Aug 12 20:05:56 2005 @@ -72,13 +72,13 @@ { @aname= [confa$0] for (@xx=0, xx= numitems($aname) ) { @ :mod2 = [] } { - @ :mod2 = getitem($aname ${xx+1})] + @ :mod2 = getitem($aname ${xx+1}) } if (strlen($mod1) < 35 && strlen($mod2)) { Only in amn.orig/modules/orignick: config Date: Fri, 12 Aug 2005 20:51:14 -0400 (EDT) From: zak@ircii.org (Zak) fixed formats.m for new_math, disable the old_math parser on default. so people can report bugs/something broken. hopefully we won't need to go back to that poison. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Fri Aug 12 20:22:31 2005 +++ amn/ChangeLog Fri Aug 12 20:47:14 2005 @@ -591,3 +591,6 @@ -fix /config to work with the new_math_nicely_documented bullshit help from kreca. //zak -fix amn.epic to update for new_math_bullshit //zak +-fix all the formats.m to work with new math. //zak +-release final snapshot for testing hopefully now we can get rid of + that damn poison. //zak diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Fri Aug 12 19:11:48 2005 +++ amn/TODO-BUGS Fri Aug 12 20:49:02 2005 @@ -15,10 +15,6 @@ (finished the todo of adding the @bindctl to do.fkey's alias) //zak it broke as i released cvs13g backed out changes until later //zak. -@ need to redo the formats stuff somewhere or possibly arrays(*gulp*) - for the new_math parser. -^^also fix anything else regarding breakage to the new math. (grumble) - @ kreca asked me to add this addition to the TODO file i presume this means he might actually do more ;( -> [kreca_(dcc)] kreca fix dccme @@ -47,6 +43,12 @@ $@ Improve topwindowing some... //kreca? ## bugs fixed. / projects done. +8/12/05 should be fixed now. hopefully we do not need to enable old_math +compatability anymore. everyone please test all functions!. +! need to redo the formats stuff somewhere or possibly arrays(*gulp*) + for the new_math parser. +^^also fix anything else regarding breakage to the new math. (grumble) + 8/7/05 doesn't look like this is needed move to here votes closed. //zak - maybe? for - glines... <@skullY> you could if ([$0]==[y] || [$0]==[yes]) //vote? diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Aug 12 20:19:56 2005 +++ amn/amn.epic Fri Aug 12 20:46:22 2005 @@ -19,9 +19,9 @@ if (epicver != [epic4] ) { ::stuff to load for epic5...(for compatability) ^load $(loadpath)core/compat.m - ::(*gulp*) DON'T HATE ME. - xdebug old_math - ^set old_math_parser on + ::(*gulp*) DON'T HATE ME. (disabled for now) + ::xdebug old_math + ::^set old_math_parser on ::formats/arrays/lusers still requires old_math. ::compiling sets... addset auto_rejoin bool; diff -aru amn.orig/core/format.m amn/core/format.m --- amn.orig/core/format.m Mon Aug 8 10:36:41 2005 +++ amn/core/format.m Fri Aug 12 20:41:08 2005 @@ -36,7 +36,7 @@ alias mform if ([$0]) { - if (isnumber($0)&&[$0] irc.umich.edu xcrapple!zak@ninja.alienz.net +with the knock with bold brackets and servername is in hred. diff -aru amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Tue Aug 9 18:38:08 2005 +++ amn/core/fsets.m Sun Aug 14 17:45:29 2005 @@ -96,11 +96,11 @@ ^on ^send_ctcp * if ([$0]==[privmsg]&&[$2]!=[action]) {echo $fparse(format_send_ctcp $0 $1 $2 $3-)} ^on ^wallop * echo $fparse(format_wallop $0 $1 $2-) -::nutbars dcc lost hooks +## nutbars dcc lost hooks ^on ^dcc_lost "% CHAT *" { xecho $fparse(format_dcc_lost_chat $0 $1 $2-) } -::end nutbars dcc lost hooks. +## end nutbars dcc lost hooks. ^on ^471 * echo $G $(hblk)[$(cyn)$1$(hblk)]$(cl) channel is drunk/full ^on ^475 * echo $G $(hblk)[$(cyn)$1$(hblk)]$(cl) wrong key, keep trying @@ -112,8 +112,10 @@ ^on ^221 * echo $G your $(hwht)user$(cl) mode is "$(hwht)$1$(cl)" ^on ^341 * echo $G coercing $(hwht)$1$(cl) to $2 ^on ^331 * abecho %K[%n$1%K]%n topic not set +## knocks. +^on ^710 * xecho $G $(hwht)\<$(cl)knock$(hwht)\>$(cl) $(hred)$0$(cl) $2 $winchan($3) -::topic stuff +## topic stuff ^on ^332 * xecho -b $(hblk)[$(hwht)t$(cl)opic$(hblk)/$(cl)$1$(hblk)]$(cl) $2- ^on ^333 * xecho -b $(hblk)[$(hwht)s$(cl)et by$(hblk)]$(cl) $2 at $(hblk)[$(cl)$stime($3)$(hblk)] ^on ^315 * # Date: Sun, 14 Aug 2005 17:59:05 -0400 (EDT) From: zak@ircii.org (Zak) -sync version so i know what snapshot version ppl are using. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sun Aug 14 17:48:22 2005 +++ amn/ChangeLog Sun Aug 14 17:56:33 2005 @@ -611,4 +611,5 @@ it'll do it 'automagically' for you. [snapshot] *** irc.umich.edu xcrapple!zak@ninja.alienz.net -with the knock with bold brackets and servername is in hred. +with the knock with bold brackets and servername is in hred. //zak +-update snapver so i know what ppl are using. //zak diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Aug 12 20:46:22 2005 +++ amn/amn.epic Sun Aug 14 17:57:58 2005 @@ -104,7 +104,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[14s] +@commit_id=[14/s6] @a.rel=[1.0a cvs/$commit_id] @a.date=[20050806] @_ss=[15] From: Kreca Date: Mon, 15 Aug 2005 04:09:19 +0200 (CEST) Make /me in dcc chat sessions (querywin) to output to the querywindow instead of the default broken behaviour that would output it to the current window. diff -ru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sun Aug 14 23:56:33 2005 +++ amn/ChangeLog Mon Aug 15 03:59:05 2005 @@ -613,3 +613,5 @@ *** irc.umich.edu xcrapple!zak@ninja.alienz.net with the knock with bold brackets and servername is in hred. //zak -update snapver so i know what ppl are using. //zak +-make /me in dcc chats output to the correct window. Now it'll be easier +to igno^H^H^H^H understand what zak tells me in our chat sessions //kreca diff -ru amn.orig/core/action.m amn/core/action.m --- amn.orig/core/action.m Sat Apr 30 10:10:41 2005 +++ amn/core/action.m Mon Aug 15 03:56:02 2005 @@ -1,12 +1,34 @@ package action ::action hook +::helper function that'll make /me output to the correct window during a dcc chat //kreca +::XXX, this is only intended for epic5 and is a temporary solution. The output handling will change in the future. +alias myquerywin { + @:allwins=winrefs() + for (@xx=0 , xx < numwords($allwins) , @ xx++) + { + if ( findw($0 $winnicklist($word($xx $allwins))) != -1) + { + return $word($xx $allwins); + } + } + return -1; + +} on ^action * { switch ($1) { - ( $N ) {xecho $fparse(format_desc $0 $1 $2-)} + ( $N ) { + @:wqwin = myquerywin($0) + if ( wqwin != [-1]) + { + xecho -window $wqwin $fparse(format_desc $0 $1 $2-) + } { + xecho $fparse(format_desc $0 $1 $2-) + } + } ( $C ) {xecho $fparse(format_action $0 $1 $2-)} ( * ) {xecho $fparse(format_action_other $0 $1 $2-)} - } + } } on ^send_action "*" { switch ( $0 ) { @@ -16,4 +38,4 @@ } } -oof +oof From: Kreca Date: Mon, 15 Aug 2005 04:28:03 +0200 (CEST) Fix a small bug that appeard in my other epic5 client due to the dccme fix diff -ru amn.orig/core/action.m amn/core/action.m --- amn.orig/core/action.m Mon Aug 15 04:26:06 2005 +++ amn/core/action.m Mon Aug 15 04:24:46 2005 @@ -16,19 +16,19 @@ } on ^action * { - switch ($1) { - ( $N ) { - @:wqwin = myquerywin($0) - if ( wqwin != [-1]) - { - xecho -window $wqwin $fparse(format_desc $0 $1 $2-) - } { - xecho $fparse(format_desc $0 $1 $2-) - } + if (iscurchan($C)) + { + xecho $fparse(format_action $0 $1 $2-) + } { + @:wqwin = myquerywin($0) + if ( wqwin != [-1]) + { + xecho -window $wqwin $fparse(format_desc $0 $1 $2-) + } { + xecho $fparse(format_action_other $0 $1 $2-) + } } - ( $C ) {xecho $fparse(format_action $0 $1 $2-)} - ( * ) {xecho $fparse(format_action_other $0 $1 $2-)} - } + } on ^send_action "*" { switch ( $0 ) { From: Kreca Date: Mon, 15 Aug 2005 05:17:16 +0200 (CEST) -make knock output look even nicer ;p! //kreca diff -ru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Mon Aug 15 04:45:49 2005 +++ amn/ChangeLog Mon Aug 15 05:15:28 2005 @@ -614,4 +614,5 @@ with the knock with bold brackets and servername is in hred. //zak -update snapver so i know what ppl are using. //zak -make /me in dcc chats output to the correct window. Now it'll be easier -to igno^H^H^H^H understand what zak tells me in our chat sessions //kreca +to igno^H^H^H^H understand what zak tells me in our chat sessions //kreca +-make knock output look even nicer ;p! //kreca diff -ru amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Mon Aug 15 04:45:49 2005 +++ amn/core/fsets.m Mon Aug 15 05:14:48 2005 @@ -113,7 +113,11 @@ ^on ^341 * echo $G coercing $(hwht)$1$(cl) to $2 ^on ^331 * abecho %K[%n$1%K]%n topic not set ## knocks. -^on ^710 * xecho $G $(hwht)\<$(cl)knock$(hwht)\>$(cl) $(hred)$0$(cl) $2 $winchan($3) +^on ^710 * { +@:thenick=word(0 $split(! $2)) +@:therest=mid($strlen($thenick) $strlen($2) $2) +aecho $fparse(format_timestamp_some $($_timess))$(hwht)\<$(cl)knock$(hwht)\>$(cl) $(hred)$0$(cl) $(hwht)$(thenick)$(cl)$therest \($1\) +} ## topic stuff ^on ^332 * xecho -b $(hblk)[$(hwht)t$(cl)opic$(hblk)/$(cl)$1$(hblk)]$(cl) $2- Date: Tue, 16 Aug 2005 18:49:17 -0400 (EDT) From: zak@ircii.org (Zak) -thuttup the window not found when using esc chars. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sun Aug 14 23:15:28 2005 +++ amn/ChangeLog Tue Aug 16 18:46:26 2005 @@ -615,4 +615,8 @@ -update snapver so i know what ppl are using. //zak -make /me in dcc chats output to the correct window. Now it'll be easier to igno^H^H^H^H understand what zak tells me in our chat sessions //kreca --make knock output look even nicer ;p! //kreca \ No newline at end of file +-make knock output look even nicer ;p! //kreca + +-8/16/05 +-silence the annoying 'window not found' requested by adam even i find this + kinda annoying //zak. diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sun Aug 14 17:57:58 2005 +++ amn/amn.epic Tue Aug 16 18:48:39 2005 @@ -104,7 +104,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[14/s6] +@commit_id=[14s7] @a.rel=[1.0a cvs/$commit_id] @a.date=[20050806] @_ss=[15] diff -aru amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Sat Aug 13 08:57:17 2005 +++ amn/core/window.m Tue Aug 16 18:43:24 2005 @@ -146,8 +146,6 @@ ^window swap ${wn+10} } else if (wn > 10 && winnum($number) != -1) { ^window swap $number - } else { - xecho -c Window $wn does not exist } } } Date: Tue, 16 Aug 2005 19:04:44 -0400 (EDT) From: zak@ircii.org (Zak) -update the TODO-BUGS/sync to reality. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Aug 16 19:03:50 2005 +++ amn/ChangeLog Tue Aug 16 19:01:00 2005 @@ -620,3 +620,5 @@ -8/16/05 -silence the annoying 'window not found' requested by adam even i find this kinda annoying //zak. +-sync the TODO-BUGS to reality updating some knownbugs. mainly in snapshot. + ie; new /query /me stuff. //zak diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Tue Aug 16 19:02:36 2005 +++ amn/TODO-BUGS Tue Aug 16 18:59:29 2005 @@ -7,6 +7,13 @@ @ = requests/votes $ = knownbug. +:: bugs. +$ when doing /q x-somenick if the nick has the - in it breaks /query +$ /me from another nick if in a query doesn't always output to the right + window it may be said in a query when it was meant for channel. +$ rewrite topwin (removed to pasture) //kreca? + +:: requests/misc @ (Alien88_[alien@umich.edu]) if ov is toggled on (Alien88_[alien@umich.edu]) reset opermodes //vote? @ finish up the notify logging..tog signon/signoffs/off/on etc.. @@ -15,11 +22,6 @@ (finished the todo of adding the @bindctl to do.fkey's alias) //zak it broke as i released cvs13g backed out changes until later //zak. -@ kreca asked me to add this addition to the TODO file i presume this - means he might actually do more ;( - -> [kreca_(dcc)] kreca fix dccme - -> [kreca_(dcc)] to output to the right window - @ finish up or scrap the adcc module, i really hate to touch this myself i have never heard of a request for this module nor have i heard a single complaint about it working or not working perhaps a vote? @@ -29,10 +31,17 @@ @ add a module for set num of exclamation's !!!! before kicking person with kickops on/off option add repeat kick with option for # of repeats before kicking offender. - add mirc kick for ppl using mirc colors. all should have toggle for + add mirc kick for ppl using mirc colors. all should have toggle for on and off, and should work with kickops variable. -## some bugs listed below. +:: changed/somebugs. +8/16/05 ++ kreca asked me to add this addition to the TODO file i presume this + means he might actually do more ;( + -> [kreca_(dcc)] kreca fix dccme + -> [kreca_(dcc)] to output to the right window + +:: some bugs listed below. 7/30/5 move topicwin as a kinda buggy module since it does need work (doesn't update the topic if multiple chans in same window) //zak @@ -40,9 +49,7 @@ should make it so one can do /delword #. else what's the point of having the numerics there? -$@ Improve topwindowing some... //kreca? - -## bugs fixed. / projects done. +:: bugs fixed. / projects done. 8/12/05 should be fixed now. hopefully we do not need to enable old_math compatability anymore. everyone please test all functions!. ! need to redo the formats stuff somewhere or possibly arrays(*gulp*) Date: Sat, 20 Aug 2005 02:38:56 -0400 (EDT) From: zak@ircii.org (Zak) -change dcc on hooks, to make more sense, and update documents. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Aug 16 19:01:00 2005 +++ amn/ChangeLog Sat Aug 20 02:36:44 2005 @@ -622,3 +622,11 @@ kinda annoying //zak. -sync the TODO-BUGS to reality updating some knownbugs. mainly in snapshot. ie; new /query /me stuff. //zak + +-8/20/05 +-change the dcc on hooks somewhat and make a bit more sense on connect/lost + closed etc.. please test the new /dcc chat /send etc.. formats and report + any problems or ok to me thanks. must do rm -rf ~/.amn/.a.fsetsave before + dumping/loading. requested by Alien88 //zak +-update UPGRADE document. +-update E5-KNOWNBUGS epic5-0.0.6 users please read this!. diff -aru amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Sat Aug 6 01:20:58 2005 +++ amn/UPGRADE Sat Aug 20 02:34:15 2005 @@ -110,3 +110,9 @@ rm -rf ~/.amn/.a.fsetsave rm -rf ~/.amn/.a.fsave then /adump + +::cvs-8/9/10/11/12 to cvs14s (in theory) +rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.fsetsave +then /adump diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Tue Aug 16 18:48:39 2005 +++ amn/amn.epic Sat Aug 20 02:37:56 2005 @@ -104,7 +104,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[14s7] +@commit_id=[14s8] @a.rel=[1.0a cvs/$commit_id] @a.date=[20050806] @_ss=[15] diff -aru amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Sun Aug 14 23:14:48 2005 +++ amn/core/fsets.m Sat Aug 20 02:29:30 2005 @@ -39,14 +39,14 @@ @ format_wallop = [%K!$$(c1)$$1:$$2%K! %n$$3-] @ format_nickname = [$$G %c$$1 %nis now known as %m$$2] @ format_invite = [$$G %K<$$(c1)\$1%K\\\($$(c2)invite%K.$$(c1)\$2%K\\\)>] -@ format_dcc_connect = [$$G $$(c2)DCC %n$$2 connection with %w$$1%K[$$(c2)$$3, port $$4%K]%n established] -@ format_dcc_request = [$$G $$(c2)DCC %n$$2 %K\\\(%n$$3%K\\\) %nrequest from %w$$1%K[$$(c1)$$userhost() %K[$$(c3)$$4%K:$$(c3)$$5%K]]] +@ format_dcc_connect = [$$G %K[%cdcc%m\(%nchat%m\)%K]%n connection with %w$$1%K[$$(c2)$$3, port $$4%K]%n established] +@ format_dcc_request = [$$G %K[%cdcc%m\(%nrequest%m\)%K]%n %K\\\(%n$$3%K\\\) %nrequest from %w$$1%K[$$(c1)$$userhost() %K[$$(c3)$$4%K:$$(c3)$$5%K]]] @ format_kick = [$$G $$1 was kicked off $$3 by $$(c3)$$2 %K\\\(%n$$4-%K\\\)] @ format_ctcp_reply = [$$G CTCP %W$$2 %nreply from $$1: $$3-] @ format_server_notice = [%K!$$(c1)$$1%K! %n$$2-] -@ format_dcc_lost_chat = [$$G $$(c2)DCC %n$$2 with $$1 $$5] -@ format_dcc_lost_file = [$$G $$(c2)DCC %n$$2 with $$1 $$3 $$4 $$5] -@ format_dcc_done_file = [$$G $$(c2)DCC %W$$2 %K:$$(c2)$$3 %nto $$1 completed in %K\\\(%W$$4 kb/sec%K\\\)] +@ format_dcc_lost_chat = [$$G %K[%cdcc%m\(%nchat%m\)%K] %nto %c$$1 %nlost %K\(%n$tolower($4-)%K\)] +@ format_dcc_lost_file = [$$G %K[%cdcc%m\(%file%m\)%K] %nto $$1 $$3 $$4 $$5] +@ format_dcc_done_file = [$$G %K[%cdcc%m\(%ndone%m\)%K]%n %K:$$(c2)$$3 %nto $$1 completed in %K\\\(%W$$4 kb/sec%K\\\)] @ format_chops = [ %K[%n$$[10]2%K] %K[@$$(c2)$$[9]1%K] %K[%n$$before(@ $userhost($1))%K@%n$$after(@ $userhost($1))%K]] @ format_user_non = [ %K[%n$$[10]2%K] %K[$$(c2)$$[9]1%K] %K[%n$$before(@ $userhost($1))%K@%n$$after(@ $userhost($1))%K]] @ format_user_vocs = [ %K[%n$$[10]2%K] %K[v$$(c2)$$[9]1%K] %K[%n$$before(@ $userhost($1))%K@%n$$after(@ $userhost($1))%K]] @@ -98,7 +98,7 @@ ## nutbars dcc lost hooks ^on ^dcc_lost "% CHAT *" { - xecho $fparse(format_dcc_lost_chat $0 $1 $2-) + xecho $fparse(format_dcc_lost_chat $*) } ## end nutbars dcc lost hooks. diff -aru amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Tue Aug 9 17:40:22 2005 +++ amn/docs/E5-KNOWNBUGS Sat Aug 20 02:37:04 2005 @@ -2,16 +2,22 @@ KNOWN ERRATA (eg, bugs, or unresolved requests): ------------------------------------------------ - +* scripted /set callbacks: should they be "silent"? +* JM needs to start a discussion on the mailign list about /msg restrictions +* Weirdo observes /set notify_on_termination goes to wrong window +* /CTCPs over /DCCs don't match up with their queries very well. +* Revamp of /who -realname +* Some way to clear the scrollback all at once -LOOK FOR IN THE NEXT RELEASE ----------------------------- +LOOK FOR IN THE FUTURE +----------------------- * An /on to go off when you add something to the input line. * Output rules * GC of a lot of the newly scripted stuff * Support for CNOTICE * Turn unified symbol table into an inode table (name, entry), entry in array * /window noserv causes bad fd loop. (can't reproduce?) +* DBM support. [See http://www.epicsol.org/PROJECTS for things to come in the future] [See http://www.epicsol.org/CHANGELOG5 for things that changed in the past] @@ -733,3 +739,6 @@ * Fix /dcc get, and I probably should fix other things as well. * Add a couple of new behaviors for /dcc get, see UPDATES * Fix a bunch of compiler warnings. +* Release epic5-0.0.6 (Osculator) +* Fix "ALL" mangle level to not include "UNPRINTABLE" +* Fix /on 367 in 2.8script, from larne. Date: Wed, 24 Aug 2005 20:48:50 -0400 (EDT) From: zak@ircii.org (Zak) -update some documents, comments in hooks, and initial import into our CVS server - should make kreca/skullY happy. so this diff may look extremely messy. //zak Only in amn: CVS diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sat Aug 20 02:36:44 2005 +++ amn/ChangeLog Wed Aug 24 20:42:25 2005 @@ -630,3 +630,7 @@ dumping/loading. requested by Alien88 //zak -update UPGRADE document. -update E5-KNOWNBUGS epic5-0.0.6 users please read this!. + +8/24/05 +-update NOTES +-update E5-KNOWNBUGS diff -aru amn.orig/NOTES amn/NOTES --- amn.orig/NOTES Wed Aug 3 18:54:12 2005 +++ amn/NOTES Wed Aug 24 20:41:45 2005 @@ -18,5 +18,9 @@ and cross your fingers? - help from |Rain| (naturally i presume this requires the linux-compat libs installed.) +Those of you who uses multiserver in ircii based irc clients, you should use +epic4 instead of epic5 at this time, also in reality the multiserver support +isn't really much better than any other ircii based client at this time. + //crapple //zak@ircii.org Only in amn/ans: CVS Only in amn/core: CVS diff -aru amn.orig/core/hooks.m amn/core/hooks.m --- amn.orig/core/hooks.m Wed Jul 27 02:47:31 2005 +++ amn/core/hooks.m Wed Aug 24 20:32:54 2005 @@ -63,8 +63,8 @@ } } -#server hooks. -::connects... +## server hooks. +#connects. ^on ^server_notice "% % % connect to*" { abecho $fparse(format_timestamp_some $($_timess))$2- } @@ -93,10 +93,10 @@ abecho $2- } -#disable annoying shit here. +## disable annoying you've gotz mail! ^on ^mail * # -#ctcp disable shit... +## disable commonly annoying ctcp's. ^on ^raw_irc "% PRIVMSG % :FINGER*" ^on ^raw_irc "% PRIVMSG % :CLIENTINFO*" ^on ^raw_irc "% PRIVMSG % :SOUND*" Only in amn/docs: CVS diff -aru amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Sat Aug 20 02:37:04 2005 +++ amn/docs/E5-KNOWNBUGS Wed Aug 24 20:11:15 2005 @@ -2,12 +2,9 @@ KNOWN ERRATA (eg, bugs, or unresolved requests): ------------------------------------------------ -* scripted /set callbacks: should they be "silent"? -* JM needs to start a discussion on the mailign list about /msg restrictions -* Weirdo observes /set notify_on_termination goes to wrong window +* JM needs to start a discussion on the mailing list about /msg restrictions * /CTCPs over /DCCs don't match up with their queries very well. * Revamp of /who -realname -* Some way to clear the scrollback all at once LOOK FOR IN THE FUTURE ----------------------- @@ -742,3 +739,7 @@ * Release epic5-0.0.6 (Osculator) * Fix "ALL" mangle level to not include "UNPRINTABLE" * Fix /on 367 in 2.8script, from larne. +* Wrap output caused by /exec callbacks in message_from()s, for weirdo. +* Wrap scripted set callbacks in window_display = 0 to simulate /on ^set. +* Add /window flush_scrollback, see UPDATES +* Fix braino that caused /set's in your ircrc to be echoed. Only in amn/modules: CVS Only in amn/modules/abot: CVS Only in amn/modules/adcc: CVS Only in amn/modules/aol: CVS Only in amn/modules/away: CVS Only in amn/modules/bwk: CVS Only in amn/modules/clones: CVS Only in amn/modules/dict: CVS Only in amn/modules/encryption: CVS Only in amn/modules/fake: CVS Only in amn/modules/flood: CVS Only in amn/modules/lsay: CVS Only in amn/modules/mass: CVS Only in amn/modules/mjoin: CVS Only in amn/modules/ncomp: CVS Only in amn/modules/netsplit: CVS Only in amn/modules/oper: CVS Only in amn/modules/orignick: CVS Only in amn/modules/query: CVS Only in amn/modules/relay: CVS Only in amn/modules/shitlist: CVS Only in amn/modules/sprot: CVS Only in amn/modules/tab: CVS Only in amn/modules/userlist: CVS Only in amn/modules/vanilla: CVS Only in amn/modules/xy: CVS Only in amn/pasture: CVS Only in amn/pasture/topwin: CVS Only in amn/sc: CVS Only in amn/stats: CVS Only in amn/themes: CVS Only in amn/wis: CVS Date: Fri, 26 Aug 2005 06:40:29 -0400 (EDT) From: zak@ircii.org (Zak) -revert back changes seems a lot of shit got fucked up in the cvs. more mess hoorah!. //zak Only in amn.orig: CVS diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 24 20:42:25 2005 +++ amn/ChangeLog Sat Aug 20 02:36:44 2005 @@ -630,7 +630,3 @@ dumping/loading. requested by Alien88 //zak -update UPGRADE document. -update E5-KNOWNBUGS epic5-0.0.6 users please read this!. - -8/24/05 --update NOTES --update E5-KNOWNBUGS diff -aru amn.orig/NOTES amn/NOTES --- amn.orig/NOTES Wed Aug 24 20:41:45 2005 +++ amn/NOTES Wed Aug 3 18:54:12 2005 @@ -18,9 +18,5 @@ and cross your fingers? - help from |Rain| (naturally i presume this requires the linux-compat libs installed.) -Those of you who uses multiserver in ircii based irc clients, you should use -epic4 instead of epic5 at this time, also in reality the multiserver support -isn't really much better than any other ircii based client at this time. - //crapple //zak@ircii.org Only in amn.orig/ans: CVS Only in amn.orig/core: CVS diff -aru amn.orig/core/hooks.m amn/core/hooks.m --- amn.orig/core/hooks.m Wed Aug 24 20:32:54 2005 +++ amn/core/hooks.m Wed Jul 27 02:47:31 2005 @@ -63,8 +63,8 @@ } } -## server hooks. -#connects. +#server hooks. +::connects... ^on ^server_notice "% % % connect to*" { abecho $fparse(format_timestamp_some $($_timess))$2- } @@ -93,10 +93,10 @@ abecho $2- } -## disable annoying you've gotz mail! +#disable annoying shit here. ^on ^mail * # -## disable commonly annoying ctcp's. +#ctcp disable shit... ^on ^raw_irc "% PRIVMSG % :FINGER*" ^on ^raw_irc "% PRIVMSG % :CLIENTINFO*" ^on ^raw_irc "% PRIVMSG % :SOUND*" Only in amn.orig/docs: CVS diff -aru amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Wed Aug 24 20:11:15 2005 +++ amn/docs/E5-KNOWNBUGS Sat Aug 20 02:37:04 2005 @@ -2,9 +2,12 @@ KNOWN ERRATA (eg, bugs, or unresolved requests): ------------------------------------------------ -* JM needs to start a discussion on the mailing list about /msg restrictions +* scripted /set callbacks: should they be "silent"? +* JM needs to start a discussion on the mailign list about /msg restrictions +* Weirdo observes /set notify_on_termination goes to wrong window * /CTCPs over /DCCs don't match up with their queries very well. * Revamp of /who -realname +* Some way to clear the scrollback all at once LOOK FOR IN THE FUTURE ----------------------- @@ -739,7 +742,3 @@ * Release epic5-0.0.6 (Osculator) * Fix "ALL" mangle level to not include "UNPRINTABLE" * Fix /on 367 in 2.8script, from larne. -* Wrap output caused by /exec callbacks in message_from()s, for weirdo. -* Wrap scripted set callbacks in window_display = 0 to simulate /on ^set. -* Add /window flush_scrollback, see UPDATES -* Fix braino that caused /set's in your ircrc to be echoed. Only in amn.orig/modules: CVS Only in amn.orig/modules/abot: CVS Only in amn.orig/modules/adcc: CVS Only in amn.orig/modules/aol: CVS Only in amn.orig/modules/away: CVS Only in amn.orig/modules/bwk: CVS Only in amn.orig/modules/clones: CVS Only in amn.orig/modules/dict: CVS Only in amn.orig/modules/encryption: CVS Only in amn.orig/modules/fake: CVS Only in amn.orig/modules/flood: CVS Only in amn.orig/modules/lsay: CVS Only in amn.orig/modules/mass: CVS Only in amn.orig/modules/mjoin: CVS Only in amn.orig/modules/ncomp: CVS Only in amn.orig/modules/netsplit: CVS Only in amn.orig/modules/oper: CVS Only in amn.orig/modules/orignick: CVS Only in amn.orig/modules/query: CVS Only in amn.orig/modules/relay: CVS Only in amn.orig/modules/shitlist: CVS Only in amn.orig/modules/sprot: CVS Only in amn.orig/modules/tab: CVS Only in amn.orig/modules/userlist: CVS Only in amn.orig/modules/vanilla: CVS Only in amn.orig/modules/xy: CVS Only in amn.orig/pasture: CVS Only in amn.orig/pasture/topwin: CVS Only in amn.orig/sc: CVS Only in amn.orig/stats: CVS Only in amn.orig/themes: CVS Only in amn.orig/wis: CVS Date: Fri, 26 Aug 2005 06:50:45 -0400 (EDT) From: zak@ircii.org (Zak) -fix up NON-FUCKED up changes. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Sat Aug 20 02:36:44 2005 +++ amn/ChangeLog Fri Aug 26 06:49:08 2005 @@ -630,3 +630,9 @@ dumping/loading. requested by Alien88 //zak -update UPGRADE document. -update E5-KNOWNBUGS epic5-0.0.6 users please read this!. + +-8/26/05 +-revert out old cvs changes. +-update docs to reality. +-properly comment some code using ## instead of the old :: which has some + interesting issues in epic5. diff -aru amn.orig/NOTES amn/NOTES --- amn.orig/NOTES Wed Aug 3 18:54:12 2005 +++ amn/NOTES Fri Aug 26 06:44:59 2005 @@ -18,5 +18,10 @@ and cross your fingers? - help from |Rain| (naturally i presume this requires the linux-compat libs installed.) +Those of you who uses multiserver in ircii based irc clients, you should +use epic4 instead of epic5 at this time, the multiserver support isn't +really much better than any other ircii based client currently. prolly still +better than BitchX! *ahem* + //crapple //zak@ircii.org diff -aru amn.orig/core/hooks.m amn/core/hooks.m --- amn.orig/core/hooks.m Wed Jul 27 02:47:31 2005 +++ amn/core/hooks.m Fri Aug 26 06:42:56 2005 @@ -63,8 +63,8 @@ } } -#server hooks. -::connects... +## server hooks. +#connect notice. ^on ^server_notice "% % % connect to*" { abecho $fparse(format_timestamp_some $($_timess))$2- } @@ -93,10 +93,10 @@ abecho $2- } -#disable annoying shit here. +## disable you've got mail!. ^on ^mail * # -#ctcp disable shit... +## disable nonesential annoying ctcp's. ^on ^raw_irc "% PRIVMSG % :FINGER*" ^on ^raw_irc "% PRIVMSG % :CLIENTINFO*" ^on ^raw_irc "% PRIVMSG % :SOUND*" diff -aru amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Sat Aug 20 02:37:04 2005 +++ amn/docs/E5-KNOWNBUGS Fri Aug 26 06:45:42 2005 @@ -2,12 +2,10 @@ KNOWN ERRATA (eg, bugs, or unresolved requests): ------------------------------------------------ -* scripted /set callbacks: should they be "silent"? -* JM needs to start a discussion on the mailign list about /msg restrictions -* Weirdo observes /set notify_on_termination goes to wrong window +* JM needs to start a discussion on the mailing list about /msg restrictions * /CTCPs over /DCCs don't match up with their queries very well. * Revamp of /who -realname -* Some way to clear the scrollback all at once +* alias foo {package x;load script} carries 'x' into 'script' ??? LOOK FOR IN THE FUTURE ----------------------- @@ -742,3 +740,15 @@ * Release epic5-0.0.6 (Osculator) * Fix "ALL" mangle level to not include "UNPRINTABLE" * Fix /on 367 in 2.8script, from larne. +* Wrap output caused by /exec callbacks in message_from()s, for weirdo. +* Wrap scripted set callbacks in window_display = 0 to simulate /on ^set. +* Add /window flush_scrollback, see UPDATES +* Fix braino that caused /set's in your ircrc to be echoed. +* Add configure glop to figure out intmax_t on c90 systems. +* Use "intmax_t" for dcc byte counts, eliminate notion of "packets". +* Use INTMAX_FORMAT to format intmax_t's in printf formats. +* Change %D status bar expando to look like "0.1Kb of 2.3Mb" (no packets) +* Choke on dcc send offers that don't have file sizes. +* Make a feeble attempt to handle 32-bit rollover on dcc get's > 2gb. +* Use "intmax_t" for the new math parser, 64 bit int's ahoy! +* Use INTMAX_FORMAT to format intmax_t's in new math parser. Date: Fri, 26 Aug 2005 06:56:32 -0400 (EDT) From: zak@ircii.org (Zak) -HUGE COMMIT!, 2 line changes. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Fri Aug 26 06:49:08 2005 +++ amn/ChangeLog Fri Aug 26 06:55:01 2005 @@ -636,3 +636,4 @@ -update docs to reality. -properly comment some code using ## instead of the old :: which has some interesting issues in epic5. +-remove 2 emopart-reasons to make kreca kinda 'happy' diff -aru amn.orig/emopart.reasons amn/emopart.reasons --- amn.orig/emopart.reasons Sat Aug 6 19:43:43 2005 +++ amn/emopart.reasons Fri Aug 26 06:54:40 2005 @@ -1,11 +1,9 @@ -Well! -Humph I will not be part of this You guys are assholes stop it dad! You're crushing my smokes! More important things on my mind One day sheep will rule the world -Sanity..... +Sanity.... Go suck off a bobby, and eat cheerios Everyone hates me because I'm paranoid. Fucking fascists! Date: Tue, 30 Aug 2005 19:58:41 -0400 (EDT) From: zak@ircii.org (Zak) -sync up todo-bugs and epic-bugs to reality... yay getting better!. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Aug 30 18:40:34 2005 +++ amn/ChangeLog Tue Aug 30 19:48:47 2005 @@ -690,4 +690,6 @@ -made a bitchx like theme 'bitchx' //zak -minor query problem with statbar3 disabled it on second-stat //zak. -update the UPGRADE document. //zak --make delword in the bwk module accept numeric argument \ No newline at end of file +-make delword in the bwk module accept numeric argument +-update the TODO-BUGS documents a lot, looks like we're starting to + get somewhere! //zak diff -aru amn.orig/EPIC-BUGS amn/EPIC-BUGS --- amn.orig/EPIC-BUGS Fri Jun 10 03:54:35 2005 +++ amn/EPIC-BUGS Tue Aug 30 19:53:17 2005 @@ -5,4 +5,14 @@ reported to me while using IPv6, however i have not heard any reports on the IPv4 side of things. +ircII EPIC5-0.0.6 (Commit id: 1288) (Date of release: 20050809) +-some interesting bugs i've noticed in this version and lesser releases +are weird ctcp over dcc issues hopefully we have fixed them now, remember +this is not an amnesiac bug, it's something to do with how epic handles +ctcp requests it seems to be a bug on their part not mine, although +hop seems to disagree with that notion. +-another bug is similar to the one reported at the top even /window server + some.nonexistent.host or accidental typing of a server that doesnt + exist can cause the client to go into a fd loop. + //zak diff -aru amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Tue Aug 30 04:21:48 2005 +++ amn/TODO-BUGS Tue Aug 30 19:48:00 2005 @@ -7,16 +7,12 @@ @ = requests/votes $ = knownbug. -:: bugs. +## bugs. $ when doing /q x-somenick if the nick has the - in it breaks /query -/* remove the me stuff kreca did for now until a fix or hop fixes it */ -- /me from another nick if in a query doesn't always output to the right - window it may be said in a query when it was meant for channel. - $ rewrite topwin (removed to pasture) //kreca? -:: requests/misc +## requests/misc @ (Alien88_[alien@umich.edu]) if ov is toggled on (Alien88_[alien@umich.edu]) reset opermodes //vote? @ finish up the notify logging..tog signon/signoffs/off/on etc.. @@ -33,22 +29,27 @@ add mirc kick for ppl using mirc colors. all should have toggle for on and off, and should work with kickops variable. -:: changed/somebugs. -8/16/05 -+ kreca asked me to add this addition to the TODO file i presume this +## some bugs listed below. +7/30/5 move topicwin as a kinda buggy module since it does need work + (doesn't update the topic if multiple chans in same window) //zak + + +## bugs fixed. / projects done. +8/30/05 - no longer reproduceable? //zak +! kreca asked me to add this addition to the TODO file i presume this means he might actually do more ;( - -> [kreca_(dcc)] kreca fix dccme + -> [kreca_(dcc)] kreca fix dccme -> [kreca_(dcc)] to output to the right window -:: some bugs listed below. -7/30/5 move topicwin as a kinda buggy module since it does need work - (doesn't update the topic if multiple chans in same window) //zak +8/30/05 - this seems to possibly be fixed now. hopefully. //zak +! /me from another nick if in a query doesn't always output to the right + window it may be said in a query when it was meant for channel. -$@ delword # does not work. workaround... /delword word #channel +8/30/05 yay finally fixed by kreca... //zak. +! delword # does not work. workaround... /delword word #channel should make it so one can do /delword #. else what's the point of having the numerics there? -:: bugs fixed. / projects done. 8/30/05 - has been verified and indeedy it works and as annoying as before! //zak ! test to verify some of the confusing hooks in various parts of the tree Date: Wed, 31 Aug 2005 00:00:20 -0400 (EDT) From: zak@ircii.org (Zak) -minor changes. mostly documentation. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Aug 30 19:48:47 2005 +++ amn/ChangeLog Tue Aug 30 23:59:36 2005 @@ -693,3 +693,8 @@ -make delword in the bwk module accept numeric argument -update the TODO-BUGS documents a lot, looks like we're starting to get somewhere! //zak +-shorten up the /supt alias and a bit more verbose and allow for output + to any active window. +-add another scan.fix alias for possible future usage of colorized scans. + //zak +-sync E5-KNOWNBUGS document from -HEAD //zak diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Tue Aug 30 12:17:41 2005 +++ amn/amn.epic Tue Aug 30 23:58:23 2005 @@ -54,7 +54,6 @@ set user_information Are you from the FBI ? set mangle_logfiles ALL set new_server_lastlog_level none -set notify_on_termination off set switch_channels_between_windows off set -status_user set -status_format1 @@ -104,7 +103,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[14p3] +@commit_id=[14p4] @a.rel=[1.0a cvs/$commit_id] @a.date=[20050806] @_ss=[15] @@ -200,7 +199,7 @@ ^eval $mkdir($(savepath)) ##poor mans THUTTUP on file not found loader. -^on ^yell * # +/*^on ^yell * #*/ ##end poor mans THUTTUP. ^eval ^load $(savepath)$savefile diff -aru amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Tue Aug 30 06:36:39 2005 +++ amn/core/alias.m Tue Aug 30 20:27:24 2005 @@ -305,17 +305,14 @@ //eval //quit $(J)[$info(i)] - $(a.ver) : $randread($(loadpath)quit.reasons) } -alias supt { - if ([$0]) { - msg $0 $(J)[$info(i)] client uptime: $tdiff2(${time() - F}) - }{ - msg $C $(J)[$info(i)] client uptime: $tdiff2(${time() - F}) - } +alias supt +{ + msg $T ircII $(J) \($V\) [$info(i)] "$info(r)" client uptime: $tdiff2(${time() - F}) } alias qk { if (![$0]) { - xecho -b usage: /qk - will bankick specified nick then unban them after 5 seconds. + xecho -b usage: /qk - will bankick specified nick then unban them after 5 seconds. }{ bankick $* @_bnick=[$0] diff -aru amn.orig/core/scan.m amn/core/scan.m --- amn.orig/core/scan.m Tue Aug 30 04:08:58 2005 +++ amn/core/scan.m Tue Aug 30 23:52:33 2005 @@ -21,6 +21,11 @@ @function_return=_t } +alias fix.scan4 if ([$0]) { + @_t=[$[11]0] + @_t=msar(g/.?/ /@+/$(hcyn)@$(cl)/@./$(hcyn)@$(cl)/@?/$(hcyn)@$(cl)/.+/$(hcyn)+$(cl)/../ /$strip(/ $(_t))) + @function_return=_t}{@function_return=[$[10]empty_string] +} ### propz to robohak for clueing me into using the 366 numeric for nick list on ^366 * #- diff -aru amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Fri Aug 26 06:45:42 2005 +++ amn/docs/E5-KNOWNBUGS Tue Aug 30 23:58:56 2005 @@ -752,3 +752,7 @@ * Make a feeble attempt to handle 32-bit rollover on dcc get's > 2gb. * Use "intmax_t" for the new math parser, 64 bit int's ahoy! * Use INTMAX_FORMAT to format intmax_t's in new math parser. +* Fix bug with comma operator in new math parser that crazyeddy found. +* Whack support for 7 bit terminals (8 bit support is now assumed) +* Whack support for /set eight_bit_characters +* Whack support for /set beep_max, tab, tab_max, and nd_space_max Date: Wed, 31 Aug 2005 00:02:23 -0400 (EDT) From: zak@ircii.org (Zak) -minor erps. //zak diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Tue Aug 30 23:58:23 2005 +++ amn/amn.epic Wed Aug 31 00:01:45 2005 @@ -199,7 +199,7 @@ ^eval $mkdir($(savepath)) ##poor mans THUTTUP on file not found loader. -/*^on ^yell * #*/ +^on ^yell * # ##end poor mans THUTTUP. ^eval ^load $(savepath)$savefile Date: Wed, 31 Aug 2005 00:45:09 -0400 (EDT) From: zak@ircii.org (Zak) -some new window functions and adding a couple of keybindings for home/end for weird terminals like GNU or whatever adam uses ;( //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Tue Aug 30 23:59:36 2005 +++ amn/ChangeLog Wed Aug 31 00:43:21 2005 @@ -698,3 +698,5 @@ -add another scan.fix alias for possible future usage of colorized scans. //zak -sync E5-KNOWNBUGS document from -HEAD //zak +-add new windowing binds and some windowing functions to make adam happy + home/end should work on weird terminals now. //zak diff -aru amn.orig/core/bind.m amn/core/bind.m --- amn.orig/core/bind.m Tue Aug 30 00:21:41 2005 +++ amn/core/bind.m Wed Aug 31 00:40:52 2005 @@ -18,6 +18,10 @@ @ bindctl(sequence ^T set parse_command dcc.get) @ bindctl(sequence ^R set parse_command dcc.reject) +# Home/End on some terminals. +@ bindctl(sequence ^[[1~ set scroll_start) +@ bindctl(sequence ^[[4~ set scroll_end) + ## window binds. screen like binds for xavier. alias win.newwin {window new double on hide;window swap last} @ bindctl(sequence ^W1 set parse_command ^window swap 1) diff -aru amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Tue Aug 30 02:21:41 2005 +++ amn/core/window.m Wed Aug 31 00:28:48 2005 @@ -155,4 +155,31 @@ bind ^[$tt parse_command toggle.window $tt } +alias visiblewins (void) +{ + for wref in ($winrefs()) + { + if (winvisible($wref) > 0) { + @ push(:ret $wref); + }; + }; + @ function_return = revw($ret); +}; + +# Returns the names of all channels belonging to a specific window. +# If no window is specified the current window is used. +# Taken from darkstar. +alias winchannels (win default "$winnum()", void) +{ + @ :serv = winserv($win); + for chan in ($mychannels($serv)) + { + xeval -s $serv { + if (winchan($chan) == win) { + @ push(function_return $chan); + }; + }; + }; +}; + oof From: Kreca Date: Wed, 31 Aug 2005 11:33:40 +0200 (CEST) cleanups to /tig and /ignore. Bounds checking and sorted output diff -ru /home/kreca/cvs/amn.orig/ChangeLog /home/kreca/cvs/amn/ChangeLog --- /home/kreca/cvs/amn.orig/ChangeLog Wed Aug 31 06:43:21 2005 +++ /home/kreca/cvs/amn/ChangeLog Wed Aug 31 11:10:27 2005 @@ -700,3 +700,4 @@ -sync E5-KNOWNBUGS document from -HEAD //zak -add new windowing binds and some windowing functions to make adam happy home/end should work on weird terminals now. //zak +-cleanups to /tig and /ignore. Bounds checking and sorted output //kreca diff -ru /home/kreca/cvs/amn.orig/core/alias.m /home/kreca/cvs/amn/core/alias.m --- /home/kreca/cvs/amn.orig/core/alias.m Wed Aug 31 02:27:24 2005 +++ /home/kreca/cvs/amn/core/alias.m Wed Aug 31 11:01:16 2005 @@ -219,19 +219,20 @@ alias tig { if (igmask(*)) { + @jj=0 fe ($igmask(*)) ignores { - @jj++ + @jj++ xecho -b [$jj] $ignores $igtype($ignores) @ban[$jj] = ignores } - @jj=0 - input "enter # of which ignore to takeoff: " { - //ignore $ban[$0] -all - } - }{ - xecho -b no ignores currently + input "enter # of which ignore to takeoff: " { + if ( ([$0] > 0) && ([$0] <= numwords($igmask(*)))) { + //ignore $ban[$0] -all + } + } + }{ + xecho -b no ignores currently } - } alias emopart { @@ -343,17 +344,25 @@ } -alias ignore if ([$0]) { - if (match(*#* $0) ^^ match(*!*@* $0)) { - //ignore $0 $1- +alias ignore { + if (#) { + if (match(*#* $0) ^^ match(*!*@* $0)) { + //ignore $0 $1- }{ //ignore $getuhost($0) $1- + } + }{ + xecho -b Ignorance List: + if (igmask(*)) { + @jj=0 + fe ($igmask(*)) ignores { + @jj++ + xecho -b [$jj] $ignores $igtype($ignores) } - }{ - //ignore - } - + } + } +} alias ban if (![$0]) { Date: Wed, 31 Aug 2005 06:39:03 -0400 (EDT) From: zak@ircii.org (Zak) -refix binds for adam. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 31 05:10:27 2005 +++ amn/ChangeLog Wed Aug 31 06:32:41 2005 @@ -701,3 +701,4 @@ -add new windowing binds and some windowing functions to make adam happy home/end should work on weird terminals now. //zak -cleanups to /tig and /ignore. Bounds checking and sorted output //kreca +-refix adam's bindings. //zak diff -aru amn.orig/core/bind.m amn/core/bind.m --- amn.orig/core/bind.m Wed Aug 31 00:40:52 2005 +++ amn/core/bind.m Wed Aug 31 06:32:15 2005 @@ -18,9 +18,9 @@ @ bindctl(sequence ^T set parse_command dcc.get) @ bindctl(sequence ^R set parse_command dcc.reject) -# Home/End on some terminals. -@ bindctl(sequence ^[[1~ set scroll_start) -@ bindctl(sequence ^[[4~ set scroll_end) +# set these bindings for adam. +@ bindctl(sequence ^[[1~ set beginning_of_line) +@ bindctl(sequence ^[[4~ set end_of_line) ## window binds. screen like binds for xavier. alias win.newwin {window new double on hide;window swap last} Date: Wed, 31 Aug 2005 07:16:38 -0400 (EDT) From: zak@ircii.org (Zak) -backout the binds, kreca doesn't like adam ;( -add adam to greets/credits since he deserves a little credit!. //zak diff -aru amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 31 06:32:41 2005 +++ amn/ChangeLog Wed Aug 31 07:15:37 2005 @@ -702,3 +702,5 @@ home/end should work on weird terminals now. //zak -cleanups to /tig and /ignore. Bounds checking and sorted output //kreca -refix adam's bindings. //zak +-remove adam's bindings. //zak +-add adam to the greets/credits. diff -aru amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Wed Aug 31 00:01:45 2005 +++ amn/amn.epic Wed Aug 31 07:15:00 2005 @@ -1,6 +1,6 @@ /* amnesiac by crapple mods/bugfixes by kreca pr0pz and thanks go to void!, xavier!, fudd, BlackJac, hop, criminal, krimson, -twez, azel, violence, whitney, skullY, Alien88, kreca, eater, grimzy and +twez, azel, violence, whitney, skullY, Alien88, kreca, eater, grimzy, adam and any others out there who have helped out. */ diff -aru amn.orig/ans/about.ans amn/ans/about.ans --- amn.orig/ans/about.ans Sun Jul 31 03:27:37 2005 +++ amn/ans/about.ans Wed Aug 31 07:15:14 2005 @@ -6,7 +6,7 @@ Grtz To: void, Xavier, fudd, BlackJac, hop, criminal, krimson, twez, azel, - violence, whitney, skullY, Alien88, eater, grimzy, kreca + violence, whitney, skullY, Alien88, eater, grimzy, kreca, adam IRC: #amnesiac@efnet diff -aru amn.orig/core/bind.m amn/core/bind.m --- amn.orig/core/bind.m Wed Aug 31 06:32:15 2005 +++ amn/core/bind.m Wed Aug 31 07:13:23 2005 @@ -18,9 +18,9 @@ @ bindctl(sequence ^T set parse_command dcc.get) @ bindctl(sequence ^R set parse_command dcc.reject) -# set these bindings for adam. -@ bindctl(sequence ^[[1~ set beginning_of_line) -@ bindctl(sequence ^[[4~ set end_of_line) +## home/end on some terms. +@ bindctl(sequence ^[[1~ set scroll_start) +@ bindctl(sequence ^[[4~ set scroll_end) ## window binds. screen like binds for xavier. alias win.newwin {window new double on hide;window swap last} Date: Wed, 31 Aug 2005 09:01:14 -0400 (EDT) From: zak@ircii.org (Zak) huge commit, a lot of changes from discussions over irc and removal of BLOAT, read the changelog/diff for more info. noticeable changes are. pubnotform format being back and set again per default, dunno how/why this got removed and borked. added another /resp so now we have 4 resp's /resp /resp2 /resp3 /resp4 and they are saved with /save, /sv format output change, removed useless themes, changed version formats on all themes to be less verbose. and diff way we do versions now. //zak diff -aruN amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 31 07:15:37 2005 +++ amn/ChangeLog Wed Aug 31 08:47:15 2005 @@ -704,3 +704,15 @@ -refix adam's bindings. //zak -remove adam's bindings. //zak -add adam to the greets/credits. +-fix public notice form theme/save/startup settings and an odd mutilation + in save.m remove some stupid indentings in theme.m while i was in there + as well. and /resp2 /resp3 /resp4 are now saved. //zak +-remove 4-5 themes i lost count. don't care. //zak + ^^ still more to come i'm sure. we have too many. +-removed /mme and mme.m, no it's not going in pasture it's DEAD!. //zak +-update all themes default versions to be a little less verbose per + default!. //zak +-change our version ways to be more realistic. //zak +-change /sv formats not to use $uname $client_info and a bit better + output. //zak +-update my theme again(nocturnal) //zak diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Tue Aug 30 19:48:00 2005 +++ amn/TODO-BUGS Wed Aug 31 08:54:53 2005 @@ -2,27 +2,33 @@ Meaning of flags: ! = fixed/added stuff -- = removed + = changed stuff, uncertain if complete. @ = requests/votes $ = knownbug. +? = undecided/closed votes. ## bugs. $ when doing /q x-somenick if the nick has the - in it breaks /query -$ rewrite topwin (removed to pasture) //kreca? +## Higher priority requests. +@ toggle for kickban or just kick for the bwk module. +@ add toggle for notify logging types; on/off signon/signoffs. +@ add a topiclock alias (like bitchx) for xaver. -## requests/misc +## Procrastinated requests. +@ rewrite topwin (removed to pasture). + @ (Alien88_[alien@umich.edu]) if ov is toggled on (Alien88_[alien@umich.edu]) reset opermodes //vote? -@ finish up the notify logging..tog signon/signoffs/off/on etc.. - //kreca/crapple? + @ check to see if fkeys.m does need more @ bindctl usage in the future. (finished the todo of adding the @bindctl to do.fkey's alias) //zak it broke as i released cvs13g backed out changes until later //zak. + @ finish up or scrap the adcc module, i really hate to touch this myself i have never heard of a request for this module nor have i heard a single complaint about it working or not working perhaps a vote? + @ add a module for set num of exclamation's !!!! before kicking person with kickops on/off option add repeat kick with option for # of repeats before kicking offender. @@ -30,9 +36,7 @@ on and off, and should work with kickops variable. ## some bugs listed below. -7/30/5 move topicwin as a kinda buggy module since it does need work - (doesn't update the topic if multiple chans in same window) //zak - +NONE for 'some bugs' ## bugs fixed. / projects done. 8/30/05 - no longer reproduceable? //zak diff -aruN amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Tue Aug 30 13:46:06 2005 +++ amn/UPGRADE Wed Aug 31 08:40:25 2005 @@ -117,7 +117,7 @@ rm -rf ~/.amn/.a.fsetsave then /adump -::cvs-8/9/10/11/12 to cvs15p +::cvs-8/9/10/11/12 to 1.1d/p* rm -rf ~/amn/core/sping.m(if overwriting the dir) rm -rf ~/.amn/.mod.save rm -rf ~/.amn/.a.csave diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Wed Aug 31 07:15:00 2005 +++ amn/amn.epic Wed Aug 31 08:41:25 2005 @@ -103,9 +103,9 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[14p4] -@a.rel=[1.0a cvs/$commit_id] -@a.date=[20050806] +@commit_id=[15] +@a.rel=[1.1d p/$commit_id] +@a.date=[20050831] @_ss=[15] @_ovsize=[5] @_ovmode=[fibxwzZsy] @@ -148,6 +148,7 @@ @_tss=[on] @_resp2=[dugewfe] @_resp3=[wfeuowe] +@_resp4=[dfeefwz] @_boxhead = [ $(hwht)Ú$(cl)Ä$cparse($(c1)Ä)$(cl)ÄÄÄÄÄ$cparse($(c1)ÄÄÄ)$cparse($(c2)ÄÄÄ)$cparse($(c1)Ä)$(cl)Ä$(hblk)Ä- - Ä -$(cl)] @_boxfoot = [ $cparse($(c1)À)$cparse($(c3)Ä)$(hblk)- ÄÄ -$(cl)] @_ubanself=[off] @@ -157,6 +158,7 @@ @pubform=[41] @spubform=[41] @spuboform=[53] +@pubnotform=[1] @signform=[4] @joinform=[16] @leaveform=[3] @@ -192,7 +194,6 @@ @sc2=[\\[1\;36m] @sc3=[\\[0m] @sc4=[\\[0\;34m] - ^eval set QUIT_MESSAGE $tolower($J) - $randread($(loadpath)quit.reasons) diff -aruN amn.orig/core/format.m amn/core/format.m --- amn.orig/core/format.m Tue Aug 30 01:43:39 2005 +++ amn/core/format.m Wed Aug 31 07:42:07 2005 @@ -337,7 +337,6 @@ pubnotform.show } - alias pubnotform.load if ([$0]) { if (isnumber($0)&&[$0] to set public notice format - xecho -v -b current format set to $pubnotform + xecho -v -b current format set to $pubnotform @format_public_notice=getitem(pubnotform $pubnotform) } diff -aruN amn.orig/core/mme.m amn/core/mme.m --- amn.orig/core/mme.m Tue Aug 30 04:08:05 2005 +++ amn/core/mme.m Wed Dec 31 19:00:00 1969 @@ -1,14 +0,0 @@ -subpackage mme -alias mme { - if (mychannels()) { - fe ($mychannels()) mychan { - if (findw($tolower($mychan) { - if (mychan == C) - {^me $*} - {^describe $mychan $*} - } - } - } -} - -oof \ No newline at end of file diff -aruN amn.orig/core/modeshow.m amn/core/modeshow.m --- amn.orig/core/modeshow.m Tue Aug 30 01:40:35 2005 +++ amn/core/modeshow.m Wed Aug 31 07:29:15 2005 @@ -30,6 +30,9 @@ if (match($_resp3* $2-) > 0) { @thenick=[$(hwht)$0$(cl)] } + if (match($_resp4* $2-) > 0) { + @thenick=[$(hwht)$0$(cl)] + } if (winchan($0)==-1 || winchan($winchan($1)) != [$1] ) { echo $fparse(format_public $(extravar)$(thenick):$1 $2-) } else { diff -aruN amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Tue Aug 30 03:48:42 2005 +++ amn/core/save.m Wed Aug 31 07:46:48 2005 @@ -47,6 +47,9 @@ @write($savemt @_ovsize = [$_ovsize]) @write($savemt @_ovmode = [$_ovmode]) @write($savemt @_ubanself = [$_ubanself]) + @write($savemt @_resp2 = [$_resp2]) + @write($savemt @_resp3 = [$_resp3]) + @write($savemt @_resp4 = [$_resp4]) @close($savemt) xecho -v [a+c] (core).. settings saved to $savefile } diff -aruN amn.orig/core/theme.m amn/core/theme.m --- amn.orig/core/theme.m Tue Aug 30 00:19:46 2005 +++ amn/core/theme.m Wed Aug 31 07:45:19 2005 @@ -14,15 +14,16 @@ @ write($saveth :$author) @ write($saveth :$desc) @ write($saveth :$name) - @ write($saveth @auth=[$N]) - @ write($saveth @desc=[$desc]) - @ write($saveth @name=[$name]) - @ write($saveth @scdesc=[\\\($desc\\\)]) - @ write($saveth @mform=$mform) + @ write($saveth @auth=[$N]) + @ write($saveth @desc=[$desc]) + @ write($saveth @name=[$name]) + @ write($saveth @scdesc=[\\\($desc\\\)]) + @ write($saveth @mform=$mform) @ write($saveth @smform=$smform) @ write($saveth @pubform=$pubform) @ write($saveth @spubform=$spubform) @ write($saveth @spuboform=$spuboform) + @ write($saveth @pubnotform=$pubnotform) @ write($saveth @signform=$signform) @ write($saveth @joinform=$joinform) @ write($saveth @leaveform=[$leaveform]) @@ -35,25 +36,25 @@ @ write($saveth @ctcpform=$ctcpform) @ write($saveth @sctcpform=$sctcpform) @ write($saveth @echostr=$echostr) - @ write($saveth @ncomp=$ncomp) - @ write($saveth @svform=$svform) + @ write($saveth @ncomp=$ncomp) + @ write($saveth @svform=$svform) @ write($saveth @snf=$snf) - @ write($saveth @wallform = [$wallform]) - @ write($saveth @bwallform=$bwallform) - @ write($saveth @awayform=$awayform) - @ write($saveth @actform=$actform) - @ write($saveth @actform=$actform) - @ write($saveth @descform=$descform) - @ write($saveth @sdescform=$sdescform) - @ write($saveth @actform=$actform) + @ write($saveth @wallform = [$wallform]) + @ write($saveth @bwallform=$bwallform) + @ write($saveth @awayform=$awayform) + @ write($saveth @actform=$actform) + @ write($saveth @actform=$actform) + @ write($saveth @descform=$descform) + @ write($saveth @sdescform=$sdescform) + @ write($saveth @actform=$actform) @ write($saveth @statbar=[$statbar]) - @ write($saveth @_whois=[$_whois]) - @ write($saveth @c1=[$c1) + @ write($saveth @_whois=[$_whois]) + @ write($saveth @c1=[$c1) @ write($saveth @c2=[$c2) @ write($saveth @c3=[$c3) @ write($saveth @c4=[$c4) @ write($saveth @c5=[$c5) - @ write($saveth @sc1=[$sc1) + @ write($saveth @sc1=[$sc1) @ write($saveth @sc2=[$sc2) @ write($saveth @sc3=[$sc3) @ write($saveth @sc4=[$sc4) diff -aruN amn.orig/core/version.m amn/core/version.m --- amn.orig/core/version.m Tue Aug 30 01:15:48 2005 +++ amn/core/version.m Wed Aug 31 08:18:13 2005 @@ -6,7 +6,7 @@ alias sv { - msg $T ircII $J/$info(i) $uname() $a.ver/$a.rel - $CLIENT_INFORMATION; + msg $T ircII $J \($V\) [$info(i)] "$info(r)" $a.ver/$a.rel }; diff -aruN amn.orig/themes/alchemist.th amn/themes/alchemist.th --- amn.orig/themes/alchemist.th Thu May 19 01:34:42 2005 +++ amn/themes/alchemist.th Wed Aug 31 08:25:32 2005 @@ -23,7 +23,7 @@ @sctcpform=8 @echostr=1 @ncomp=15 -@svform=18 +@svform=10 @snf=2 @wallform=[6] @bwallform=6 diff -aruN amn.orig/themes/amnesiac.th amn/themes/amnesiac.th --- amn.orig/themes/amnesiac.th Sat Jul 23 15:45:20 2005 +++ amn/themes/amnesiac.th Wed Aug 31 08:26:07 2005 @@ -23,7 +23,7 @@ @sctcpform=11 @echostr=15 @ncomp=15 -@svform=17 +@svform=7 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/channel.th amn/themes/channel.th --- amn.orig/themes/channel.th Tue May 3 01:50:18 2005 +++ amn/themes/channel.th Wed Aug 31 08:27:00 2005 @@ -23,7 +23,7 @@ @sctcpform=11 @echostr=15 @ncomp=15 -@svform=4 +@svform=7 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/chloro.th amn/themes/chloro.th --- amn.orig/themes/chloro.th Mon May 2 12:45:22 2005 +++ amn/themes/chloro.th Wed Aug 31 08:27:20 2005 @@ -23,7 +23,7 @@ @sctcpform=1 @echostr=13 @ncomp=11 -@svform=9 +@svform=7 @snf=2 @wallform = [1] @bwallform=1 diff -aruN amn.orig/themes/cl.th amn/themes/cl.th --- amn.orig/themes/cl.th Tue May 3 01:50:49 2005 +++ amn/themes/cl.th Wed Aug 31 08:27:34 2005 @@ -23,7 +23,7 @@ @sctcpform=11 @echostr=18 @ncomp=6 -@svform=7 +@svform=10 @snf=2 @wallform = [10] @bwallform=10 diff -aruN amn.orig/themes/crystal.th amn/themes/crystal.th --- amn.orig/themes/crystal.th Tue May 3 09:36:20 2005 +++ amn/themes/crystal.th Wed Dec 31 19:00:00 1969 @@ -1,45 +0,0 @@ -:dan -:crystal -:crystal -@auth=[nad] -@desc=[crystal] -@name=[crystal] -@scdesc=[\(crystal\)] -@mform=16 -@smform=39 -@pubform=13 -@spubform=16 -@spuboform=31 -@signform=9 -@joinform=4 -@leaveform=[3] -@modeform=1 -@notform=14 -@snotform=9 -@sdcform=9 -@dcform=13 -@topform=5 -@ctcpform=4 -@sctcpform=12 -@echostr=40 -@ncomp=15 -@svform=5 -@snf=3 -@wallform = [4] -@bwallform=4 -@awayform=6 -@actform=3 -@actform=3 -@descform=2 -@sdescform=2 -@actform=3 -@statbar=[stat.4] -@_whois=[2] -@c1=[ -@c2=[ -@c3=[ -@c4=[ -@sc1=[ -@sc2=[ -@sc3=[ -@sc4=[ diff -aruN amn.orig/themes/cyan.th amn/themes/cyan.th --- amn.orig/themes/cyan.th Tue May 3 01:51:22 2005 +++ amn/themes/cyan.th Wed Aug 31 08:27:50 2005 @@ -23,7 +23,7 @@ @sctcpform=3 @echostr=22 @ncomp=10 -@svform=3 +@svform=7 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/dead.th amn/themes/dead.th --- amn.orig/themes/dead.th Tue May 3 01:52:12 2005 +++ amn/themes/dead.th Wed Aug 31 08:28:43 2005 @@ -23,7 +23,7 @@ @sctcpform=9 @echostr=31 @ncomp=11 -@svform=3 +@svform=7 @snf=1 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/delusion.th amn/themes/delusion.th --- amn.orig/themes/delusion.th Tue May 3 01:52:30 2005 +++ amn/themes/delusion.th Wed Aug 31 08:28:56 2005 @@ -23,7 +23,7 @@ @sctcpform=3 @echostr=29 @ncomp=10 -@svform=3 +@svform=11 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/deranged.th amn/themes/deranged.th --- amn.orig/themes/deranged.th Tue May 3 09:37:26 2005 +++ amn/themes/deranged.th Wed Dec 31 19:00:00 1969 @@ -1,44 +0,0 @@ -:dan -:deranged -:deranged -@auth=[dan] -@desc=[deranged] -@name=[deranged] -@scdesc=[\(deranged\)] -@mform=18 -@smform=13 -@pubform=1 -@spubform=7 -@spuboform=14 -@signform=2 -@joinform=4 -@leaveform=[2] -@modeform=4 -@notform=3 -@snotform=3 -@sdcform=8 -@dcform=5 -@topform=3 -@ctcpform=8 -@sctcpform=4 -@echostr=42 -@ncomp=10 -@svform=12 -@snf=2 -@wallform = [6] -@bwallform=6 -@awayform=7 -@actform=2 -@actform=2 -@descform=1 -@sdescform=1 -@actform=2 -@statbar=[stat.4] -@c1=[$(blu) -@c2=[$(hblu) -@c3=[$(blu) -@c4=[$(hblu) -@sc1=[ -@sc2=[ -@sc3=[ -@sc4=[ diff -aruN amn.orig/themes/electrical.th amn/themes/electrical.th --- amn.orig/themes/electrical.th Mon May 2 12:46:15 2005 +++ amn/themes/electrical.th Wed Aug 31 08:29:20 2005 @@ -23,7 +23,7 @@ @sctcpform=1 @echostr=19 @ncomp=10 -@svform=3 +@svform=2 @snf=1 @wallform = [9] @bwallform=9 diff -aruN amn.orig/themes/elektra.th amn/themes/elektra.th --- amn.orig/themes/elektra.th Mon May 2 12:47:15 2005 +++ amn/themes/elektra.th Wed Aug 31 08:29:33 2005 @@ -23,7 +23,7 @@ @sctcpform=1 @echostr=14 @ncomp=5 -@svform=6 +@svform=2 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/epic.th amn/themes/epic.th --- amn.orig/themes/epic.th Sat May 28 02:38:02 2005 +++ amn/themes/epic.th Wed Aug 31 08:30:02 2005 @@ -23,7 +23,7 @@ @sctcpform=12 @echostr=45 @ncomp=15 -@svform=5 +@svform=20 @snf=3 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/faceted.th amn/themes/faceted.th --- amn.orig/themes/faceted.th Tue May 3 01:53:32 2005 +++ amn/themes/faceted.th Wed Aug 31 08:30:59 2005 @@ -23,7 +23,7 @@ @sctcpform=8 @echostr=19 @ncomp=15 -@svform=17 +@svform=4 @snf=2 @wallform = [9] @bwallform=9 diff -aruN amn.orig/themes/flying.th amn/themes/flying.th --- amn.orig/themes/flying.th Tue May 3 01:53:44 2005 +++ amn/themes/flying.th Wed Aug 31 08:31:08 2005 @@ -23,7 +23,7 @@ @sctcpform=7 @echostr=24 @ncomp=2 -@svform=3 +@svform=4 @snf=1 @wallform = [9] @bwallform=9 diff -aruN amn.orig/themes/fresh.th amn/themes/fresh.th --- amn.orig/themes/fresh.th Tue May 3 01:53:58 2005 +++ amn/themes/fresh.th Wed Aug 31 08:31:22 2005 @@ -23,7 +23,7 @@ @sctcpform=10 @echostr=1 @ncomp=7 -@svform=7 +@svform=10 @snf=2 @wallform = [8] @bwallform=8 diff -aruN amn.orig/themes/girlies.th amn/themes/girlies.th --- amn.orig/themes/girlies.th Tue May 3 01:54:11 2005 +++ amn/themes/girlies.th Wed Aug 31 08:31:37 2005 @@ -23,7 +23,7 @@ @sctcpform=2 @echostr=15 @ncomp=8 -@svform=1 +@svform=4 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/greenhouse.th amn/themes/greenhouse.th --- amn.orig/themes/greenhouse.th Tue May 3 01:54:24 2005 +++ amn/themes/greenhouse.th Wed Aug 31 08:31:48 2005 @@ -23,7 +23,7 @@ @sctcpform=1 @echostr=19 @ncomp=11 -@svform=3 +@svform=4 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/hellish.th amn/themes/hellish.th --- amn.orig/themes/hellish.th Tue May 3 01:54:53 2005 +++ amn/themes/hellish.th Wed Aug 31 08:31:57 2005 @@ -23,7 +23,7 @@ @sctcpform=3 @echostr=19 @ncomp=11 -@svform=3 +@svform=2 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/humble.th amn/themes/humble.th --- amn.orig/themes/humble.th Tue May 3 01:55:06 2005 +++ amn/themes/humble.th Wed Aug 31 08:33:01 2005 @@ -23,7 +23,7 @@ @sctcpform=1 @echostr=34 @ncomp=4 -@svform=9 +@svform=12 @snf=1 @wallform = [2] @bwallform=1 diff -aruN amn.orig/themes/insanity.th amn/themes/insanity.th --- amn.orig/themes/insanity.th Tue May 3 01:55:20 2005 +++ amn/themes/insanity.th Wed Dec 31 19:00:00 1969 @@ -1,44 +0,0 @@ -:void -:insanity -:insanity -@auth=[void] -@desc=[insanity] -@name=[insanity] -@scdesc=[\(insanity)] -@mform=12 -@smform=12 -@pubform=1 -@spubform=1 -@spuboform=2 -@signform=9 -@joinform=8 -@leaveform=[9] -@modeform=1 -@notform=9 -@snotform=10 -@sdcform=4 -@dcform=4 -@topform=2 -@ctcpform=6 -@sctcpform=9 -@echostr=29 -@ncomp=11 -@svform=4 -@snf=2 -@wallform = [4] -@bwallform=4 -@awayform=1 -@actform=1 -@actform=1 -@descform=1 -@sdescform=1 -@actform=1 -@statbar=[stat.4] -@c1=[$(blu) -@c2=[$(hblu) -@c3=[$(blu) -@c4=[$(hblu) -@sc1=[ -@sc2=[ -@sc3=[ -@sc4=[ diff -aruN amn.orig/themes/l33t.th amn/themes/l33t.th --- amn.orig/themes/l33t.th Tue May 3 09:40:21 2005 +++ amn/themes/l33t.th Wed Aug 31 08:33:12 2005 @@ -23,7 +23,7 @@ @sctcpform=1 @echostr=49 @ncomp=8 -@svform=3 +@svform=12 @snf=2 @wallform = [1] @bwallform=1 diff -aruN amn.orig/themes/nocturnal.th amn/themes/nocturnal.th --- amn.orig/themes/nocturnal.th Tue Aug 30 13:40:43 2005 +++ amn/themes/nocturnal.th Wed Aug 31 08:46:19 2005 @@ -10,6 +10,7 @@ @pubform=5 @spubform=15 @spuboform=8 +@pubnotform=1 @signform=4 @joinform=17 @leaveform=[15] @@ -23,7 +24,7 @@ @sctcpform=8 @echostr=45 @ncomp=15 -@svform=18 +@svform=4 @snf=3 @wallform = [4] @bwallform=4 diff -aruN amn.orig/themes/p1mpin.th amn/themes/p1mpin.th --- amn.orig/themes/p1mpin.th Tue May 3 09:41:18 2005 +++ amn/themes/p1mpin.th Wed Aug 31 08:33:26 2005 @@ -23,7 +23,7 @@ @sctcpform=10 @echostr=39 @ncomp=5 -@svform=6 +@svform=7 @snf=2 @wallform = [9] @bwallform=9 diff -aruN amn.orig/themes/pheer.th amn/themes/pheer.th --- amn.orig/themes/pheer.th Tue May 3 01:55:47 2005 +++ amn/themes/pheer.th Wed Aug 31 08:33:36 2005 @@ -23,7 +23,7 @@ @sctcpform=3 @echostr=28 @ncomp=5 -@svform=3 +@svform=12 @snf=2 @wallform = [8] @bwallform=8 diff -aruN amn.orig/themes/reet.th amn/themes/reet.th --- amn.orig/themes/reet.th Tue May 3 01:56:00 2005 +++ amn/themes/reet.th Wed Aug 31 08:33:48 2005 @@ -23,7 +23,7 @@ @sctcpform=6 @echostr=47 @ncomp=8 -@svform=16 +@svform=12 @snf=2 @wallform = [8] @bwallform=8 diff -aruN amn.orig/themes/sabbath.th amn/themes/sabbath.th --- amn.orig/themes/sabbath.th Tue May 3 01:56:11 2005 +++ amn/themes/sabbath.th Wed Aug 31 08:33:58 2005 @@ -23,7 +23,7 @@ @sctcpform=11 @echostr=19 @ncomp=15 -@svform=5 +@svform=2 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/seize.th amn/themes/seize.th --- amn.orig/themes/seize.th Tue May 3 01:56:31 2005 +++ amn/themes/seize.th Wed Aug 31 08:34:22 2005 @@ -23,7 +23,7 @@ @sctcpform=11 @echostr=15 @ncomp=15 -@svform=6 +@svform=7 @snf=2 @wallform = [2] @bwallform=2 diff -aruN amn.orig/themes/souly.th amn/themes/souly.th --- amn.orig/themes/souly.th Wed Jul 27 04:39:53 2005 +++ amn/themes/souly.th Wed Dec 31 19:00:00 1969 @@ -1,46 +0,0 @@ -:msoul -:souly -:souly -@auth=[msoul] -@desc=[souly] -@name=[souly] -@scdesc=[\(souly\)] -@mform=8 -@smform=4 -@pubform=4 -@spubform=17 -@spuboform=31 -@signform=6 -@joinform=12 -@leaveform=[3] -@modeform=1 -@notform=19 -@snotform=3 -@sdcform=20 -@dcform=5 -@topform=4 -@ctcpform=3 -@sctcpform=8 -@echostr=45 -@ncomp=15 -@svform=10 -@snf=3 -@wallform = [2] -@bwallform=2 -@awayform=8 -@actform=3 -@actform=3 -@descform=2 -@sdescform=2 -@actform=3 -@statbar=[stat.11] -@_whois=[4] -@c1 = [ -@c2 = [ -@c3 = [ -@c4 = [ -@c5 = [ -@sc1 = [ -@sc2 = [ -@sc3 = [ -@sc4 = [ diff -aruN amn.orig/themes/symptomatik.th amn/themes/symptomatik.th --- amn.orig/themes/symptomatik.th Tue May 3 01:56:43 2005 +++ amn/themes/symptomatik.th Wed Dec 31 19:00:00 1969 @@ -1,44 +0,0 @@ -:void -:symptomatik -:symptomatik -@auth=[void] -@desc=[symptomatik] -@name=[symptomatik] -@scdesc=[\(symptomatik\)] -@mform=14 -@smform=21 -@pubform=2 -@spubform=1 -@spuboform=7 -@signform=2 -@joinform=4 -@leaveform=[3] -@modeform=1 -@notform=8 -@snotform=1 -@sdcform=7 -@dcform=7 -@topform=1 -@ctcpform=6 -@sctcpform=3 -@echostr=19 -@ncomp=10 -@svform=4 -@snf=2 -@wallform = [5] -@bwallform=5 -@awayform=4 -@actform=1 -@actform=1 -@descform=1 -@sdescform=1 -@actform=1 -@statbar=[stat.5] -@c1=[$(blu) -@c2=[$(hblu) -@c3=[$(blu) -@c4=[$(hblu) -@sc1=[ -@sc2=[ -@sc3=[ -@sc4=[ diff -aruN amn.orig/themes/vanilla.th amn/themes/vanilla.th --- amn.orig/themes/vanilla.th Sun Jul 31 02:36:31 2005 +++ amn/themes/vanilla.th Wed Aug 31 08:34:55 2005 @@ -23,7 +23,7 @@ @sctcpform=12 @echostr=54 @ncomp=15 -@svform=28 +@svform=19 @snf=5 @wallform=12 @bwallform=12 diff -aruN amn.orig/themes/zoom.th amn/themes/zoom.th --- amn.orig/themes/zoom.th Tue May 3 01:57:04 2005 +++ amn/themes/zoom.th Wed Dec 31 19:00:00 1969 @@ -1,44 +0,0 @@ -:void -:z00m -:zoom -@auth=[void] -@desc=[z00m] -@name=[zoom] -@scdesc=[\(z00m\)] -@mform=22 -@smform=22 -@pubform=2 -@spubform=5 -@spuboform=2 -@signform=3 -@joinform=2 -@leaveform=[3] -@modeform=2 -@notform=1 -@snotform=2 -@sdcform=1 -@dcform=1 -@topform=2 -@ctcpform=1 -@sctcpform=2 -@echostr=19 -@ncomp=15 -@svform=9 -@snf=2 -@wallform = [2] -@bwallform=2 -@awayform=4 -@actform=1 -@actform=1 -@descform=1 -@sdescform=1 -@actform=1 -@statbar=[stat.9] -@c1=[$(blu) -@c2=[$(hblu) -@c3=[$(blu) -@c4=[$(hblu) -@sc1=[ -@sc2=[ -@sc3=[ -@sc4=[ Date: Wed, 31 Aug 2005 09:07:32 -0400 (EDT) From: zak@ircii.org (Zak) oops forgot the /resp4 alias. and mention of a doc update... //zak diff -aruN amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 31 08:47:15 2005 +++ amn/ChangeLog Wed Aug 31 09:06:25 2005 @@ -716,3 +716,4 @@ -change /sv formats not to use $uname $client_info and a bit better output. //zak -update my theme again(nocturnal) //zak +-updated TODO-BUGS a bit more to my liking. //zak diff -aruN amn.orig/core/config.m amn/core/config.m --- amn.orig/core/config.m Tue Aug 30 04:07:18 2005 +++ amn/core/config.m Wed Aug 31 09:05:40 2005 @@ -139,3 +139,4 @@ ## put new additional auto-response aliases here for now. alias resp2 _resp2 $* alias resp3 _resp3 $* +alias resp4 _resp4 $* Date: Wed, 31 Aug 2005 09:58:31 -0400 (EDT) From: zak@ircii.org (Zak) -correctly impliment the the 4 new response highlighting this time. -organize amn.epic a bit comment some things while in there. //zak diff -aruN amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 31 08:47:15 2005 +++ amn/ChangeLog Wed Aug 31 09:57:10 2005 @@ -716,3 +716,8 @@ -change /sv formats not to use $uname $client_info and a bit better output. //zak -update my theme again(nocturnal) //zak +-updated TODO-BUGS a bit more to my liking. //zak +-organize/comment amn.epic a bit better and remove the stupid fparse + on startup. //zak +-correctly fix/save/make the /resp2 /resp3 /resp4 the right way this + time. sorry if i caused any problems!. //zak diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Wed Aug 31 08:41:25 2005 +++ amn/amn.epic Wed Aug 31 09:44:23 2005 @@ -92,8 +92,7 @@ @ byel = [\\[43m] @ bcyn = [\\[46m] -##assigns - +## default assigns @_ort=[3] @_bt=[3] @bt_=[better] @@ -130,7 +129,6 @@ @notl=[on] @plog=[on] @dccl=[on] -@nsslog=[off] @togaway=[off] @savefile=[.a.save] @fsavefile=[.a.fsave] @@ -146,12 +144,13 @@ @_pubnick=N @_tsop=[off] @_tss=[on] -@_resp2=[dugewfe] -@_resp3=[wfeuowe] -@_resp4=[dfeefwz] +@_r2=[dugewfe] +@_r3=[efguowe] +@_r4=[fgsiuso] @_boxhead = [ $(hwht)Ú$(cl)Ä$cparse($(c1)Ä)$(cl)ÄÄÄÄÄ$cparse($(c1)ÄÄÄ)$cparse($(c2)ÄÄÄ)$cparse($(c1)Ä)$(cl)Ä$(hblk)Ä- - Ä -$(cl)] @_boxfoot = [ $cparse($(c1)À)$cparse($(c3)Ä)$(hblk)- ÄÄ -$(cl)] @_ubanself=[off] + ## default theme vars. @mform=[39] @smform=[52] @@ -185,6 +184,8 @@ @whofootform=[1] @nickform=[3] @_whois=[4] + +## default color and sbar color var. @c1 = [\\[0\;36m] @c2 = [\\[1\;36m] @c3 = [\\[0\;35m] @@ -196,20 +197,20 @@ @sc4=[\\[0\;34m] -^eval set QUIT_MESSAGE $tolower($J) - $randread($(loadpath)quit.reasons) -^eval $mkdir($(savepath)) - ##poor mans THUTTUP on file not found loader. ^on ^yell * # ##end poor mans THUTTUP. -^eval ^load $(savepath)$savefile -^eval ^load $(savepath)$csavefile +## load script files here. +^eval $mkdir($(savepath)) +^eval ^load $(savepath)$savefile +^eval ^load $(savepath)$csavefile ^eval ^load $(savepath)$fsavefile ^eval ^load $(savepath)$igsfile ^eval ^load $(modfile) ^eval set banner $banner +## timestamps. alias _timestampsome { if (_tss==[on]) { @_timess=[Z] @@ -232,7 +233,9 @@ ^set output_rewrite $$_paste($1-)$$1- } } +## end timestamp stuff. +## core loading stuff. alias fixterm { exec echo '$chr(27)\(U' xecho -r $chr(27)\(U @@ -245,10 +248,8 @@ ^eval set input_prompt $$(hblk)[$$cparse($(c1)$[20]repeat($adf þ))$$(hblk)] [$$(cl)$(percent)$$(hwht)%$$(hblk)] } - oof - alias _coreload { fe ($glob($(loadpath)core\/*.m)) mod { if ( mod != [$(loadpath)core/compat.m]) { @@ -257,6 +258,7 @@ } } +## startup default mods. ^_coreload alias _moddefload { @mods.1=[abot] @@ -280,13 +282,13 @@ _moddefload } - oof +## core loadup or quits client here. alias _loadup { ^load $(loadpath)ans/amc.load wait - _center $(hblk)..\($(cl)$a.ver$(hblk)/$(cl)$a.rel$(hblk)\)$(cl) for $(hwht)$(J)$(cl)[$info(i)] loaded$(hblk).. + _center $a.ver/$a.rel for $(J)[$info(i)] loaded... if(epicver == [epic4] && V < 20040819){ //quit wrong epic version, try the latest version of epic4. } if (V < 20050315 ){ @@ -307,13 +309,14 @@ ^_timestampsome ^_loadup ^eval ^load $(savepath)$fsetsavefile +^eval set QUIT_MESSAGE $tolower($J) - $randread($(loadpath)quit.reasons) eval ^qsbar $after(. $statbar) if (_winnames(Operview) > 0) { ^set status_format $(hblk)[$(sc1)operview$(hblk)] $(cl)%>$(hblk)\([$(cl)$servername($winserv(OperView))$(hblk)]\) } -::umode hook +## umode hook on -connect * { _orb.relag @@ -328,4 +331,3 @@ @_pubnick=N } } -^on ^EXEC_EXIT "0 0 0" # diff -aruN amn.orig/core/config.m amn/core/config.m --- amn.orig/core/config.m Tue Aug 30 04:07:18 2005 +++ amn/core/config.m Wed Aug 31 09:53:37 2005 @@ -119,23 +119,34 @@ } -alias _resp2 { +alias _r2 { if (![$0]) { - xecho -v [a+c] 2nd auto-response set to "$_resp2" + xecho -v [a+c] 2nd auto-response set to "$_r2" }{ xecho -v [a+c] 2nd auto-response set to "$*" - @_resp2=[$*] + @_r2=[$*] } } -alias _resp3 { + +alias _r3 { if (![$0]) { - xecho -v [a+c] 3rd auto-response set to "$_resp2" + xecho -v [a+c] 3rd auto-response set to "$_r3" }{ xecho -v [a+c] 3rd auto-response set to "$*" - @_resp3=[$*] + @_r3=[$*] } } +alias _r4 { + if (![$0]) { + xecho -v [a+c] 4th auto-response set to "$_r4" + }{ + xecho -v [a+c] 4th auto-response set to "$*" + @_r4=[$*] + } +} + ## put new additional auto-response aliases here for now. -alias resp2 _resp2 $* -alias resp3 _resp3 $* +alias resp2 _r2 $* +alias resp3 _r3 $* +alias resp4 _r4 $* diff -aruN amn.orig/core/modeshow.m amn/core/modeshow.m --- amn.orig/core/modeshow.m Wed Aug 31 07:29:15 2005 +++ amn/core/modeshow.m Wed Aug 31 09:43:29 2005 @@ -24,13 +24,13 @@ if (match($_pubnick* $2-) > 0) { @thenick=[$(hwht)$0$(cl)] } - if (match($_resp2* $2-) > 0) { + if (match($_r2* $2-) > 0) { @thenick=[$(hwht)$0$(cl)] } - if (match($_resp3* $2-) > 0) { + if (match($_r3* $2-) > 0) { @thenick=[$(hwht)$0$(cl)] } - if (match($_resp4* $2-) > 0) { + if (match($_r4* $2-) > 0) { @thenick=[$(hwht)$0$(cl)] } if (winchan($0)==-1 || winchan($winchan($1)) != [$1] ) { diff -aruN amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Wed Aug 31 07:46:48 2005 +++ amn/core/save.m Wed Aug 31 09:54:18 2005 @@ -46,10 +46,10 @@ @write($savemt @_tss = [$_tss]) @write($savemt @_ovsize = [$_ovsize]) @write($savemt @_ovmode = [$_ovmode]) - @write($savemt @_ubanself = [$_ubanself]) - @write($savemt @_resp2 = [$_resp2]) - @write($savemt @_resp3 = [$_resp3]) - @write($savemt @_resp4 = [$_resp4]) + @write($savemt @_ubanself = [$_ubanself]) + @write($savemt @_r2 = [$_r2]) + @write($savemt @_r3 = [$_r3]) + @write($savemt @_r4 = [$_r4]) @close($savemt) xecho -v [a+c] (core).. settings saved to $savefile } Date: Thu, 1 Sep 2005 08:26:55 -0400 (EDT) From: zak@ircii.org (Zak) -fix up some aliases in usermod.m and a fair amount of documentation updates. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Wed Dec 31 19:00:00 1969 +++ amn/CHANGES Thu Sep 1 08:03:41 2005 @@ -0,0 +1,187 @@ +Changes since Amnesiac-1.0a-cvs14 + +8/7/05 +-fix a window alias. and remove window name amnesiac on startup. //zak +-sync version to reality. //zak +-update TODO-BUGS //zak +-update E5-KNOWNBUGS doc's from -HEAD. + +8/8/05 +-added a new /format for nickname changes. Check /format u. + Made by violence, thanks! //kreca +-possibly fixed the ignore save... oops //zak +-some comment changes and documentation update somewhat. //zak +-fix sbar num 11 to output proper format ops/non/voice it was using + vars i have no idea where they came from set it the way my script works + status_users2 = chops aka %2 users3 = nonops aka %3 and %4 = voice + remember this in the future should any of you guys do sbar formats. //zak +-fix a couple of stupid forgotten usages of ADDING $* for some aliases + noticed by violence.... who missed this? and how/why? kreca??. + +8/9/05 +-update E5-KNOWNBUGS documentation. +-add a new whois format #6 based off default scrollz whois format which i've + been wanting for quite some time, which violence did for me, thanks a lot!. + //zak +-the last of some-commands.txt removed since most of it is now all + documented in the new menuish help system /ehelp. + +8/13/05 +-rewrite dict module. Fixed the output, looks a lot better now and it'll +work fine with epic5. //kreca +-turn off the annoying notify_on_termination per default. //zak +-add a lusers.m patch/hack which still needs works on done //skullY. +-move the topicwin module to pasture, until kreca does something about it. + too many complaints. it's a hack it's ugly. maybe it'll be fixed later + maybe it won't bug him if you want it fix ;p //zak +-fix /config to work with the new_math_nicely_documented bullshit help + from kreca. //zak +-fix amn.epic to update for new_math_bullshit //zak +-fix all the formats.m to work with new math. //zak +-release final snapshot for testing hopefully now we can get rid of + that damn poison. //zak +-add a new statbar which works well with window double on/off and does not + use any form of /sbcolor so colors cannot be changed this way!, merged from + enigma a lot of ppl liked this statbar in the past i thought it's something + i should port over to amnesiac enjoy. //zak +-add colours documents for ppl to know the color codes //zak +-fix up /wq which was broken for quite some time like over 2 months and + kreca whines about it a lot so i thought i'd fix it for him it's real hard + too ;( //zak + +-8/14/05 +finally made the dumb users knock attempts go into the channel that the +attempt was requested to, instead of spamming my other windows with the +useless shit it's said in public it looks something like this in the chan +the knock was request in you do not need to have that window active. +it'll do it 'automagically' for you. +[snapshot] +*** irc.umich.edu xcrapple!zak@ninja.alienz.net +with the knock with bold brackets and servername is in hred. //zak +-update snapver so i know what ppl are using. //zak +-make /me in dcc chats output to the correct window. Now it'll be easier +to igno^H^H^H^H understand what zak tells me in our chat sessions //kreca +-make knock output look even nicer ;p! //kreca + +-8/16/05 +-silence the annoying 'window not found' requested by adam even i find this + kinda annoying //zak. +-sync the TODO-BUGS to reality updating some knownbugs. mainly in snapshot. + ie; new /query /me stuff. //zak + +-8/20/05 +-change the dcc on hooks somewhat and make a bit more sense on connect/lost + closed etc.. please test the new /dcc chat /send etc.. formats and report + any problems or ok to me thanks. must do rm -rf ~/.amn/.a.fsetsave before + dumping/loading. requested by Alien88 //zak +-update UPGRADE document. //zak +-update E5-KNOWNBUGS epic5-0.0.6 users please read this!. //zak + +-8/26/05 +-revert out old cvs changes. //zak +-update docs to reality. //zak +-properly comment some code using ## instead of the old :: which has some + interesting issues in epic5. //zak +-remove 2 emopart-reasons to make kreca kinda 'happy' //zak + +8/29/05 +-add additional response as per grimzy's request users can now choose up to + 3 auto-response when your nick/saying shows up in bold. ie; /resp someword + /resp2 anotherword /resp3 anotherword and those 3 words will highlight when + said at this time /resp2 and /resp3 is not /saved per default. //zak +-sync snapver. //zak +-revert out kreca's dccme/me window correction stuff to go back to old + behavior for now until the bug is fixed. moved to pasture/ //zak +-properly comment some stuff with ## instead of :: //zak +-sync package with subpackage with files i've edited. //zak +-clean up a bunch of cruft, arrange fsets.m a bit nicer //zak +-fix up subpackages of statbars which might be causing some confusion //zak +-fix /kickban yes it works again only with it's $kickreasons. so it's + /kickban nick not /kickban nick somereason. must use randreason at this + time. +-add bantypes to /config /settings +-set def randomcrap of resp2/resp3 so not everything highlights. //zak +-add /wflush alias, this is for later versions of epic5-0.0.6cvs+ + to flush out the lastlog/scrollback in current window. //zak +-add /ip6ban and /ip4ban aliases. //zak +-move things from config.m to their respective modules like it should have + been done a long time ago. //zak +-add /modeshow and /showmodes aliases to go with /extpub. +-add dcc-attempts/logging into away again. and add into /config //zak +-add operview options in settings/config. //zak +-modify some things/rewording of orignick. //zak +-sync version to a pre-release as i want to finish up some other things + before i release this out the door, this should be considered pretty stable + now compared to the previous snapshots //zak +-modified /uptime to be a bit eliter, with some functional idea's from + fudd's darkstar script. //zak +-change some fset formatting outputs for the better some less ansi, some + a bit more verbose/informative. //zak ie /topic /not. and /c +-add a /unkey alias. //zak +-couple additions into kick.reasons //zak +-readd kreca's action.dcc/me fixes again with some slight mods + MAYBE it will fix the misdirected /me's this time. //zak +-move the old action.m into pasture. //zak +-fixed a really stupid incomplete mode array found by adam. thanks! //zak +-removed a bunch of broken arrays in publics public_send public_others + there's about 20+ formats removed in some of them, please make sure you + guys update your themes in case those formats you used before did not + exist, and of course some things will probablly cross react with what + you had as a format before as those things are renumbered. //zak +-added some new public formats and msg formats while playing around in + the arrays, and 3 new away formats. //zak +-add a couple more arrays and fix up a couple.. //zak +-no reproducing of the /me bug thus far. //zak +-update my theme nocturnal //zak +-made a bitchx like theme 'bitchx' //zak +-minor query problem with statbar3 disabled it on second-stat //zak. +-update the UPGRADE document. //zak +-make delword in the bwk module accept numeric argument +-update the TODO-BUGS documents a lot, looks like we're starting to + get somewhere! //zak +-shorten up the /supt alias and a bit more verbose and allow for output + to any active window. +-add another scan.fix alias for possible future usage of colorized scans. + //zak +-sync E5-KNOWNBUGS document from -HEAD //zak +-add new windowing binds and some windowing functions to make adam happy + home/end should work on weird terminals now. //zak +-cleanups to /tig and /ignore. Bounds checking and sorted output //kreca +-refix adam's bindings. //zak +-remove adam's bindings. //zak +-add adam to the greets/credits. +-fix public notice form theme/save/startup settings and an odd mutilation + in save.m remove some stupid indentings in theme.m while i was in there + as well. and /resp2 /resp3 /resp4 are now saved. //zak +-remove 4-5 themes i lost count. don't care. //zak + ^^ still more to come i'm sure. we have too many. +-removed /mme and mme.m, no it's not going in pasture it's DEAD!. //zak +-update all themes default versions to be a little less verbose per + default!. //zak +-change our version ways to be more realistic. //zak +-change /sv formats not to use $uname $client_info and a bit better + output. //zak +-update my theme again(nocturnal) //zak +-updated TODO-BUGS a bit more to my liking. //zak +-organize/comment amn.epic a bit better and remove the stupid fparse + on startup. //zak +-correctly fix/save/make the /resp2 /resp3 /resp4 the right way this + time. sorry if i caused any problems!. //zak + +9.1.05 +-fix up some userlist module aliases noticed by adam. thanks! //zak +-remove the old_math stuff in amn.epic i think we're 100% new_math + compatable now yay! +-THIS TIME UPDATE THE PATCHLEVEL SO XAVIER DOESN'T REPORT IT AS A BUG! + +/* -move the changelog file to docs dir as CHANGES.old as this is getting + too FAT for ppl to track changes and change how we do ChangeLog + documentation. +-move UPGRADE to docs as UPGRADE.old +-update the new UPGRADE file to reality/simplification. +-CHANGES - changes since last release. +-docs/CHANGES.old - old changelog reformatted a bit won't be updated anymore +just there fore informative purposes. +-docs/CHANGES.rel - past changes, after release. (nothing in here yet) +-docs/UPGRADE.old - not updated anymore just there for informative purposes +-UPGRADE - synced to reality. */ //zak diff -aruN amn.orig/ChangeLog amn/ChangeLog --- amn.orig/ChangeLog Wed Aug 31 09:57:10 2005 +++ amn/ChangeLog Wed Dec 31 19:00:00 1969 @@ -1,723 +0,0 @@ -05/2/05 --prelimary release of amnesiac finally basically forked away from - oblivion, amnesiac had originally started as oblivion as a base, but - it has however moved away from it a lot, you may notice some similarities - and differences. thanks void for helping me learn enough about epic scripting - and motivating me to do so over the years, that i decided it was time to - split away from oblivion and start doing things the way i'd like it ;). - --kickban is currently broken. will fix it someday. use bankick most people - use this anyways. --anyone want to do up an ereet startup cosmetic for me? ;D --added criminals theme so he can stop crying everytime i release a new - version ;D named (amnesiac) for lack of a word at this time. --report any bugs to me please ;). --release of preliminary release amnesiac1.0a-cvs1. - -05/3/05 --fixed up statbar cosmetics thanks to krimson... --cleaned up more theme unused vars... --increased the msgflood sensor to 16. (we need to take a vote on if - we should keep it or remove it) anyone? --dns is always used i have decided to merge it into the core, it's no - longer a module. --fixed up some timestamping/echo's in aways. --added timestamp to quit/modechanges/some other's i forget. and fix echo's - i.e when timestamp is on, it disable format echo for some formats, when - it is disabled, echo's comes on, it's annoying sometimes for some format's - having echo on while using timestamp i.e -[09:05] [mode(#amnesiac)] [kreca(+o)] --now -[09:05] *** [mode(#amnesiac)] [kreca(+o)] --before -*** [mode(#amnesiac)] [kreca(+o)] --without timestamps. --removed the mp3 module, it is now in /pasture for anyone who (cares) --timestamp all has been removed from /config option, but it's still - there for those who wants it. (most just use common timestamps) i.e; - msg's,signoffs,dcc,notice,wall etc... --oops messed up package names on the unbanself protection it's renamed - to sprot. --fixed up the themes purged the removal of nonexistent awayforms and - kickforms which has been long long gone. yay!. --fixed default awaymsg reason again, accidentally removed some code. --fixed a tyop in the install file thanks to msoul. --fixed a few more tyop's in the README file after motivation to check - my spelling after msoul mentioned the above. thanks!. --oops forgot to merge the edit_topic script from the epic5 source tree - into the core, mainly since not everyone installs epic globally, it's - to keep amnesiac more/less in sync with a stock epic not installed - globally. function was done/merged in by kreca a few months ago. --release of amnesiac1.0a-cvs2. - --05/3/05 --fixed bankick and kick to work more properly, you can now make a - kickreasons, specified in your $(loadpath)kick.reasons since i have - removed the old config usage of a default kick reason which was bloating - up my config and hurting my image ;) help from kreca. --autobot can now use alphanumeric chars for the op command! thanks to kreca. --added timestamps to the end of on joins and on parts requested by many. --fixed the on part hook. --made a far better part alias which you can specify your drama on part i.e - partreasons (/part you guys are big mean poo poo heads) thanks to skullY - for this wonderful invention for improving the lives of us hardcore ircers. --added some new aliases for efnet's accept command the list of them here are -.. -alias accept { quote accept $*} -alias cid accept $* -alias rmcid { quote accept -$*} -alias acceptlist { quote accept * } -alias cidlist acceptlist -alias rmaccept rmcid $* -alias acceptdel rmcid $* -^^should be self explanatory. --the new msg flood command has been reworked to the way i have originally - wanted it for a long time, it is disabled per default.... the difference - in the way the new msg flood system works it set's you umode +g which - is server side ignore, and will only work on networks like efnet, or - any others that supports usermode ignore of +g. - do /mflood to set the sensor in lines. - and /mftime to configure how many seconds to remove it ie umode -g - or use mftime - to disable removing the umode until it's done manually. - same with /mflood - to disable it again. --updated kick.reasons and quit.reasons file..... --release amnesiac1.0a-cvs3.tgz - -05/12/05 --rewrite addset a bit thanks to xavier (solves a lot of builtin problems) --modularize the mflood protection...aka +g with a few annoying glitch fixes --modularize the nickcomplete symbol, most people find bold/etc/and so on - annoying so if you want nickcomplete format's /addmod ncomp --mflood modularized as flood. --fix a few tyop's in modules... --cleanup of kick.reasons a tad. --add blackjak's original addset as oldset as it's needed for scripted - on's/hooks. --sendline and or /s(tab) more completion to include builtins and aliases - and another annoying shit some may or may not like it we'll see how many - complaints i get about this it had to be done to make ncomp modular and - to make kreca stop crying like a big sissy he is sometimes! --rewrite new /config/settings cosmetics i hated the old ugly way. --release amnesiac1.0a-cvs4.tgz - -05/12/05 --added a /latin1 and /ibm437 alias to basically remap termcodes the latin1 - was added for the request of violence and kreca basically now eurotrash's - can start liking this script as well, however the eurotrash's have yet to - make me an ansiless theme ;(((( --added a true ansiless whois, varient #4 /format 1 4 to use it. --updated the whois echo format's so people know there is more than - 1 whois format. /format 1 for the list. - -5/18/05 --changed the dirs to default untar into ~/amn instead of the old amnesiac - and loadfile to amn.epic (shorten it up some) --fixed /config (letter) option aliases in core.m i.e /stamp to turn/off - timestamps now go to correct letter for settings fixed others as well - oops. --modify mod.m somewhat. still need to do something about the ugly output. --modify themes especially epic to use the ansiless whois format - and nocturnal to switch to my usual whois format being #3. - -5/20/05 --more cleanup/format changes. yes i'm purging out most of the ugly - default ansi in almost every crappy xecho. if you guys hate the direction - this script is headed, go use BitchX or back to oblivion or something. --get rid of the annoying spaceing in the output_rewrite now numerous people - should be happy especially violence!. --modify on input "*" for history *cough* --update some documentations. --update kick.reasons --synch to webservers. --release amnesiac1.0a-cvs5 - -5/21/05 --disable/cloak the following ctcp types per default if you wish - to actually have use for one enabled edit core/hooks.m and remove - the on raw_irc "% privmsg *inger*" for example to renable ctcp finger - one you client. disabled per default are ctcp finger/clientinfo/sound/echo --add auto-reconnect hook (experimental) it requires that the auto_reconnect - setting to be enabled. seems to work from few of the testing i have done - with it. warning tho it'll continue trying until you stop it so make sure - you have some servers in the serverlist so you don't get banned. --disable auto-reconnect per default (one should enable it once they have - connected to an irc server and have a few servers in their serverlist) - to avoid flooding. - -5/25/05 --rewrite the listmod/module output finally! another ansiless pos output - gone! done by kreca thanks a bunch!, --config.ans was rewritten by kreca as well much cleaner read, thanks! --cleanup fkey's cosmetics and /format cosmetics (purge them of polluted - ansi.) --purge uptime of some nonessential crap, while purging it of ansi crap as - well. --redo modules a bit/putting them all into individual directories with their - own configs. thanks to kreca. --some options will only show up in /config when the module is actually - loaded, still more work to do in progress. --move some proper aliases to their respective modules to prevent people from - getting confused about why/or why not a command exists but doesn't work. - plus less bloat/loaded aliases/crap on modules which are not loaded. --remove pager.m/moved some of the aliases in with the away module since - that's the only time it's really even used anyways, if that. --move operview aliases/config sets from config.m into the opermodules. --added notify/signon logging, it is enabled per default, i will probably - add an option in the next release to have notify cacheing on/off - /ncache or /nread to read the notify logging file /rnlog to remove the - notify file or /rmnlog. (does not tell which server the person signed on at - this time) this was requested by various people. and it does not log - signoffs at this time, if you do not like this behavior use the notify.m - from amn/pasture and /adump. provided you have a ~/.epicrc. --fixed amnesiac theme by criminal this time (hopefully) --removed away timeaway/notice to users permanently i can't stand this static - this should make a lot of people happy when they set away, without users - bitching about them having all the annoying crap being sent to them. --release amnesiac 1.0a-cvs6 - --5/28/05 -//zwhite@darkstar.frop.org (skullY) --Added format_scan_width for scan formats. This lets you tweak the width - based on how much extra cruft you add to each nick. --Added new theme, epic-orig, which looks pretty much like epic4 does out of - the box. Had to add a bunch of new formats for this. --Removed core/who.m and integrated it into core/fset.m and core/format.m. - We can net define and set various who formats. --Fixed a bunch of formats that were formatted wrong. Mostly those used by - the epic theme. --Added a new version format to spoof default epic4 and epic5 clients. --Added new epic-orig module, for redefining commands and bindings to what - they were in epic4 with netsplit and tc loaded. TODO: Make tab behave - exactly like it does in tc. --Added better description to themes/epic.th. --Added waitop command, to only autoop someone if they aren't already oped --Various formatting cleanups --Probably just fixed rn which was a broken c&p job. I have no idea what it - was so it may be broke still. --add a /faol/smail alias to make 'you have mail shuttup' but still updates - mailstats. --disable extended publics the <@whiny_bitch> this thing annoys me... - per default. - -6/3/05 --added undernet xy/services command module to simplify some commands for - users on undernet. naturally the module is 'xy' without quotes ;p --renamed skullY's theme/module epic-orig to vanilla. --clean up core/save.m a bit from leftover cruft. --fix up modules/add skullys vanilla theme to an actual module hook. --finally added better customizations of exempt/invite lists aka +e/+I modes. - and some aliases to go with it. /ui to purge the user invite list in - current channel /ue to purge the user exempt list in current channel - /iadd/idel /eadd /edel also added /i and /e now only parses the output - of the current list in the channel. and thanks to a minor help by a super - hacker with the nick for warchest for using the elite supermirc on getting - some server numerics for me to get the proper hooks to be able to complete - this stuff i have been procrastinating on doing for so long!. --more ansipurge in theme.m while fixed up some tyop's while i was in there. --clean up more config stuff to their respective modules like _unbanself. --added netsplit from epic5/scripts - should make skullY/others happy. - 'as a module' - note: join formats are altered when using this module. - old netsplit module moved to /pasture. --cleaned up core/windowhelp.m and fixed some tyop's while in there. --fixed up tabkey for /dcc send somelamer filename thanks to kreca! --fixed up the loading of sfsets again!, thanks kreca! --cleaned up save.m a bit thanks to kreca and he fixed formats.m while - in there as well. wow, 3 things in a row, don't expect any more commits - from him for at least 4 months now ;(((((. --one last change kreca made just before going to sleep, remove duplicate - loads in the bwk module, thanks!. --remove the shitlist/userlist/bwk modules from loading per default - not a lot of ppl use these modules i think as i rarely ever hear feedback - and or bugs about them just /addmod shitlist or shitlist bwk shall - you want to use the modules and /save. --slight changes in the away format no longer have "is away:" it's now - away: (reason) --changes of some of the startup formats, and statbar/whois. --add a new scan^names and fixed up /scan #3 ie. format t 3. /format t 3 - now show's all the available scan formats. and fixed up scan.3 while - cleaning up in the area. new scans are 5/6 --add the verbose_ctcp stuff from builtins (untested) --pretty much changed the default layout to not be as colorful sorry guys - just load your theme or something k? --release amnesiac-1.0a-cvs7 - --overhauled majorly of oper.m module thanks to Alien88 giving me the -motivation to do so, and skullY for an O;COOKIE, and cleaned up the -server connect parsing too while at it, yay more ansi shit gone!. --also added... from blackjac's script.. not sure which one. -This will allow you to toggle between hidden windows 1 through 20 -more easily. Press Esc+1 to toggle between windows 1 and 11, Esc+2 for -win-dows 2 and 12, etc., up through Esc+0 for windows 10 and 20. --some oper stuff for Alien88. --added another who format for Alien88 /format 2 3. --array cleanups by skullY --fsets by skullY. --GODDAMMIT i fucked up just before almost passing out as of right now. - well skullY kinda did too!, remember folks next time you guys want shit - going into 'operview' 'snotices' do not be using xecho -v or -w! - KTHX!. sorry about this mikey!. - fixed now. --release amnesiac-1.0a-cvs7p1 (major fixes might as well get it out the - door! ie. oper.mod finally semi up to date thanks to Alien88.) - --fixed the netsplit.m fucking up sync.m and when using abot and such - make sure with both modules netsplit.m and abot.m it actually reforces - a load of things in the array from $(loadpath)/core/sync.m also possibly - may have fixed up core/mod.m or fucked it up will find out soon!. --fixed the on join formats when netsplit.m is loaded and or unloaded. --release amnesiac1.0a-cvs7p2 - --fix up binds.m a bit by kreca. --clean up the new window toggling wit esc by kreca. --silence the you have mail crap per default now. --for some reason chanmode when /c was silenced. stop silencing it. - numeric 324. --skullY made oper.m much better for operview, to determine which type - of kills were activated etc... --fixed links output forgot a $* (thanks to Alien88 for reporting) --fix the whois-actual and added another numeric for whois-login(undernet) - should make mikey happy!. --fixed the $desc in loading of themes. --fixed the vanilla theme to show as vanilla not epic-orig. (for skullY) --fixed aligning of whois's while in there as well so all whois formats - should be a-ok. --remove clones module per default. /addmod clones if you want this. --strip the last minute dcc urlencode crap, sorry mirc/irssi users! use a - real client!. --release amnesiac1.0a-cvs8. (getting close to a release now) - -6/10/05 - --update various documentations including the TODO list. --update website a bit while cleaning up around my www dir. --clean up more ansified crappy banners (think i got most now!) --fixed up help file some (finally) --fix up startup window double on for default sbar[11] --change mod.m around a bit, no longer print that valid modules per - default when doing /modules /lmod etc.. now do /vmod /smod to see - the valid module lists. --some alias changes in window.m listed below... - alias wka wkh - alias wkh {window kill_all_hidden} - alias wko {window kill_others} --touch up window.m formatting while in there and updated some commands. --make most of the first time startup warnings THUTTUP. - -6/21/05 --tabkey now includes completion for /me hugs cr requested by Alien88 - done by kreca. --touch up some of the dcc hooks a bit (chat mainly) --add a /pbwk /kbwk alias to rm/purge the bwk file. --fix up bwk so when kickops = on it'll kick ops as well done by kreca. --fix up /lusers to parse the unknown and max-client/connections should make - various people happy. - -6/26/05 --removed more files from pasture/ --release amnesiac1.0a-cvs9 - -7/4/05 --cleanup of unused junk in statbars and fixed up some starbars while - in the general area. --update some of the documentations for new e-mail addy's and webpage. --move the todo list to ~/amn instead of ~/amn/doc which kreca found - annoying cause he's a really slow typer and going into another directory - to modify the todo file is just too hard on him. - -7/9/05 --redo the help system since not all commands are always loaded and /ahelp -is so bloated per default bleh split the help up into individual modules -/ehelp for the extended help on what goes where for the modules, so -hopefully /ehelp will help with some confusion in the help system. -/ahelp does still exist and will always exist it's just time to shrink it -like uhh seriously, do you guys like 40+ lines of scroll spewing on the -screen and you do /ahelp somecommand and /somecommand doesn't exist because -the module for the said command doesn't exist, it's just annoying totally -annoying!. - --clean up the banners better in userlist finally getting somewhere i like!. --fix up outputting of shitlist to be far better and stripped ansi parses - while in there, now it at least has a better output on what is what before - it just outputed shitlist users/chans/level/reason but didn't give a real - valid description of what all the stuff that was being outputed meant. this - should be a big bonus in cleaning up more confusion with shitlist. -ie. before. -1 *!test@test.com #test 3 fuck -2 *!some@some.long.hos #test1,#test2,#test 3 plur, faggot. -now it's adjusted to have a topbanner of values i.e new way. -[num] [shithost ] [shitchan [lev] [reason ] -[1] *!test@test.com #test 3 fuck -[2] *!some@some.long.hos #test1,#test2,#test 3 plur, faggot. --added a /aehelp command, which is something in the works for some basic - quick list of commands on option you chose. - -7/22/05 --make /verk kick ops if /kickops is enabled. --make /sv say the real information instead of depening on the current theme --now amnesiac supports both epic4 and epic5, load compat code based on version -information //kreca --updated docs to explain should work for both epic4/5 however it has not -been tested thoroughly with epic4 yet, feedbacks are appreciated. --bravely release not really a alpha/beta but more/less gamma -version of amnesiac. amnesiac1.0a-cvs10g - -7/23/05 --modeshow now finally works to point at channel you are msging if you -happen to have multiple channels in the same window ie; /msg #chan2 hi -will show it as hi instead of the old annoying way -of hi was confusing on which channel you msg'd at times. -done by kreca (eurotrash can occasionally be useful at times) --make ^Z switch channel & switch query depending on what window -you're in //kreca --created the old what was /sv renamed to /svf which echo the format_sv -for ppl who likes to be annoying. //zak --i have spend a vast amount of time on this i really hope ppl really enjoy -this new feature to make it easier to manage efnet's invite and exempt lists -the following new things that have been added for exempts and invite -exempts these aliases should help you grab the basics of using it, most of -you are probably familier with /tban /tig etc.. when you can specify #'s -you wish to remove ie; /tban 4-8 to remove bans # 4-8 shown in the list. -same goes with the new invite and exempt alias, which the following -commands are /tinv /texp or /tpi /tpe which is the same as /tinv and /texp -you can purge the channels e-mode +e list with /ue or /pexp for +I list -purging /ui or /pinv. //zak --release amnesiac1.0a-cvs11g - --updated trent's new amnesiac theme (whois format change) //zak --added a /cat command which doesn't require the usage of exec. //zak --updated some missing functions needed for epic5 in compat.m from the - builtins src/epic5/scripts dir. //zak --added a /edump alias which is far better than the usual builtin /dump - however it's not always needed but it's useful for some of us (mainly - scripters the following types are... (alias array bind channel dcc - hook timer variable window) taken from the dump script in epic5/scripts - dir. by BlackJac. (alias added into compat.m) //zak --added the history script into compat.m so ppl do not have to worry - about making a ~/.epic or finding a history global script or for those - who are not too experienced with globals should make it easier. done by - BlackJac as well... taken from src/epic5/scripts/history. //zak --added /grep /egrep which is based off wd's grep in anduril, taken from - src/epic5/scripts dir, so now you can /grep pattern which uses your lastlog - and you can also specify window to grep ie; /grep -w //zak (untested) --modified the addset/oldset a bit i decided to add blackjac's original - addset back to addset instead of oldset to save confusion shall ppl load - some script in the future in the epic5 scripts dir and renamed my - customized former addset alias to xaddset. //zak --added the autonewnick stuff from src/epic5/scripts dir, also done by - Blackjac. for when used with epic5. merged to compat.m //zak --merged the log module which essentially only used for away logging, it's - pointless to have a away module which also requires the log module to work - efficiently, so one less module gone!. //zak --renamed the odcc module to adcc(will eventually work on this) *cough* //zak --update the UPGRADE docs a bit. --change the abecho/banner formats a bit for some things before when - configuring let's say operview it had [mod] (oper) something adjusted.. - now it just shows it as (oper) something adjusted, less spammy and - annoying. //zak --updated /ehelp documentation added a new entry of /smhelp which is - always available [core] the new entry has the latest cmd's for the special - modes and explanation/counterparts to do with chanmodes +e/+I exempts //zak --make ^X switch channel & switch query depending on what window - you're in //zak --release amnesiac1.0a-cvs12g (wow 2 releases in a day, sorta..) //zak - -7/25/05 --update the country alias to return Unknown for unkown hosts, to make -/whois output look better on people with spoofs. //kreca --update KNOWNBUGS regarding window level. //zak --update the epic5 aka E5-UPDATES and E5-KNOWNBUGS in amn/docs dir. //zak --Change cvs letter (gs) for snapshot/testing. //zak --added hold_mode script into compat.m //zak --remove grep/egrep just too buggy might work on something like it in the - future //zak - -7/27/05 --removed edump if one wants it just /load dump from the epic5 base/scripts - directory, it's just too brutal for us to have use and clutters code - at this time. --add a reject hook for dcc chat requests(don't know why i didn't add this - earlier all i needed to do was add another bind sheesh), so alt-T to accept - a dcc chat request and alt-R to reject dcc chat request. --added a theme for msoul, 'souly' should also be ok for users on shitty - default rxvt terminal fonts. - -7/29/05 --center the format_scan_usernum on scan #2 (to the best theoretical - possibility) requested by krimson. - -7/30/05 --clean up alias.m removing a couple of usages of ansified usage; --change the /bantype to not say oblivion, how do we/you/anyone miss this??? --remove some cluttered up aliases with multiple bindings to other aliases - that ppl probably don't even use ie; /eadd /edel /iadd etc... and stupid - useless ones like /4dv, and fix up the documented code a - bit/organize. //zak --add a 'coloUr' alias to go with colOr and we all know it's spelled colour - not color right? ;D modified(color.m) //zak --^^same for sbcolour modified(sbcolor.m) //zak --cleanup more ansified crap in themes.m and documented some minor things - while in there. //zak --merge sping.m into lag.m and remove sping it's pointless for 2 small - aliases in 2 diff files. //zak --test the whoform.load append in the updates.m file, hopefully this will - fix some issues with the usage of /who not showing up right. //zak --clean up some ugly crap in the fakeversion shit, and remove some, while - adding 2 new version formatting which might be more suitable - for some, also cleanup of arrays.m while in there somewhat //zak --clean up fkeys.m to do more/less proper @ bindctl now, i am unsure if - more need's to be done here as i really don't have the time to test. - however the do.fkey alias does seem like the reasonable place to have - it set as the other's just modifies it on the command lines directly. - will need to look into this more in the future. //zak. --rename the KNOWNBUGS file to NOTES about some script issues not really a - bug and not really a script issue just to be documented. //zak --rename the TODO to TODO-BUGS which lists both TODO/BUGS list. and update - documents while in both files including todo/bugs. //zak --update the UPGRADE doc for 13g(s) snapshot/release. //zak --fixed the relay module up so nicely that kreca couldn't comprehend doing - such a nice task!, and hell tossed out most of his 600lines of 'code' - and it does more now than it used to! ;((((, so now /relm /paste/ relsm - /relw can be outputted to an active window as long as there's a query - or channel dcc chat opend in that window. bye bye /pmsg /pquery aka - /fuckclient.. //zak --removed the attack theme(broken) //zak --removed statbar #13 which was ugly from my old scrollz script. - and broken. now it's replaced with skully's vanilla statbar. #13. //zak --update the ahelp file to reflect changes on /relm/relsm/paste/relw etc.. - while removing some. --update greetz(eater,grimzy) add /about alias with a notice upon startup. - //zak --remove mass.m from pasture. //zak --release amnesiac1.0a-cvs13g --ack the fkeys.m did actually break back out changes and re-release //zak - -8/2/05 --remove the usermods-commands.txt from documents it's not needed anymore - with the new improved help /ehelp when the module is - loaded just run /uhelp //zak --remove the E5-UPDATES txtfile, not needed since script has both epic4/5 - support but i will keep the E5-KNOWNBUGS updated as i see fit. - this should shrink the scriptsize a bit. //zak --updated some info in the UNTESTED documents mainly about the topwin module - issues. //zak --fix a simple tyop in oper.m module //zak --fixed up the alias in stat13 which used to be 14 ewps //zak --update TODO-BUGS doc regarding unbanself/sprot module //zak --modify amn.epic to reflect version as a snapshot. --modify clones module to remove the /banclones /killclones it's pointless - and the way all the vhosts goes these days it's surely going to cause - some problems. learn to use /trickle /filter which is aliased to /trickle - will probably make some aliases in the future to use the /trickle alias. - to simplify things up. //zak --modify version.m to allow for interoperability between channel/msg/dcc - when doing /sv and or /svf //zak --for some reason /+e/i -e/i aliases got mutilated. fixed.. //zak - -8/3/05 --to fix a stack overflow in country.m we now use two Karll's arrays to -store the entries //kreca --fix a startup error msg cause of the new_math, toss out the compatability -for old math yeah, now we're up to 'date' //zak --no need to use /wlevel none on startup anymore - - new_server_lastlog_level default set of NONE finally got this annoying - thing out of my way //zak --remove some uneeded compatability like old_math we can now use the new - math. --update the notes file to reflect reality. --update notes regarding terminfo in FreeBSD. --some minor country.m tyop's blame kreca. //zak --more cleanup of helpfiles with the new moduler help menu stuff... - new help menu /ohelp for operview/oper help, added list to /ehelp. //zak --fixed the country.m to show all country names thanks to skullY! //zak --added a new msg format for violence (a) 39 //zak --added 2 new oper commands for Alien88 /dline and /undline //zak --update /ohelp to reflect reality. //zak --add a bunch of new formats joins/msg/publics to help with latin1 charset - users //zak --change the default look a bit (better methinks) and formats. //zak --i beleive that we are getting very close to an official release since some - ppl has been requesting to put it on epicsol's page. i just want to make - sure everything is a-ok before doing so. //zak --renable the old_math until i have everything sorted out for the time being - //zak --add a new alias /emopart with uses emopart.reasons in $loadpath. --update TODO-BUGS. --add /ecycle(emocycle) /mon /moff which turns the new_math on/off in epic5 - ircII EPIC5-0.0.5 (Commit id: 1273) (Date of release: 20050420) and later. - makes it easier for the scripters to debug/update the script for the new - math. couple of short form emopart aliases /epart /dpart. //zak --adjust some settings on which should be set on epic4 and or epic5. and the - order. (amn.epic) //zak --adjust version to sync with reality. --modify emopart.reasons kick.reasons quits.reasons a bit to be a little less - LAME. //zak --more huge format in array changes, you guys may noticed timestamping on - join and parts are different than before. some help from violence and - skullY //zak --update my theme -nocturnal //zak --fix up statbar #12 to include query (hopefully it's enough room) //zak --release amnesiac1.0a-cvs14 - -8/7/05 --fix a window alias. and remove window name amnesiac on startup. //zak --sync version to reality. //zak --update TODO-BUGS //zak --update E5-KNOWNBUGS doc's from -HEAD. - -8/8/05 --added a new /format for nickname changes. Check /format u. - Made by violence, thanks! //kreca --possibly fixed the ignore save... oops //zak --some comment changes and documentation update somewhat. //zak --fix sbar num 11 to output proper format ops/non/voice it was using - vars i have no idea where they came from set it the way my script works - status_users2 = chops aka %2 users3 = nonops aka %3 and %4 = voice - remember this in the future should any of you guys do sbar formats. //zak --fix a couple of stupid forgotten usages of ADDING $* for some aliases - noticed by violence.... who missed this? and how/why? kreca??. - -8/9/05 --update E5-KNOWNBUGS documentation. --add a new whois format #6 based off default scrollz whois format which i've - been wanting for quite some time, which violence did for me, thanks a lot!. - //zak --the last of some-commands.txt removed since most of it is now all - documented in the new menuish help system /ehelp. - -8/13/05 --rewrite dict module. Fixed the output, looks a lot better now and it'll -work fine with epic5. //kreca --turn off the annoying notify_on_termination per default. //zak --add a lusers.m patch/hack which still needs works on done //skullY. --move the topicwin module to pasture, until kreca does something about it. - too many complaints. it's a hack it's ugly. maybe it'll be fixed later - maybe it won't bug him if you want it fix ;p //zak --fix /config to work with the new_math_nicely_documented bullshit help - from kreca. //zak --fix amn.epic to update for new_math_bullshit //zak --fix all the formats.m to work with new math. //zak --release final snapshot for testing hopefully now we can get rid of - that damn poison. //zak --add a new statbar which works well with window double on/off and does not - use any form of /sbcolor so colors cannot be changed this way!, merged from - enigma a lot of ppl liked this statbar in the past i thought it's something - i should port over to amnesiac enjoy. //zak --add colours documents for ppl to know the color codes //zak --fix up /wq which was broken for quite some time like over 2 months and - kreca whines about it a lot so i thought i'd fix it for him it's real hard - too ;( //zak - --8/14/05 -finally made the dumb users knock attempts go into the channel that the -attempt was requested to, instead of spamming my other windows with the -useless shit it's said in public it looks something like this in the chan -the knock was request in you do not need to have that window active. -it'll do it 'automagically' for you. -[snapshot] -*** irc.umich.edu xcrapple!zak@ninja.alienz.net -with the knock with bold brackets and servername is in hred. //zak --update snapver so i know what ppl are using. //zak --make /me in dcc chats output to the correct window. Now it'll be easier -to igno^H^H^H^H understand what zak tells me in our chat sessions //kreca --make knock output look even nicer ;p! //kreca - --8/16/05 --silence the annoying 'window not found' requested by adam even i find this - kinda annoying //zak. --sync the TODO-BUGS to reality updating some knownbugs. mainly in snapshot. - ie; new /query /me stuff. //zak - --8/20/05 --change the dcc on hooks somewhat and make a bit more sense on connect/lost - closed etc.. please test the new /dcc chat /send etc.. formats and report - any problems or ok to me thanks. must do rm -rf ~/.amn/.a.fsetsave before - dumping/loading. requested by Alien88 //zak --update UPGRADE document. //zak --update E5-KNOWNBUGS epic5-0.0.6 users please read this!. //zak - --8/26/05 --revert out old cvs changes. //zak --update docs to reality. //zak --properly comment some code using ## instead of the old :: which has some - interesting issues in epic5. //zak --remove 2 emopart-reasons to make kreca kinda 'happy' //zak - -8/29/05 --add additional response as per grimzy's request users can now choose up to - 3 auto-response when your nick/saying shows up in bold. ie; /resp someword - /resp2 anotherword /resp3 anotherword and those 3 words will highlight when - said at this time /resp2 and /resp3 is not /saved per default. //zak --sync snapver. //zak --revert out kreca's dccme/me window correction stuff to go back to old - behavior for now until the bug is fixed. moved to pasture/ //zak --properly comment some stuff with ## instead of :: //zak --sync package with subpackage with files i've edited. //zak --clean up a bunch of cruft, arrange fsets.m a bit nicer //zak --fix up subpackages of statbars which might be causing some confusion //zak --fix /kickban yes it works again only with it's $kickreasons. so it's - /kickban nick not /kickban nick somereason. must use randreason at this - time. --add bantypes to /config /settings --set def randomcrap of resp2/resp3 so not everything highlights. //zak --add /wflush alias, this is for later versions of epic5-0.0.6cvs+ - to flush out the lastlog/scrollback in current window. //zak --add /ip6ban and /ip4ban aliases. //zak --move things from config.m to their respective modules like it should have - been done a long time ago. //zak --add /modeshow and /showmodes aliases to go with /extpub. --add dcc-attempts/logging into away again. and add into /config //zak --add operview options in settings/config. //zak --modify some things/rewording of orignick. //zak --sync version to a pre-release as i want to finish up some other things - before i release this out the door, this should be considered pretty stable - now compared to the previous snapshots //zak --modified /uptime to be a bit eliter, with some functional idea's from - fudd's darkstar script. //zak --change some fset formatting outputs for the better some less ansi, some - a bit more verbose/informative. //zak ie /topic /not. and /c --add a /unkey alias. //zak --couple additions into kick.reasons //zak --readd kreca's action.dcc/me fixes again with some slight mods - MAYBE it will fix the misdirected /me's this time. //zak --move the old action.m into pasture. //zak --fixed a really stupid incomplete mode array found by adam. thanks! //zak --removed a bunch of broken arrays in publics public_send public_others - there's about 20+ formats removed in some of them, please make sure you - guys update your themes in case those formats you used before did not - exist, and of course some things will probablly cross react with what - you had as a format before as those things are renumbered. //zak --added some new public formats and msg formats while playing around in - the arrays, and 3 new away formats. //zak --add a couple more arrays and fix up a couple.. //zak --no reproducing of the /me bug thus far. //zak --update my theme nocturnal //zak --made a bitchx like theme 'bitchx' //zak --minor query problem with statbar3 disabled it on second-stat //zak. --update the UPGRADE document. //zak --make delword in the bwk module accept numeric argument --update the TODO-BUGS documents a lot, looks like we're starting to - get somewhere! //zak --shorten up the /supt alias and a bit more verbose and allow for output - to any active window. --add another scan.fix alias for possible future usage of colorized scans. - //zak --sync E5-KNOWNBUGS document from -HEAD //zak --add new windowing binds and some windowing functions to make adam happy - home/end should work on weird terminals now. //zak --cleanups to /tig and /ignore. Bounds checking and sorted output //kreca --refix adam's bindings. //zak --remove adam's bindings. //zak --add adam to the greets/credits. --fix public notice form theme/save/startup settings and an odd mutilation - in save.m remove some stupid indentings in theme.m while i was in there - as well. and /resp2 /resp3 /resp4 are now saved. //zak --remove 4-5 themes i lost count. don't care. //zak - ^^ still more to come i'm sure. we have too many. --removed /mme and mme.m, no it's not going in pasture it's DEAD!. //zak --update all themes default versions to be a little less verbose per - default!. //zak --change our version ways to be more realistic. //zak --change /sv formats not to use $uname $client_info and a bit better - output. //zak --update my theme again(nocturnal) //zak --updated TODO-BUGS a bit more to my liking. //zak --organize/comment amn.epic a bit better and remove the stupid fparse - on startup. //zak --correctly fix/save/make the /resp2 /resp3 /resp4 the right way this - time. sorry if i caused any problems!. //zak diff -aruN amn.orig/INSTALL amn/INSTALL --- amn.orig/INSTALL Sat Jul 23 09:46:05 2005 +++ amn/INSTALL Thu Sep 1 08:20:11 2005 @@ -13,7 +13,7 @@ for the time being i would recommend epic5, but feedbacks would be appreciated on epic4. -check the README KNOWNBUGS EPIC-BUGS Files if you are experiencing any +check the README NOTES TODO-BUGS EPIC-BUGS Files if you are experiencing any weird problems/errors. more documents can also be found in ~/amn/docs check these before reporting a bug!. @@ -21,20 +21,29 @@ up until epic5.0.0.6 epic5 does NOT load the script until AFTER you have connected to the irc server. (this is not a bug!) specify epic5 -B to load the script before connecting to the server on earlier versions. +yes you must specify -B to ensure all the settings are set right to make the +script work properly. bug reports when not using -B on startup on +epic5.0.0.5 release and before will be ignored. unless it can be reproduce +easily with -B usage. install: How to install this package: o Run 'tar zxvf amnesiac*.tar.gz -C ~/' - + o If using a snapshot 'tar zxvf ac-snap.tgz -C ~/' o Then proceed to put this line in your ~/.ircrc or ~/.epicrc - load ~/amn/amn.epic - + ^^ see sample.epicrc in amn/docs directory for more options/info. o Then start epic, main commands are /config /format /theme /ahelp /ehelp o to start: epic5 -B -n somenick -H somevhost.com + o on occasion epic5 -B -H somevhost.com somenick irc.someserver.com o and or epic(4) -B -H somehost somenick irc.something.com ^^ does not have to be specified in that particular order and or use of all the options shown above. + +problems: +if you have read all the docs and still have trouble with script or +client issues, you may ask for help in #amnesiac@efnet or e-mail +help@ircii.org diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Wed Aug 31 08:54:53 2005 +++ amn/TODO-BUGS Thu Sep 1 06:01:30 2005 @@ -9,6 +9,10 @@ ## bugs. $ when doing /q x-somenick if the nick has the - in it breaks /query +$ when using inline colors on public formats ie; (crapple) will show + up right, but if modeshow/extpub is enabled (@crapple) won't have inline + colors. it'll show up as probably colorized brackets and modeshow format + colors. but not inline nick colors. found by adam. thanks!. ## Higher priority requests. @ toggle for kickban or just kick for the bwk module. diff -aruN amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Wed Aug 31 08:40:25 2005 +++ amn/UPGRADE Thu Sep 1 08:07:47 2005 @@ -7,121 +7,16 @@ (this is not for the faint of heart this is for people who have a big ego about their irc client uptimes *ahem*) -changes to upgrade... - -::cvs-1 to cvs2 -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -then type /adump in the irc client. - -::cvs-1/2 to cvs-3 -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -then type /adump in the irc client. - -::cvs-1/2/3/4 to cvs 5 -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -then /adump - provided you updated your epicrc to ~/amn/amn.epic -::this is very theoretical due to how the modules have been redone, -::(it worked for me but use at your own risk!) for cvs/6 - -::all to cvs/6 -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -then /adump - -::all to cvs-7. (in theory) -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.fsave -then /adump - -::all to cvs-8. (in theory) +## upgrade info +## any to 1.1d/p* (in theory) +rm -rf /path/to/amn rm -rf ~/.amn/.mod.save rm -rf ~/.amn/.a.save rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.fsave -then /adump - -::all to cvs-9. (in theory) -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.fsave -then /adump - -::cvs-8/9 to cvs-10 (in theory) -rm -rf ~/.amn/.mod.save -then /adump - -<=8 to cvs-10. (in theory) -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.fsave -then /adump - -::cvs-8/9/10 to cvs-11g (in theory) -rm -rf ~/.amn/.mod.save -then /adump - -::<=8 to cvs-11g (in theory) -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.fsave -then /adump - -::cvs-8/9/10/11 to cvs-12g. (in theory) -rm -rf ~/.amn/.mod.save -then /adump - -::<=8 to cvs-12g. -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.fsave -then /adump - -::cvs-8/9/10/11/12 to cvs13g (in theory) -rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) -rm -rf ~/.amn/.mod.save -then /adump - -::<=8 to cvs-13g. -rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.fsave -then /adump - -::cvs-8/9/10/11/12 to cvs14 (in theory) -rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) -rm -rf ~/.amn/.mod.save -then /adump - -::<=8 to cvs-14. -rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.fsave -then /adump - -::cvs-8/9/10/11/12 to cvs14s (in theory) -rm -rf ~/amn/core/sping.m(if you are updating over your existing dir) -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.fsetsave -then /adump - -::cvs-8/9/10/11/12 to 1.1d/p* -rm -rf ~/amn/core/sping.m(if overwriting the dir) -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.csave rm -rf ~/.amn/.a.fsave -rm -rf ~/.amn/.a.fsetsave -rm -rf ~/.amn/.a.save -then /adump +rm -rf ~/.amn/.a.csave +tar zxvf newver.tgz (in your home dir or dir you want it) +or +tar zxvf newver.tgz -C /path/to/where/you/want/it +lastly +/adump (in the client) diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Wed Aug 31 09:44:23 2005 +++ amn/amn.epic Thu Sep 1 07:15:20 2005 @@ -17,13 +17,9 @@ @loadpath=[$before(-1 / $word(1 $loadinfo()))/] @epicver=word(0 $info(v)) if (epicver != [epic4] ) { - ::stuff to load for epic5...(for compatability) + ## stuff to load for epic5...(for compatability) ^load $(loadpath)core/compat.m - ::(*gulp*) DON'T HATE ME. (disabled for now) - ::xdebug old_math - ::^set old_math_parser on - ::formats/arrays/lusers still requires old_math. - ::compiling sets... + ## compiling sets... addset auto_rejoin bool; xaddset auto_rejoin_delay int; xaddset num_of_whowas int; @@ -33,7 +29,7 @@ } -::various sets +## various sets set floating_point_math on set high_bit_esc 0 set insert_mode on @@ -66,6 +62,7 @@ ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### @_modules=[ncomp flood abot lsay sprot aol query away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] +## colour vars. @ cl = [\\[0m] @ blk = [\\[0\;30m] @ blu = [\\[0\;34m] @@ -102,7 +99,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[15] +@commit_id=[16] @a.rel=[1.1d p/$commit_id] @a.date=[20050831] @_ss=[15] diff -aruN amn.orig/docs/CHANGES.old amn/docs/CHANGES.old --- amn.orig/docs/CHANGES.old Wed Dec 31 19:00:00 1969 +++ amn/docs/CHANGES.old Thu Sep 1 07:37:06 2005 @@ -0,0 +1,562 @@ +## old alpha release changes. this fille will no longer be updated. + +## amnesiac1.0a-cvs1 +05/2/05 +-prelimary release of amnesiac finally basically forked away from + oblivion, amnesiac had originally started as oblivion as a base, but + it has however moved away from it a lot, you may notice some similarities + and differences. thanks void for helping me learn enough about epic scripting + and motivating me to do so over the years, that i decided it was time to + split away from oblivion and start doing things the way i'd like it ;). +-kickban is currently broken. will fix it someday. use bankick most people + use this anyways. +-anyone want to do up an ereet startup cosmetic for me? ;D +-added criminals theme so he can stop crying everytime i release a new + version ;D named (amnesiac) for lack of a word at this time. +-report any bugs to me please ;). +-release of preliminary release amnesiac1.0a-cvs1. + +## amnesiac1.0a-cvs2 +05/3/05 +-fixed up statbar cosmetics thanks to krimson... +-cleaned up more theme unused vars... +-increased the msgflood sensor to 16. (we need to take a vote on if + we should keep it or remove it) anyone? +-dns is always used i have decided to merge it into the core, it's no + longer a module. +-fixed up some timestamping/echo's in aways. +-added timestamp to quit/modechanges/some other's i forget. and fix echo's + i.e when timestamp is on, it disable format echo for some formats, when + it is disabled, echo's comes on, it's annoying sometimes for some format's + having echo on while using timestamp i.e +[09:05] [mode(#amnesiac)] [kreca(+o)] --now +[09:05] *** [mode(#amnesiac)] [kreca(+o)] --before +*** [mode(#amnesiac)] [kreca(+o)] --without timestamps. +-removed the mp3 module, it is now in /pasture for anyone who (cares) +-timestamp all has been removed from /config option, but it's still + there for those who wants it. (most just use common timestamps) i.e; + msg's,signoffs,dcc,notice,wall etc... +-oops messed up package names on the unbanself protection it's renamed + to sprot. +-fixed up the themes purged the removal of nonexistent awayforms and + kickforms which has been long long gone. yay!. +-fixed default awaymsg reason again, accidentally removed some code. +-fixed a tyop in the install file thanks to msoul. +-fixed a few more tyop's in the README file after motivation to check + my spelling after msoul mentioned the above. thanks!. +-oops forgot to merge the edit_topic script from the epic5 source tree + into the core, mainly since not everyone installs epic globally, it's + to keep amnesiac more/less in sync with a stock epic not installed + globally. function was done/merged in by kreca a few months ago. +-release of amnesiac1.0a-cvs2. + +## amnesiac1.0a-cvs3 +-05/3/05 +-fixed bankick and kick to work more properly, you can now make a + kickreasons, specified in your $(loadpath)kick.reasons since i have + removed the old config usage of a default kick reason which was bloating + up my config and hurting my image ;) help from kreca. +-autobot can now use alphanumeric chars for the op command! thanks to kreca. +-added timestamps to the end of on joins and on parts requested by many. +-fixed the on part hook. +-made a far better part alias which you can specify your drama on part i.e + partreasons (/part you guys are big mean poo poo heads) thanks to skullY + for this wonderful invention for improving the lives of us hardcore ircers. +-added some new aliases for efnet's accept command the list of them here are +.. +alias accept { quote accept $*} +alias cid accept $* +alias rmcid { quote accept -$*} +alias acceptlist { quote accept * } +alias cidlist acceptlist +alias rmaccept rmcid $* +alias acceptdel rmcid $* +^^should be self explanatory. +-the new msg flood command has been reworked to the way i have originally + wanted it for a long time, it is disabled per default.... the difference + in the way the new msg flood system works it set's you umode +g which + is server side ignore, and will only work on networks like efnet, or + any others that supports usermode ignore of +g. + do /mflood to set the sensor in lines. + and /mftime to configure how many seconds to remove it ie umode -g + or use mftime - to disable removing the umode until it's done manually. + same with /mflood - to disable it again. +-updated kick.reasons and quit.reasons file..... +-release amnesiac1.0a-cvs3.tgz + +## amnesiac1.0a-cvs4 +05/12/05 +-rewrite addset a bit thanks to xavier (solves a lot of builtin problems) +-modularize the mflood protection...aka +g with a few annoying glitch fixes +-modularize the nickcomplete symbol, most people find bold/etc/and so on + annoying so if you want nickcomplete format's /addmod ncomp +-mflood modularized as flood. +-fix a few tyop's in modules... +-cleanup of kick.reasons a tad. +-add blackjak's original addset as oldset as it's needed for scripted + on's/hooks. +-sendline and or /s(tab) more completion to include builtins and aliases + and another annoying shit some may or may not like it we'll see how many + complaints i get about this it had to be done to make ncomp modular and + to make kreca stop crying like a big sissy he is sometimes! +-rewrite new /config/settings cosmetics i hated the old ugly way. +-release amnesiac1.0a-cvs4.tgz + +## amnesiac1.0a-cvs5 +05/12/05 +-added a /latin1 and /ibm437 alias to basically remap termcodes the latin1 + was added for the request of violence and kreca basically now eurotrash's + can start liking this script as well, however the eurotrash's have yet to + make me an ansiless theme ;(((( +-added a true ansiless whois, varient #4 /format 1 4 to use it. +-updated the whois echo format's so people know there is more than + 1 whois format. /format 1 for the list. +5/18/05 +-changed the dirs to default untar into ~/amn instead of the old amnesiac + and loadfile to amn.epic (shorten it up some) +-fixed /config (letter) option aliases in core.m i.e /stamp to turn/off + timestamps now go to correct letter for settings fixed others as well + oops. +-modify mod.m somewhat. still need to do something about the ugly output. +-modify themes especially epic to use the ansiless whois format + and nocturnal to switch to my usual whois format being #3. +5/20/05 +-more cleanup/format changes. yes i'm purging out most of the ugly + default ansi in almost every crappy xecho. if you guys hate the direction + this script is headed, go use BitchX or back to oblivion or something. +-get rid of the annoying spaceing in the output_rewrite now numerous people + should be happy especially violence!. +-modify on input "*" for history *cough* +-update some documentations. +-update kick.reasons +-synch to webservers. +-release amnesiac1.0a-cvs5 + +## amnesiac1.0a-cvs6 +5/21/05 +-disable/cloak the following ctcp types per default if you wish + to actually have use for one enabled edit core/hooks.m and remove + the on raw_irc "% privmsg *inger*" for example to renable ctcp finger + one you client. disabled per default are ctcp finger/clientinfo/sound/echo +-add auto-reconnect hook (experimental) it requires that the auto_reconnect + setting to be enabled. seems to work from few of the testing i have done + with it. warning tho it'll continue trying until you stop it so make sure + you have some servers in the serverlist so you don't get banned. +-disable auto-reconnect per default (one should enable it once they have + connected to an irc server and have a few servers in their serverlist) + to avoid flooding. +5/25/05 +-rewrite the listmod/module output finally! another ansiless pos output + gone! done by kreca thanks a bunch!, +-config.ans was rewritten by kreca as well much cleaner read, thanks! +-cleanup fkey's cosmetics and /format cosmetics (purge them of polluted + ansi.) +-purge uptime of some nonessential crap, while purging it of ansi crap as + well. +-redo modules a bit/putting them all into individual directories with their + own configs. thanks to kreca. +-some options will only show up in /config when the module is actually + loaded, still more work to do in progress. +-move some proper aliases to their respective modules to prevent people from + getting confused about why/or why not a command exists but doesn't work. + plus less bloat/loaded aliases/crap on modules which are not loaded. +-remove pager.m/moved some of the aliases in with the away module since + that's the only time it's really even used anyways, if that. +-move operview aliases/config sets from config.m into the opermodules. +-added notify/signon logging, it is enabled per default, i will probably + add an option in the next release to have notify cacheing on/off + /ncache or /nread to read the notify logging file /rnlog to remove the + notify file or /rmnlog. (does not tell which server the person signed on at + this time) this was requested by various people. and it does not log + signoffs at this time, if you do not like this behavior use the notify.m + from amn/pasture and /adump. provided you have a ~/.epicrc. +-fixed amnesiac theme by criminal this time (hopefully) +-removed away timeaway/notice to users permanently i can't stand this static + this should make a lot of people happy when they set away, without users + bitching about them having all the annoying crap being sent to them. +-release amnesiac 1.0a-cvs6 + +## amnesiac1.0a-cvs7 +-5/28/05 +//zwhite@darkstar.frop.org (skullY) +-Added format_scan_width for scan formats. This lets you tweak the width + based on how much extra cruft you add to each nick. +-Added new theme, epic-orig, which looks pretty much like epic4 does out of + the box. Had to add a bunch of new formats for this. +-Removed core/who.m and integrated it into core/fset.m and core/format.m. + We can net define and set various who formats. +-Fixed a bunch of formats that were formatted wrong. Mostly those used by + the epic theme. +-Added a new version format to spoof default epic4 and epic5 clients. +-Added new epic-orig module, for redefining commands and bindings to what + they were in epic4 with netsplit and tc loaded. TODO: Make tab behave + exactly like it does in tc. +-Added better description to themes/epic.th. +-Added waitop command, to only autoop someone if they aren't already oped +-Various formatting cleanups +-Probably just fixed rn which was a broken c&p job. I have no idea what it + was so it may be broke still. +-add a /faol/smail alias to make 'you have mail shuttup' but still updates + mailstats. +-disable extended publics the <@whiny_bitch> this thing annoys me... + per default. +6/3/05 +-added undernet xy/services command module to simplify some commands for + users on undernet. naturally the module is 'xy' without quotes ;p +-renamed skullY's theme/module epic-orig to vanilla. +-clean up core/save.m a bit from leftover cruft. +-fix up modules/add skullys vanilla theme to an actual module hook. +-finally added better customizations of exempt/invite lists aka +e/+I modes. + and some aliases to go with it. /ui to purge the user invite list in + current channel /ue to purge the user exempt list in current channel + /iadd/idel /eadd /edel also added /i and /e now only parses the output + of the current list in the channel. and thanks to a minor help by a super + hacker with the nick for warchest for using the elite supermirc on getting + some server numerics for me to get the proper hooks to be able to complete + this stuff i have been procrastinating on doing for so long!. +-more ansipurge in theme.m while fixed up some tyop's while i was in there. +-clean up more config stuff to their respective modules like _unbanself. +-added netsplit from epic5/scripts - should make skullY/others happy. + 'as a module' - note: join formats are altered when using this module. + old netsplit module moved to /pasture. +-cleaned up core/windowhelp.m and fixed some tyop's while in there. +-fixed up tabkey for /dcc send somelamer filename thanks to kreca! +-fixed up the loading of sfsets again!, thanks kreca! +-cleaned up save.m a bit thanks to kreca and he fixed formats.m while + in there as well. wow, 3 things in a row, don't expect any more commits + from him for at least 4 months now ;(((((. +-one last change kreca made just before going to sleep, remove duplicate + loads in the bwk module, thanks!. +-remove the shitlist/userlist/bwk modules from loading per default + not a lot of ppl use these modules i think as i rarely ever hear feedback + and or bugs about them just /addmod shitlist or shitlist bwk shall + you want to use the modules and /save. +-slight changes in the away format no longer have "is away:" it's now + away: (reason) +-changes of some of the startup formats, and statbar/whois. +-add a new scan^names and fixed up /scan #3 ie. format t 3. /format t 3 + now show's all the available scan formats. and fixed up scan.3 while + cleaning up in the area. new scans are 5/6 +-add the verbose_ctcp stuff from builtins (untested) +-pretty much changed the default layout to not be as colorful sorry guys + just load your theme or something k? +-release amnesiac-1.0a-cvs7 + +## amnesiac1.0a-cvs7p2 +-overhauled majorly of oper.m module thanks to Alien88 giving me the +motivation to do so, and skullY for an O;COOKIE, and cleaned up the +server connect parsing too while at it, yay more ansi shit gone!. +-also added... from blackjac's script.. not sure which one. +This will allow you to toggle between hidden windows 1 through 20 +more easily. Press Esc+1 to toggle between windows 1 and 11, Esc+2 for +win-dows 2 and 12, etc., up through Esc+0 for windows 10 and 20. +-some oper stuff for Alien88. +-added another who format for Alien88 /format 2 3. +-array cleanups by skullY +-fsets by skullY. +-GODDAMMIT i fucked up just before almost passing out as of right now. + well skullY kinda did too!, remember folks next time you guys want shit + going into 'operview' 'snotices' do not be using xecho -v or -w! + KTHX!. sorry about this mikey!. - fixed now. +-release amnesiac-1.0a-cvs7p1 (major fixes might as well get it out the + door! ie. oper.mod finally semi up to date thanks to Alien88.) +-fixed the netsplit.m fucking up sync.m and when using abot and such + make sure with both modules netsplit.m and abot.m it actually reforces + a load of things in the array from $(loadpath)/core/sync.m also possibly + may have fixed up core/mod.m or fucked it up will find out soon!. +-fixed the on join formats when netsplit.m is loaded and or unloaded. +-release amnesiac1.0a-cvs7p2 + +## amnesiac1.0a-cvs8 +-fix up binds.m a bit by kreca. +-clean up the new window toggling wit esc by kreca. +-silence the you have mail crap per default now. +-for some reason chanmode when /c was silenced. stop silencing it. + numeric 324. +-skullY made oper.m much better for operview, to determine which type + of kills were activated etc... +-fixed links output forgot a $* (thanks to Alien88 for reporting) +-fix the whois-actual and added another numeric for whois-login(undernet) + should make mikey happy!. +-fixed the $desc in loading of themes. +-fixed the vanilla theme to show as vanilla not epic-orig. (for skullY) +-fixed aligning of whois's while in there as well so all whois formats + should be a-ok. +-remove clones module per default. /addmod clones if you want this. +-strip the last minute dcc urlencode crap, sorry mirc/irssi users! use a + real client!. +-release amnesiac1.0a-cvs8. (getting close to a release now) + +## amnesiac-1.0a-cvs9 +6/10/05 +-update various documentations including the TODO list. +-update website a bit while cleaning up around my www dir. +-clean up more ansified crappy banners (think i got most now!) +-fixed up help file some (finally) +-fix up startup window double on for default sbar[11] +-change mod.m around a bit, no longer print that valid modules per + default when doing /modules /lmod etc.. now do /vmod /smod to see + the valid module lists. +-some alias changes in window.m listed below... + alias wka wkh + alias wkh {window kill_all_hidden} + alias wko {window kill_others} +-touch up window.m formatting while in there and updated some commands. +-make most of the first time startup warnings THUTTUP. +6/21/05 +-tabkey now includes completion for /me hugs cr requested by Alien88 + done by kreca. +-touch up some of the dcc hooks a bit (chat mainly) +-add a /pbwk /kbwk alias to rm/purge the bwk file. +-fix up bwk so when kickops = on it'll kick ops as well done by kreca. +-fix up /lusers to parse the unknown and max-client/connections should make + various people happy. +6/26/05 +-removed more files from pasture/ +-release amnesiac1.0a-cvs9 + +## amnesiac1.0a-cvs10g +7/4/05 +-cleanup of unused junk in statbars and fixed up some starbars while + in the general area. +-update some of the documentations for new e-mail addy's and webpage. +-move the todo list to ~/amn instead of ~/amn/doc which kreca found + annoying cause he's a really slow typer and going into another directory + to modify the todo file is just too hard on him. +7/9/05 +-redo the help system since not all commands are always loaded and /ahelp +is so bloated per default bleh split the help up into individual modules +/ehelp for the extended help on what goes where for the modules, so +hopefully /ehelp will help with some confusion in the help system. +/ahelp does still exist and will always exist it's just time to shrink it +like uhh seriously, do you guys like 40+ lines of scroll spewing on the +screen and you do /ahelp somecommand and /somecommand doesn't exist because +the module for the said command doesn't exist, it's just annoying totally +annoying!. +-clean up the banners better in userlist finally getting somewhere i like!. +-fix up outputting of shitlist to be far better and stripped ansi parses + while in there, now it at least has a better output on what is what before + it just outputed shitlist users/chans/level/reason but didn't give a real + valid description of what all the stuff that was being outputed meant. this + should be a big bonus in cleaning up more confusion with shitlist. +ie. before. +1 *!test@test.com #test 3 fuck +2 *!some@some.long.hos #test1,#test2,#test 3 plur, faggot. +now it's adjusted to have a topbanner of values i.e new way. +[num] [shithost ] [shitchan [lev] [reason ] +[1] *!test@test.com #test 3 fuck +[2] *!some@some.long.hos #test1,#test2,#test 3 plur, faggot. +-added a /aehelp command, which is something in the works for some basic + quick list of commands on option you chose. +7/22/05 +-make /verk kick ops if /kickops is enabled. +-make /sv say the real information instead of depening on the current theme +-now amnesiac supports both epic4 and epic5, load compat code based on version +information //kreca +-updated docs to explain should work for both epic4/5 however it has not +been tested thoroughly with epic4 yet, feedbacks are appreciated. +-bravely release not really a alpha/beta but more/less gamma +version of amnesiac. amnesiac1.0a-cvs10g + +## amnesiac1.0a-cvs11g +7/23/05 +-modeshow now finally works to point at channel you are msging if you +happen to have multiple channels in the same window ie; /msg #chan2 hi +will show it as hi instead of the old annoying way +of hi was confusing on which channel you msg'd at times. +done by kreca (eurotrash can occasionally be useful at times) +-make ^Z switch channel & switch query depending on what window +you're in //kreca +-created the old what was /sv renamed to /svf which echo the format_sv +for ppl who likes to be annoying. //zak +-i have spend a vast amount of time on this i really hope ppl really enjoy +this new feature to make it easier to manage efnet's invite and exempt lists +the following new things that have been added for exempts and invite +exempts these aliases should help you grab the basics of using it, most of +you are probably familier with /tban /tig etc.. when you can specify #'s +you wish to remove ie; /tban 4-8 to remove bans # 4-8 shown in the list. +same goes with the new invite and exempt alias, which the following +commands are /tinv /texp or /tpi /tpe which is the same as /tinv and /texp +you can purge the channels e-mode +e list with /ue or /pexp for +I list +purging /ui or /pinv. //zak +-release amnesiac1.0a-cvs11g + +## amnesiac1.0a-cvs12g +7/23/05 +-updated trent's new amnesiac theme (whois format change) //zak +-added a /cat command which doesn't require the usage of exec. //zak +-updated some missing functions needed for epic5 in compat.m from the + builtins src/epic5/scripts dir. //zak +-added a /edump alias which is far better than the usual builtin /dump + however it's not always needed but it's useful for some of us (mainly + scripters the following types are... (alias array bind channel dcc + hook timer variable window) taken from the dump script in epic5/scripts + dir. by BlackJac. (alias added into compat.m) //zak +-added the history script into compat.m so ppl do not have to worry + about making a ~/.epic or finding a history global script or for those + who are not too experienced with globals should make it easier. done by + BlackJac as well... taken from src/epic5/scripts/history. //zak +-added /grep /egrep which is based off wd's grep in anduril, taken from + src/epic5/scripts dir, so now you can /grep pattern which uses your lastlog + and you can also specify window to grep ie; /grep -w //zak (untested) +-modified the addset/oldset a bit i decided to add blackjac's original + addset back to addset instead of oldset to save confusion shall ppl load + some script in the future in the epic5 scripts dir and renamed my + customized former addset alias to xaddset. //zak +-added the autonewnick stuff from src/epic5/scripts dir, also done by + Blackjac. for when used with epic5. merged to compat.m //zak +-merged the log module which essentially only used for away logging, it's + pointless to have a away module which also requires the log module to work + efficiently, so one less module gone!. //zak +-renamed the odcc module to adcc(will eventually work on this) *cough* //zak +-update the UPGRADE docs a bit. +-change the abecho/banner formats a bit for some things before when + configuring let's say operview it had [mod] (oper) something adjusted.. + now it just shows it as (oper) something adjusted, less spammy and + annoying. //zak +-updated /ehelp documentation added a new entry of /smhelp which is + always available [core] the new entry has the latest cmd's for the special + modes and explanation/counterparts to do with chanmodes +e/+I exempts //zak +-make ^X switch channel & switch query depending on what window + you're in //zak +-release amnesiac1.0a-cvs12g (wow 2 releases in a day, sorta..) //zak + +## amnesiac1.0a-cvs13g +7/25/05 +-update the country alias to return Unknown for unkown hosts, to make +/whois output look better on people with spoofs. //kreca +-update KNOWNBUGS regarding window level. //zak +-update the epic5 aka E5-UPDATES and E5-KNOWNBUGS in amn/docs dir. //zak +-Change cvs letter (gs) for snapshot/testing. //zak +-added hold_mode script into compat.m //zak +-remove grep/egrep just too buggy might work on something like it in the + future //zak +7/27/05 +-removed edump if one wants it just /load dump from the epic5 base/scripts + directory, it's just too brutal for us to have use and clutters code + at this time. +-add a reject hook for dcc chat requests(don't know why i didn't add this + earlier all i needed to do was add another bind sheesh), so alt-T to accept + a dcc chat request and alt-R to reject dcc chat request. +-added a theme for msoul, 'souly' should also be ok for users on shitty + default rxvt terminal fonts. +7/29/05 +-center the format_scan_usernum on scan #2 (to the best theoretical + possibility) requested by krimson. +7/30/05 +-clean up alias.m removing a couple of usages of ansified usage; +-change the /bantype to not say oblivion, how do we/you/anyone miss this??? +-remove some cluttered up aliases with multiple bindings to other aliases + that ppl probably don't even use ie; /eadd /edel /iadd etc... and stupid + useless ones like /4dv, and fix up the documented code a + bit/organize. //zak +-add a 'coloUr' alias to go with colOr and we all know it's spelled colour + not color right? ;D modified(color.m) //zak +-^^same for sbcolour modified(sbcolor.m) //zak +-cleanup more ansified crap in themes.m and documented some minor things + while in there. //zak +-merge sping.m into lag.m and remove sping it's pointless for 2 small + aliases in 2 diff files. //zak +-test the whoform.load append in the updates.m file, hopefully this will + fix some issues with the usage of /who not showing up right. //zak +-clean up some ugly crap in the fakeversion shit, and remove some, while + adding 2 new version formatting which might be more suitable + for some, also cleanup of arrays.m while in there somewhat //zak +-clean up fkeys.m to do more/less proper @ bindctl now, i am unsure if + more need's to be done here as i really don't have the time to test. + however the do.fkey alias does seem like the reasonable place to have + it set as the other's just modifies it on the command lines directly. + will need to look into this more in the future. //zak. +-rename the KNOWNBUGS file to NOTES about some script issues not really a + bug and not really a script issue just to be documented. //zak +-rename the TODO to TODO-BUGS which lists both TODO/BUGS list. and update + documents while in both files including todo/bugs. //zak +-update the UPGRADE doc for 13g(s) snapshot/release. //zak +-fixed the relay module up so nicely that kreca couldn't comprehend doing + such a nice task!, and hell tossed out most of his 600lines of 'code' + and it does more now than it used to! ;((((, so now /relm /paste/ relsm + /relw can be outputted to an active window as long as there's a query + or channel dcc chat opend in that window. bye bye /pmsg /pquery aka + /fuckclient.. //zak +-removed the attack theme(broken) //zak +-removed statbar #13 which was ugly from my old scrollz script. + and broken. now it's replaced with skully's vanilla statbar. #13. //zak +-update the ahelp file to reflect changes on /relm/relsm/paste/relw etc.. + while removing some. +-update greetz(eater,grimzy) add /about alias with a notice upon startup. + //zak +-remove mass.m from pasture. //zak +-release amnesiac1.0a-cvs13g +-ack the fkeys.m did actually break back out changes and re-release //zak + +## amnesiac1.0a-cvs14 +8/2/05 +-remove the usermods-commands.txt from documents it's not needed anymore + with the new improved help /ehelp when the module is + loaded just run /uhelp //zak +-remove the E5-UPDATES txtfile, not needed since script has both epic4/5 + support but i will keep the E5-KNOWNBUGS updated as i see fit. + this should shrink the scriptsize a bit. //zak +-updated some info in the UNTESTED documents mainly about the topwin module + issues. //zak +-fix a simple tyop in oper.m module //zak +-fixed up the alias in stat13 which used to be 14 ewps //zak +-update TODO-BUGS doc regarding unbanself/sprot module //zak +-modify amn.epic to reflect version as a snapshot. +-modify clones module to remove the /banclones /killclones it's pointless + and the way all the vhosts goes these days it's surely going to cause + some problems. learn to use /trickle /filter which is aliased to /trickle + will probably make some aliases in the future to use the /trickle alias. + to simplify things up. //zak +-modify version.m to allow for interoperability between channel/msg/dcc + when doing /sv and or /svf //zak +-for some reason /+e/i -e/i aliases got mutilated. fixed.. //zak +8/3/05 +-to fix a stack overflow in country.m we now use two Karll's arrays to +store the entries //kreca +-fix a startup error msg cause of the new_math, toss out the compatability +for old math yeah, now we're up to 'date' //zak +-no need to use /wlevel none on startup anymore - + new_server_lastlog_level default set of NONE finally got this annoying + thing out of my way //zak +-remove some uneeded compatability like old_math we can now use the new + math. +-update the notes file to reflect reality. +-update notes regarding terminfo in FreeBSD. +-some minor country.m tyop's blame kreca. //zak +-more cleanup of helpfiles with the new moduler help menu stuff... + new help menu /ohelp for operview/oper help, added list to /ehelp. //zak +-fixed the country.m to show all country names thanks to skullY! //zak +-added a new msg format for violence (a) 39 //zak +-added 2 new oper commands for Alien88 /dline and /undline //zak +-update /ohelp to reflect reality. //zak +-add a bunch of new formats joins/msg/publics to help with latin1 charset + users //zak +-change the default look a bit (better methinks) and formats. //zak +-i beleive that we are getting very close to an official release since some + ppl has been requesting to put it on epicsol's page. i just want to make + sure everything is a-ok before doing so. //zak +-renable the old_math until i have everything sorted out for the time being + //zak +-add a new alias /emopart with uses emopart.reasons in $loadpath. +-update TODO-BUGS. +-add /ecycle(emocycle) /mon /moff which turns the new_math on/off in epic5 + ircII EPIC5-0.0.5 (Commit id: 1273) (Date of release: 20050420) and later. + makes it easier for the scripters to debug/update the script for the new + math. couple of short form emopart aliases /epart /dpart. //zak +-adjust some settings on which should be set on epic4 and or epic5. and the + order. (amn.epic) //zak +-adjust version to sync with reality. +-modify emopart.reasons kick.reasons quits.reasons a bit to be a little less + LAME. //zak +-more huge format in array changes, you guys may noticed timestamping on + join and parts are different than before. some help from violence and + skullY //zak +-update my theme -nocturnal //zak +-fix up statbar #12 to include query (hopefully it's enough room) //zak +-release amnesiac1.0a-cvs14 + +## end + +//crapple +zak@ircii.org diff -aruN amn.orig/docs/CHANGES.rel amn/docs/CHANGES.rel --- amn.orig/docs/CHANGES.rel Wed Dec 31 19:00:00 1969 +++ amn/docs/CHANGES.rel Thu Sep 1 07:37:23 2005 @@ -0,0 +1,7 @@ +the changes of our upcoming release will be in here. +see CHANGES.old for past alpha changes, were moving towards +beta now as the script has became quite stable after about +6 months in production. + +//crapple +zak@ircii.org diff -aruN amn.orig/docs/UPGRADE.old amn/docs/UPGRADE.old --- amn.orig/docs/UPGRADE.old Wed Dec 31 19:00:00 1969 +++ amn/docs/UPGRADE.old Thu Sep 1 07:55:00 2005 @@ -0,0 +1,136 @@ +/* this file will not be updated anymore, and will be removed in the near + future. //zak */ + +READ THIS READ THIS READ THIS HAVE YOU READ THIS COMMENT YES? YES?? HELLO? +/* NOTE: this is for older alpha release of amnesiac. please see the UPGRADE + file in amn/UPGRADE of which you should read this here is mainly here for + informational purposes. */ + +## info. +here i will note from time to time on the 'upgrade' howto, for the changes +you need to make or remove to update without restarting your client using +/adump. first off in order to use adump you must have an ~/.epicrc which +loads your amn.epic from somewhere(since amnesiac does not have to be +placed in ~/amn it could be in ~/irc/amnesiac/ or whatever. and savefiles +will always go in ~/.amn now we got that covered. let's move on. +(this is not for the faint of heart this is for people who have a big ego +about their irc client uptimes *ahem*) + +## file changes to update. + +::cvs-1 to cvs2 +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +then type /adump in the irc client. + +::cvs-1/2 to cvs-3 +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +then type /adump in the irc client. + +::cvs-1/2/3/4 to cvs 5 +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +then /adump - provided you updated your epicrc to ~/amn/amn.epic +::this is very theoretical due to how the modules have been redone, +::(it worked for me but use at your own risk!) for cvs/6 + +::all to cvs/6 +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +then /adump + +::all to cvs-7. (in theory) +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump + +::all to cvs-8. (in theory) +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump + +::all to cvs-9. (in theory) +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump + +::cvs-8/9 to cvs-10 (in theory) +rm -rf ~/.amn/.mod.save +then /adump + +<=8 to cvs-10. (in theory) +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump + +::cvs-8/9/10 to cvs-11g (in theory) +rm -rf ~/.amn/.mod.save +then /adump + +::<=8 to cvs-11g (in theory) +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump + +::cvs-8/9/10/11 to cvs-12g. (in theory) +rm -rf ~/.amn/.mod.save +then /adump + +::<=8 to cvs-12g. +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump + +::cvs-8/9/10/11/12 to cvs13g (in theory) +rm -rf /path/to/amn +rm -rf ~/.amn/.mod.save +then /adump + +::<=8 to cvs-13g. +rm -rf /path/to/amn +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump + +::cvs-8/9/10/11/12 to cvs14 (in theory) +rm -rf /path/to/amn +rm -rf ~/.amn/.mod.save +then /adump + +::<=8 to cvs-14. +rm -rf /path/to/amn +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.fsave +then /adump + +::cvs-8/9/10/11/12 to cvs14s (in theory) +rm -rf /path/to/amn +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.fsetsave +then /adump + +::cvs-8/9/10/11/12 to 1.1d/p* +rm -rf /path/to/amn +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.csave +rm -rf ~/.amn/.a.fsave +rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.save +then /adump diff -aruN amn.orig/modules/userlist/userlist.m amn/modules/userlist/userlist.m --- amn.orig/modules/userlist/userlist.m Tue Aug 30 00:31:42 2005 +++ amn/modules/userlist/userlist.m Thu Sep 1 07:13:26 2005 @@ -20,11 +20,12 @@ ## misc various compat aliases. alias listuser userlist -alias deluser unuser $* +alias deluser userdel $* alias addf adduser $* alias listf userlist -alias delf deluser $* -alias remf deluser $* +alias delf userdel $* +alias remf userdel $* +alias unuser userdel $* ## end compat. alias adduser { @@ -93,7 +94,7 @@ @ close($savec) xecho -v [mod] (userlist).. saved to $frsavefile } -alias unuser userdel + alias userdel if ([$0]) { if (numitems(friends)<=[$0]) { echo $banner no such user! @@ -102,7 +103,7 @@ @ delitem(friends $0) } }{ - echo $banner usage: /userdel + echo $banner usage: /deluser } alias userload { Date: Thu, 1 Sep 2005 09:49:33 -0400 (EDT) From: zak@ircii.org (Zak) -slight changes in amn.epic, forgot to add sample.epicrc file on last commit. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Thu Sep 1 08:03:41 2005 +++ amn/CHANGES Thu Sep 1 09:46:08 2005 @@ -185,3 +185,7 @@ -docs/CHANGES.rel - past changes, after release. (nothing in here yet) -docs/UPGRADE.old - not updated anymore just there for informative purposes -UPGRADE - synced to reality. */ //zak +-add a sample.epicrc in docs/ //zak +-remove mangle_logfiles all from amn.epic ppl can set it in their + epicrc's. //zak +-remove window 1 name on startup. slightly change comments in amn.epic diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Thu Sep 1 07:15:20 2005 +++ amn/amn.epic Thu Sep 1 09:43:42 2005 @@ -13,11 +13,11 @@ @ delarray($array); } -:: this has to be done before the sets below +## determine if we need to load comptability functs or not. @loadpath=[$before(-1 / $word(1 $loadinfo()))/] @epicver=word(0 $info(v)) if (epicver != [epic4] ) { - ## stuff to load for epic5...(for compatability) + ## functions for epic5 ^load $(loadpath)core/compat.m ## compiling sets... addset auto_rejoin bool; @@ -28,7 +28,6 @@ } - ## various sets set floating_point_math on set high_bit_esc 0 @@ -48,7 +47,6 @@ set mode_stripper on set client_information I get my kicks on channel six set user_information Are you from the FBI ? -set mangle_logfiles ALL set new_server_lastlog_level none set switch_channels_between_windows off set -status_user @@ -56,7 +54,8 @@ set -status_format2 window 1 level none window 1 double on -##hack to not break URLS. +window 1 name - +## hack to not break URLS. eval set word_break $strip(. $word_break) ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### diff -aruN amn.orig/docs/sample.epicrc amn/docs/sample.epicrc --- amn.orig/docs/sample.epicrc Wed Dec 31 19:00:00 1969 +++ amn/docs/sample.epicrc Thu Sep 1 09:45:26 2005 @@ -0,0 +1,34 @@ +# File idea taken from darkstar out of sheer lazyness. + +# This is a sample rc file for EPIC. It just changes a few default settings +# to values that the average user will probably like better. It will also +# cause Amnesiac to be loaded automatically on client startup. +# +# To use this file, simply copy it to ~/.epicrc or ~/.ircrc + +# add your sets here. as they are not saved with /save +# some example sets are listed here that ppl might want to adjust. +# uncomment the ones that are commented to use them you may change +# the values of the commented/uncommented options. + +# NOTE: lastlog/scrollback can eat up a lot of ram, so so arbitrarily large +# values should be avoided on restricted shell accounts or boxes with low +# amount of ram to waste. having both lastlog and scrollback set to 1024 +# eats up to about 10-15mb of ram, depending on the OS and how well the random +# stack is. i use 2500/1024 myself which is about 30MB/30MB on OpenBSD. + +#set DCC_STORE_PATH ~/porn <-- isn't that all ppl transfer on irc anyways? +#set DCC_USE_GATEWAY_ADDR ON +#set LASTLOG 1024 +#set SCROLLBACK 1024 +#set LOAD_PATH ~/.epic:~/.irc:/usr/local/share/epic5//script:. +#set REALNAME seymour butts +set BEEP OFF +set BEEP_MAX 0 +set CLOCK_24HOUR ON +set MANGLE_LOGFILES ALL +set NO_FAIL_DISCONNECT ON +set NO_CONTROL_LOG ON + +# Load amnesiac on client startup. +load ~/amn/amn.epic Date: Thu, 1 Sep 2005 13:45:08 -0400 (EDT) From: zak@ircii.org (Zak) -fix an annoying / in a mode format i've used for years but was too lazy to get rid of until now. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Thu Sep 1 09:46:08 2005 +++ amn/CHANGES Thu Sep 1 13:43:35 2005 @@ -189,3 +189,5 @@ -remove mangle_logfiles all from amn.epic ppl can set it in their epicrc's. //zak -remove window 1 name on startup. slightly change comments in amn.epic +-get rid of the annoying / mode format #1 that has bugged me for a long + time. //zak diff -aruN amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Tue Aug 30 14:04:40 2005 +++ amn/core/arrays.m Thu Sep 1 13:41:52 2005 @@ -284,7 +284,7 @@ ## mode formats @ delarray(modeform) @ setitem(modeform 0 !) -@ setitem(modeform 1 $$fparse(format_timestamp_some $($_timess))$$ztmode%K/$$(c3)$$2 %K[%W$$3 $$4-%K]%n by %W$$1) +@ setitem(modeform 1 $$fparse(format_timestamp_some $($_timess))$$ztmode%K$$(c3)$$2 %K[%W$$3 $$4-%K]%n by %W$$1) @ setitem(modeform 2 $$fparse(format_timestamp_some $($_timess))$$zt%K\\\[$$(c1)mode%K!$$(c2)$$2%K\\\] %K"%W$$3 $$4-%K" %nby %w$$1) @ setitem(modeform 3 $$fparse(format_timestamp_some $($_timess))$$zt%K[%Rmode%K\\\(%r$$2%K\)] %K[%R$$4-%K\\\(%n$$3%K\\\)]%n by %w$$1) @ setitem(modeform 4 $$fparse(format_timestamp_some $($_timess))$$zt %cmode%C.%c$$2 %K\\\(%n$$3 $$4-%K\\\) %nby %n$$1) From: Kreca Date: Fri, 2 Sep 2005 02:28:00 +0200 (CEST) -cleanup in userlist.m and orignick.m diff -ru /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Thu Sep 1 19:43:35 2005 +++ /home/kreca/cvs/amn/CHANGES Fri Sep 2 02:24:29 2005 @@ -191,3 +191,4 @@ -remove window 1 name on startup. slightly change comments in amn.epic -get rid of the annoying / mode format #1 that has bugged me for a long time. //zak +-cleanups in userlist.m and orignick.m diff -ru /home/kreca/cvs/amn.orig/modules/orignick/orignick.m /home/kreca/cvs/amn/modules/orignick/orignick.m --- /home/kreca/cvs/amn.orig/modules/orignick/orignick.m Tue Aug 30 06:39:35 2005 +++ /home/kreca/cvs/amn/modules/orignick/orignick.m Fri Sep 2 02:26:58 2005 @@ -28,16 +28,16 @@ } alias setorig { - if (![$0]) { - xecho -v [a+c] orignick delay set to "$_ort" - } - if (match($0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)) {@_ort = [$0] - xecho -v [a+c] orignick delay set to "$_ort" - }{ - if ([$0]&&!match($0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)) { - xecho -v [a+c] too high of a number (1-20) - } - } + if (# == 0) { + xecho -v [a+c] orignick delay set to "$_ort" + return; + } + if ([$0] > 0 && [$0] <=20) { + @_ort = [$0] + xecho -v [a+c] orignick delay set to "$_ort" + }{ + xecho -v [a+c] time out of range. Valid numbers are 1-20 + } } on #-channel_signoff 42 "*" { diff -ru /home/kreca/cvs/amn.orig/modules/userlist/userlist.m /home/kreca/cvs/amn/modules/userlist/userlist.m --- /home/kreca/cvs/amn.orig/modules/userlist/userlist.m Thu Sep 1 13:13:26 2005 +++ /home/kreca/cvs/amn/modules/userlist/userlist.m Fri Sep 2 02:26:20 2005 @@ -118,17 +118,16 @@ } alias setsec { - if (![$0]) { - xecho -v [a+c] autop delay set to "$_ss" - } - if (match($0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40)) { - @_ss = [$0] - xecho -v [a+c] autop delay set to "$_ss" - }{ - if ([$0]&&!match($0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40)) { - xecho -v [a+c] too high of a number (1-40) - } - } + if (# == 0) { + xecho -v [a+c] autop delay set to "$_ss" + return; + } + if ([$0] > 0 && [$0] <=40) { + @_ss = [$0] + xecho -v [a+c] autop delay set to "$_ss" + }{ + xecho -v [a+c] time out of range. Valid numbers are 1 - 40 + } } on #-join 34 * { Date: Thu, 1 Sep 2005 21:03:53 -0400 (EDT) From: zak@ircii.org (Zak) -cleanups of annoying ugly cosmetic outputs of commands in modules. -removed encryption module. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Thu Sep 1 20:24:29 2005 +++ amn/CHANGES Thu Sep 1 20:59:14 2005 @@ -191,4 +191,6 @@ -remove window 1 name on startup. slightly change comments in amn.epic -get rid of the annoying / mode format #1 that has bugged me for a long time. //zak --cleanups in userlist.m and orignick.m \ No newline at end of file +-cleanups in userlist.m and orignick.m +-cleanups of some xecho module banners. and a few aliases remove/changed. +-removed encryption module diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Thu Sep 1 09:43:42 2005 +++ amn/amn.epic Thu Sep 1 20:59:58 2005 @@ -59,7 +59,7 @@ eval set word_break $strip(. $word_break) ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### -@_modules=[ncomp flood abot lsay sprot aol query away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] +@_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] ## colour vars. @ cl = [\\[0m] diff -aruN amn.orig/core/igsave.m amn/core/igsave.m --- amn.orig/core/igsave.m Tue Aug 30 04:07:48 2005 +++ amn/core/igsave.m Thu Sep 1 20:57:56 2005 @@ -7,6 +7,6 @@ @ write($saveig ^ignore $_igmasks $igtype($_igmasks)) } @close($saveig) - xecho -v [a+c] ignores saved to $igsfile + xecho -v [a+c] (core).. ignores saved to $igsfile } diff -aruN amn.orig/core/mod.m amn/core/mod.m --- amn.orig/core/mod.m Tue Aug 30 00:13:03 2005 +++ amn/core/mod.m Thu Sep 1 21:01:03 2005 @@ -1,7 +1,7 @@ subpackage mod ## last modified by crapple 6/12/05 -@_modules=[flood ncomp aol lsay sprot query abot away dict encryption fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] +@_modules=[flood ncomp aol lsay sprot query abot away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] alias vmod {xecho -v valid modules are [$_modules]} alias smod vmod @@ -82,7 +82,7 @@ }{ @_mch1=sar(g/,/ /$0) fe ($_mch1) n1 { - if (!match($n1 $jot(1 25))) { + if (!match($n1 $jot(1 24))) { fe ($_mch1) n1 { ^unload $n1 @delitem(_mods $finditem(_mods $n1)) @@ -90,7 +90,7 @@ } } - if (match($n1 $jot(1 25))) { + if (match($n1 $jot(1 24))) { fe ($_mch1) n1 { ^push _mlist $getitem(_mods $n1) } diff -aruN amn.orig/modules/bwk/bwk.m amn/modules/bwk/bwk.m --- amn.orig/modules/bwk/bwk.m Tue Aug 30 18:37:54 2005 +++ amn/modules/bwk/bwk.m Thu Sep 1 20:48:07 2005 @@ -1,35 +1,31 @@ subpackage bwk -#some short form aliases... +## some short form aliases. alias unword delword $* -alias remw unword $* alias addw addword $* alias bwk listword alias addbwk addword $* alias delbwk unword $* -alias pbwk {exec rm ~/.amn/.a.words.save} -alias kbwk pbwk -#end... +#end alias addword { if ( # < 2) { - xecho -v (bwk).. syn: /addword word #chan to bk a word in specified chan + xecho -v -b syn: /addword word #chan to bk a word in specified chan }{ @setitem(_words 0 !) @setitem(_wordschan 0 !) @setitem(_words $numitems(_words) $0) @setitem(_wordschan $numitems(_wordschan) $1) - xecho -v (bwk).. added word $0 with channel $1 to word list + xecho -v -b added word $0 with channel $1 to word list } } - alias listword { if (numitems(_words) == 1) { - xecho -v (bwk).. no words current on list + xecho -v -b no words current on list }{ banner.head for (@xx=1, xx | word #chan + xecho -v -b syn: /delword | word #chan }{ if ( # == 1) { if ( [$0] > 0 && [$0] < numitems(_words)) { - xecho -v (bwk).. deleted $getitem(_words $0) $getitem(_wordschan $0) from list + xecho -v -b deleted $getitem(_words $0) $getitem(_wordschan $0) from list @delitem(_words $0) @delitem(_wordschan $0) }{ - xecho -v (bwk).. number out of range. + xecho -v -b number out of range. } }{ if (rmatchitem(_words $0) >= 0) { @delitem(_words $rmatchitem(_words $0)) @delitem(_wordschan $rmatchitem(_wordschan $1)) - xecho -v (bwk).. deleted $0- from list + xecho -v -b deleted $0- from list } } } } - - - - ^on #-public 322 * { fe ($2-) a1 { if (matchitem(_words $a1) > -1 && getitem(_wordschan $matchitem(_words *$a1*)) == [$1] && (ischanop($0 $1)==0 || kickops == [on])) { @@ -121,16 +113,13 @@ echo addword /addword <#channel> will bankick the nick that said echo the specified channel. -echo delword /delword <#channel> will delete specified ban word -echo from list. +echo delword /delword will delete specified ban word from list. echo listword /listword will list words in bankick word list. echo wordssave /wordssave will save the word list in bankick word list. -echo pbwk /pbwk will purge the wordlist. echo -= Wordkick Quick Aliases =- -echo unword/delword remw/delword delbwk/delword +echo unword/delword delbwk/delword echo addw/addword addbwk/addword echo bwk/listword -echo kbwk/pbwk echo ------------------------------------------------------------------- } diff -aruN amn.orig/modules/encryption/encryption.m amn/modules/encryption/encryption.m --- amn.orig/modules/encryption/encryption.m Tue Aug 30 04:12:51 2005 +++ amn/modules/encryption/encryption.m Wed Dec 31 19:00:00 1969 @@ -1,27 +0,0 @@ -subpackage encryption -## codelogic's fully functional encryption, not very secure, excuse my laziness. - -@eprompt = [$(hblk)[$(hwht)e$(cl)ncrypted$(hblk)]$(cl)] - -alias esay2 if ([$0]) { - @:chan = C - @:text = [$*] - ^quote PRIVMSG $chan :SED [C] $encode($text) - echo $fparse(format_send_public $N $eprompt $text) -} - -alias emsg2 if ([$1]) { - @:nick = [$0] - @:text = [$1-] - ^quote PRIVMSG $nick :SED [C] $encode($text-) - echo $fparse(format_send_msg $0 $eprompt $text) -} - -on ^raw_irc "% PRIVMSG % :SED [C] *" { - @:text = [$5-] - @:sender = before(! $0) - @:dest = [$2] - xecho -b $eprompt $(hblk)<$(cl)$sender$(hblk)->$(cl)$dest$(hblk)>$(cl) $decode($text) -} - -# .:. clogic '98 diff -aruN amn.orig/modules/mjoin/mjoin.m amn/modules/mjoin/mjoin.m --- amn.orig/modules/mjoin/mjoin.m Tue Aug 30 00:43:00 2005 +++ amn/modules/mjoin/mjoin.m Thu Sep 1 20:56:37 2005 @@ -2,10 +2,8 @@ ## some aliases for mjoin alias listc listchan alias addjoin ajoin $* -alias ajlist listchan alias chanlist listchan -alias mlist listchan -alias alist listchan +alias ajlist listchan alias ajoin addchan $* alias unajoin delchan $* alias deljoin delchan $* @@ -24,20 +22,20 @@ @setitem(chans 0 !) @setitem(chans $numitems(chans) $a1 $_key) } - xecho -v (mjoin).. added $* to channel list + xecho -v -b added $* to channel list }{ fe ($_ach) a1 { @setitem(chans 0 !) @setitem(chans $numitems(chans) $a1) } - xecho -v (mjoin).. added $* to channel list + xecho -v -b added $* to channel list } } } alias listchan { if (numitems(chans) == 1) { - xecho -b no channels current on list + xecho -v -b no channels current on list }{ banner.lchead for (@xx=1, xx [kickbans person and adds them to your shitlist with level 3] + xecho -b /fuck nick [kickbans person and adds them to your shitlist with level 3] }{ if (![$1]) { ^bankick $0 shitted @@ -93,7 +93,7 @@ if (numitems(shitlist)<=[$0]) { echo $banner no such user! }{ - xecho -v [mod] (shitlist).. deleted shitlist entry $getitem(shitlist $0) + xecho -v -b deleted shitlist entry $getitem(shitlist $0) @ delitem(shitlist $0) @ delitem(shitreas $0) } diff -aruN amn.orig/modules/userlist/userlist.m amn/modules/userlist/userlist.m --- amn.orig/modules/userlist/userlist.m Thu Sep 1 20:26:20 2005 +++ amn/modules/userlist/userlist.m Thu Sep 1 20:37:14 2005 @@ -148,8 +148,8 @@ if (match(iops $ojtemp4) > 0) { @ojtemp3 = word(1 $ojtemp1) if (ischanop($N $1) && [$1] == ojtemp3 && match(iops $ojtemp4) > 0 && match($ojtemp2 $userhost($0)) > 0) { - abecho (user).. Userlist matched hostmask: $sar(g/@/%K@%n/$ojtemp2) has joined $1 - abecho (user).. Auto-oping if not op'd in $_ss seconds. + abecho Userlist matched hostmask: $sar(g/@/%K@%n/$ojtemp2) has joined $1 + abecho Auto-oping if not op'd in $_ss seconds. ^timer $_ss { if (!ischanop($0 $1)) { ^mode $1 +o $0;^timer -delete 451;^timer -refnum 451 $_ss {^assign -ojtemp3} Date: Thu, 1 Sep 2005 21:05:30 -0400 (EDT) From: zak@ircii.org (Zak) -erps forgot to update patchlevel. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Thu Sep 1 20:59:14 2005 +++ amn/CHANGES Thu Sep 1 21:04:26 2005 @@ -194,3 +194,4 @@ -cleanups in userlist.m and orignick.m -cleanups of some xecho module banners. and a few aliases remove/changed. -removed encryption module +-update patchlevel. diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Thu Sep 1 20:59:58 2005 +++ amn/amn.epic Thu Sep 1 21:04:13 2005 @@ -98,7 +98,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[16] +@commit_id=[17] @a.rel=[1.1d p/$commit_id] @a.date=[20050831] @_ss=[15] Date: Thu, 1 Sep 2005 22:02:18 -0400 (EDT) From: zak@ircii.org (Zak) -update more helpfiles added a new menu based help system /rhelp see /ehelp. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Thu Sep 1 21:04:26 2005 +++ amn/CHANGES Thu Sep 1 22:00:43 2005 @@ -195,3 +195,4 @@ -cleanups of some xecho module banners. and a few aliases remove/changed. -removed encryption module -update patchlevel. +-update helpfiles more, added a new menu based help /rhelp see /ehelp diff -aruN amn.orig/core/ehelp.m amn/core/ehelp.m --- amn.orig/core/ehelp.m Tue Aug 30 04:07:25 2005 +++ amn/core/ehelp.m Thu Sep 1 21:23:10 2005 @@ -10,6 +10,7 @@ echo mjhelp <mjoin help> mjoin/ajoin help menu. [module] echo abhelp <abot help> autobot help menu. [module] echo ohelp <oper help> operview/oper help menu [module] + echo rhelp <relay help> relay/paste help menu. [module] echo winhelp <window help> window shortcuts help menu. [core] echo smhelp <special modes> exempt modes cmds help menu. [core] echo ---------------------------------------------------------------------- diff -aruN amn.orig/core/help.m amn/core/help.m --- amn.orig/core/help.m Tue Aug 30 02:10:30 2005 +++ amn/core/help.m Thu Sep 1 21:59:34 2005 @@ -1,5 +1,5 @@ subpackage help -@hwords=[relw rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir uldir tb ps df ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop paste readlog wall user chops sv relm relsm reln relsn emsg esay frelm tsave freln away back format config color sbcolor dict paste saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb links lk lpaste lsay mdv minv mme mmsg mnot more mv mw nops not partall qk staynick supt theme tig unban untheme winhelp] +@hwords=[rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir tb ps ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop readlog wall user chops sv frelm tsave freln away back format config color sbcolor dict saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb links lk lsay mdv minv mmsg mnot more mv mw nops not partall qk staynick supt theme tig unban untheme winhelp] alias ahelp if (![$0]) { banner.head @_ohcenter=[${word(0 $geom()) / 2 + 40}] @@ -36,9 +36,7 @@ @ :staynick=[%Wu%nsage%K:%n /staynick will cancel /orignick. @ :qk=[%Wu%nsage%K:%n /qk - will bankick specified nick then unban them after 5 seconds. @ :bkt=[%Wu%nsage%K:%n /bkt same as qt. -@ :df=[%Wu%nsage%K:%n /df shows disk space usage. @ :dldir=[%Wu%nsage%K:%n /dldir sets download path. -@ :uldir=[%Wu%nsage%K:%n /uldir sets upload path to file you need to upload. @ :partall=[%Wu%nsage%K:%n /partall will part all current channels. @ :not=[%Wu%nsage%K:%n /not will unset topic on current channel. @ :nops=[%Wu%nsage%K:%n /nops will display all nonops on current channel. @@ -48,11 +46,9 @@ @ :more=[%Wu%nsage%K:%n /more will display text file to screen. @ :mnot=[%Wu%nsage%K:%n /mnot will mass notice current channel with specified text. @ :mmsg=[%Wu%nsage%K:%n /mmsg will mass msg current channel with specified text. -@ :mme=[%Wu%nsage%K:%n /mme will send a action to all current channels. @ :minv=[%Wu%nsage%K:%n /minv <#channel> mass invites users from current channel to specified channel. @ :mdv=[%Wu%nsage%K:%n /mdv will mass devoice current channel. @ :lsay=[%Wu%nsage%K:%n /lsay just try it :) -@ :lpaste=[%Wu%nsage%K:%n /lpaste will paste to current channel last line recieved. @ :lk=[%Wu%nsage%K:%n /lk will kick all non op'd and voiced lusers from current channel @ :links=[%Wu%nsage%K:%n /links will give you a server list of all the servers linked to current network @ :kickban=[%Wu%nsage%K:%n /kickban will kick and ban nick from current channel @@ -98,10 +94,6 @@ @ :user=[%Wu%nsage%K:%n /user <-nonops> <-ops> <-sort> hostmask :scans nicks on channel @ :chops=[%Wu%nsage%K:%n /chops scans op'd nicks on channel @ :sv=[%Wu%nsage%K:%n /sv shows current client/script version to channel -@ :relm=[%Wu%nsage%K:%n /relm then to paste msg lines in buffer -@ :relsm=[%Wu%nsage%K:%n /relsm then to paste sent msg lines in buffger -@ :reln=[%Wu%nsage%K:%n /reln then to paste notice lines in buffer -@ :relsn=[%Wu%nsage%K:%n /relsn then to paste sent notice lines in buffer @ :away=[%Wu%nsage%K:%n /away set yourself away] @ :back=[%Wu%nsage%K:%n /back turns away off.] @ :format=[%Wu%nsage%K:%n /format changes format letter to #] @@ -110,8 +102,6 @@ @ :sbcolor=[%Wu%nsage%K:%n /sbcolor changes sbar color to desired colors] @ :v=[%Wu%nsage%K:%n /v voices nick] @ :dict = [%Wu%nsage%K:%n /dict looks up word in online dictionary] -@ :paste = [%Wu%nsage%K:%n /paste then to paste line in buffer] -@ :relw = [%Wu%nsage%K:%n /paste then to paste line in buffer] @ :saveall = [%Wu%nsage%K:%n /saveall saves all settings] @ :fsave = [%Wu%nsage%K:%n /fsave saves all format settings] @ :sbar = [%Wu%nsage%K:%n /sbar changes sbar to desired number] @@ -124,8 +114,6 @@ @ :wc = [%Wu%nsage%K:%n /wc creates new window] @ :frelm = [%Wu%nsage%K:%n /frelm fakes recvied msg and pastes it to channel] @ :freln = [%Wu%nsage%K:%n /freln fakes recvied notice and pastes it to channel] -@ :esay = [%Wu%nsage%K:%n /esay sends encrypted text through special filters.] -@ :emsg = [%Wu%nsage%K:%n /emsg sends encrypted text through msg.] @ :csave = [%Wu%nsage%K:%n /csave saves color settings] @ :format = [%Wu%nsage%K:%n /format changes format number to selected format @ :sping = [%Wu%nsage%K:%n /sping pings server and returns lag time to it diff -aruN amn.orig/modules/relay/relay.m amn/modules/relay/relay.m --- amn.orig/modules/relay/relay.m Sun Jul 31 02:04:57 2005 +++ amn/modules/relay/relay.m Thu Sep 1 21:54:30 2005 @@ -223,3 +223,24 @@ @relayw=[ON] } } + +alias rhelp { + if (!$[0]) { + +echo -----------------------= Relay Help =-------------------------- + +echo lpaste /lpaste will paste to current channel last line recieved. +echo relm /relm then to paste msg lines in buffer. +echo relsm /relsm then to paste sent msg lines in buffer. +echo reln /reln then to paste notice lines in buffer. +echo relsn /relsn then to paste sent notice lines in buffer. +echo paste /paste then to paste line in buffer. +echo relw /relw then to paste line in buffer. +echo +echo Note: you do not have to specify numbers or actually paste anything +echo to anyone when seeing what's in the buffer ie: /relm to view the last +echo 15 msgs to you then enter to avoid pasting anything. + +echo ------------------------------------------------------------------- + } +} Date: Fri, 2 Sep 2005 00:16:05 -0400 (EDT) From: zak@ircii.org (Zak) -added timestamp formats... this should make some users plenty happy!. especially brits and certain eurotrash's ;( //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Thu Sep 1 22:00:43 2005 +++ amn/CHANGES Fri Sep 2 00:14:57 2005 @@ -196,3 +196,8 @@ -removed encryption module -update patchlevel. -update helpfiles more, added a new menu based help /rhelp see /ehelp +-add timestamp formats this should make plenty of ppl happy especially +those who wanted seconds in their timestamps and a slightly diff output +ie; with or without brackets and diff color... /format 3 for the list. +-update nocturnal theme to use my flavor of timestamp format. +-update patchlevel diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Thu Sep 1 21:04:13 2005 +++ amn/amn.epic Fri Sep 2 00:14:44 2005 @@ -98,7 +98,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[17] +@commit_id=[18] @a.rel=[1.1d p/$commit_id] @a.date=[20050831] @_ss=[15] @@ -136,6 +136,7 @@ @getumode=[iw] @showop=[off] @autoget=[off] +@extstamp=[$strftime(%X)] @_jwin=[on] @_pubnick=N @_tsop=[off] @@ -179,6 +180,7 @@ @whoform=[1] @whofootform=[1] @nickform=[3] +@timeform=[1] @_whois=[4] ## default color and sbar color var. @@ -210,7 +212,7 @@ alias _timestampsome { if (_tss==[on]) { @_timess=[Z] - @format_timestamp_some=[%K[%n$$1%K]%n ] + $$fparse(format_timestamp_some $*) ^assign -zt }{ ^assign -_timess diff -aruN amn.orig/ans/format.ans amn/ans/format.ans --- amn.orig/ans/format.ans Mon Aug 8 10:36:41 2005 +++ amn/ans/format.ans Fri Sep 2 00:10:47 2005 @@ -9,7 +9,7 @@ eval aecho [f] channel signoffs [p] send ctcps [z] public notice eval aecho [g] channel joins [q] echostrings [1] whois formats eval aecho [h] channel leaves [r] nick completion [2] who formats -eval aecho [i] modes [s] version +eval aecho [i] modes [s] version [3] timestamp formats eval aecho [j] notices [t] channel scans eval aecho eval aecho ---------------------------------------------------------------- diff -aruN amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Thu Sep 1 13:41:52 2005 +++ amn/core/arrays.m Fri Sep 2 00:03:14 2005 @@ -708,3 +708,21 @@ @ setitem(nickform 12 $$fparse(format_timestamp_some $($_timess))$$G %W$$1 %nis now known as %m$$2) @ setitem(nickform 13 $$fparse(format_timestamp_some $($_timess))$$G %nnick change %K\\\(%c$$1 %K-> %m$$2%K\\\)) @ setitem(nickform 14 $$fparse(format_timestamp_some $($_timess))$$G %nnick change %K\\\(%W$$1 %K-> %m$$2%K\\\)) + +## timestamp formats -crapple +@ delarray(timeform) +@ setitem(timeform 0 !) +@ setitem(timeform 1 %K[%n$$Z%K]%n ) +@ setitem(timeform 2 %K[%n$$extstamp%K]%n ) +@ setitem(timeform 3 [$$Z] ) +@ setitem(timeform 4 [$$extstamp] ) +@ setitem(timeform 5 $$Z%c|%n ) +@ setitem(timeform 6 $$extstamp%c|%n ) +@ setitem(timeform 7 $$Z ) +@ setitem(timeform 8 $$extstamp ) +@ setitem(timeform 9 $$Z| ) +@ setitem(timeform 10 $$extstamp| ) +@ setitem(timeform 11 $$Z%c|%n) +@ setitem(timeform 12 $$extstamp%c|%n) +@ setitem(timeform 13 %K[%n$$Z%K]%n) +@ setitem(timeform 14 %K[%n$$extstamp%K]%n) diff -aruN amn.orig/core/format.m amn/core/format.m --- amn.orig/core/format.m Wed Aug 31 07:42:07 2005 +++ amn/core/format.m Thu Sep 1 23:55:50 2005 @@ -29,12 +29,11 @@ (z) { if (![$1]) {pubnotform.show} {pubnotform $1} } (1) { if (![$1]) {load $(loadpath)ans/whois.ans} {1format $1;@_whois=[$1]}} (2) { if (![$1]) {whoform.show} {whoform $1} } + (3) { if (![$1]) {timeform.show} {timeform $1} } } }{ load $(loadpath)ans/format.ans } - - alias mform if ([$0]) { if (isnumber($0)&&[$0] to set nick change format xecho -v -b current format set to $nickform @format_nickname=getitem(nickform $nickform) +} + +##timestamp +alias timeform if ([$0]) { + if (isnumber($0)&&[$0]%n I like guys who are mute, and very sexy.) + } + xecho -v -b /format 3 to set time stamp format + xecho -v -b current format set to $timeform + @format_timestamp_some=getitem(timeform $timeform) } diff -aruN amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Wed Aug 31 09:54:18 2005 +++ amn/core/save.m Thu Sep 1 23:33:39 2005 @@ -147,6 +147,7 @@ @write($savemt @whoform = [$whoform]) @write($savemt @whofootform = [$whofootform]) @write($savemt @nickform = [$nickform]) + @write($savemt @timeform = [$timeform]) @write($savemt @_whois = [$_whois]) @close($savemt) diff -aruN amn.orig/core/theme.m amn/core/theme.m --- amn.orig/core/theme.m Wed Aug 31 07:45:19 2005 +++ amn/core/theme.m Fri Sep 2 00:08:27 2005 @@ -48,6 +48,7 @@ @ write($saveth @sdescform=$sdescform) @ write($saveth @actform=$actform) @ write($saveth @statbar=[$statbar]) + @ write($saveth @timeform=[$timeform]) @ write($saveth @_whois=[$_whois]) @ write($saveth @c1=[$c1) @ write($saveth @c2=[$c2) diff -aruN amn.orig/core/update.m amn/core/update.m --- amn.orig/core/update.m Tue Aug 30 01:32:19 2005 +++ amn/core/update.m Thu Sep 1 23:02:18 2005 @@ -25,6 +25,7 @@ ^eval wallform.load $wallform ^eval whoform.load $whoform ^eval nickform.load $nickform +^eval timeform.load $timeform ^eval awayform.load $awayform ^eval actform.load $actform ^eval xdescform.load $descform diff -aruN amn.orig/themes/nocturnal.th amn/themes/nocturnal.th --- amn.orig/themes/nocturnal.th Wed Aug 31 08:46:19 2005 +++ amn/themes/nocturnal.th Fri Sep 2 00:13:07 2005 @@ -35,6 +35,7 @@ @sdescform=2 @actform=2 @statbar=[stat.12] +@timeform=[12] @_whois=[3] @c1=[ @c2=[ Date: Fri, 2 Sep 2005 06:53:08 -0400 (EDT) From: zak@ircii.org (Zak) -add a commons alias written by adam, silence up some of the assigns. updated a bug report. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 2 00:14:10 2005 +++ amn/CHANGES Fri Sep 2 06:49:22 2005 @@ -200,3 +200,11 @@ those who wanted seconds in their timestamps and a slightly diff output ie; with or without brackets and diff color... /format 3 for the list. -update nocturnal theme to use my flavor of timestamp format. +-update patchlevel +-update TODO-BUGS regardning about broken timestamp formats with seconds. +-add an alias written by adam which is kinda neat, /common to view common + users between channels ie; /common #secondchan will compare the common + user in current channel and #secondchannel, i'll probably rewrite this a bit + more when i'm a bit more 'coherent' but the base idea is implimented and + works. thanks adam!. +-update patchlevel diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Thu Sep 1 06:01:30 2005 +++ amn/TODO-BUGS Fri Sep 2 06:46:53 2005 @@ -13,6 +13,7 @@ up right, but if modeshow/extpub is enabled (@crapple) won't have inline colors. it'll show up as probably colorized brackets and modeshow format colors. but not inline nick colors. found by adam. thanks!. +$ format timestamps which uses seconds do not update time. ## Higher priority requests. @ toggle for kickban or just kick for the bwk module. diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Sep 2 00:09:18 2005 +++ amn/amn.epic Fri Sep 2 06:49:49 2005 @@ -98,7 +98,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[17] +@commit_id=[19] @a.rel=[1.1d p/$commit_id] @a.date=[20050831] @_ss=[15] diff -aruN amn.orig/core/users.m amn/core/users.m --- amn.orig/core/users.m Tue Aug 30 01:34:10 2005 +++ amn/core/users.m Fri Sep 2 06:45:42 2005 @@ -1,4 +1,5 @@ subpackage users +## last modified by crapple on 9.1.05 alias chops { if (![$0]) { @:chan = [$1] ? [$1] : [$C] @@ -112,5 +113,15 @@ } } +## common alias done by adam. +#silence it up some by crapple. +alias common { + ^assign common_users $common($chanusers($C) / $chanusers($*)); + eval xecho -b Common users on: $C - $* \($numwords($common_users)\); + fe ($common_users) ii jj kk ll { + xecho -b $fparse(format_scan_nicks $ii) $fparse(format_scan_nicks $jj) $fparse(format_scan_nicks $kk) $fparse(format_scan_nicks $ll) + } + ^assign -common_users; +} oof Date: Fri, 2 Sep 2005 09:56:31 -0400 (EDT) From: zak@ircii.org (Zak) -multiple bug fixes, added a /wsa (window swap activity window) alias for adam, fix the timestamp formats with seconds. should make adam happy. and other minor things. everyone please test this release. if it's good i hope to get it out the door today. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 2 06:49:22 2005 +++ amn/CHANGES Fri Sep 2 09:52:22 2005 @@ -208,3 +208,10 @@ more when i'm a bit more 'coherent' but the base idea is implimented and works. thanks adam!. -update patchlevel +-fix query bug +-fix timestamp_format bug +-fix timestamp config option problem i noticed while playing with it + a little more of it not turning off/on properly. +-add a new alias for adam /wsa which window swaps into the status_format %F + (activity) window +-update patchlevel hopefully release today if no further bugs reported. diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Fri Sep 2 06:46:53 2005 +++ amn/TODO-BUGS Fri Sep 2 08:59:40 2005 @@ -8,12 +8,10 @@ ? = undecided/closed votes. ## bugs. -$ when doing /q x-somenick if the nick has the - in it breaks /query $ when using inline colors on public formats ie; (crapple) will show up right, but if modeshow/extpub is enabled (@crapple) won't have inline colors. it'll show up as probably colorized brackets and modeshow format colors. but not inline nick colors. found by adam. thanks!. -$ format timestamps which uses seconds do not update time. ## Higher priority requests. @ toggle for kickban or just kick for the bwk module. @@ -44,6 +42,12 @@ NONE for 'some bugs' ## bugs fixed. / projects done. +9/2/05 fixed now. //zak +! format timestamps which uses seconds do not update time. + +9/2/05 fixed but still needs something better in the future. //zak +! when doing /q x-somenick if the nick has the - in it breaks /query + 8/30/05 - no longer reproduceable? //zak ! kreca asked me to add this addition to the TODO file i presume this means he might actually do more ;( diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Sep 2 06:49:49 2005 +++ amn/amn.epic Fri Sep 2 09:50:12 2005 @@ -98,7 +98,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[19] +@commit_id=[21] @a.rel=[1.1d p/$commit_id] @a.date=[20050831] @_ss=[15] @@ -136,7 +136,6 @@ @getumode=[iw] @showop=[off] @autoget=[off] -@extstamp=[$strftime(%X)] @_jwin=[on] @_pubnick=N @_tsop=[off] @@ -211,8 +210,8 @@ ## timestamps. alias _timestampsome { if (_tss==[on]) { - @_timess=[Z] - $$fparse(format_timestamp_some $*) + @_timess=[Z] + ^eval timeform.load $timeform ^assign -zt }{ ^assign -_timess diff -aruN amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Fri Sep 2 00:03:14 2005 +++ amn/core/arrays.m Fri Sep 2 08:33:50 2005 @@ -713,16 +713,16 @@ @ delarray(timeform) @ setitem(timeform 0 !) @ setitem(timeform 1 %K[%n$$Z%K]%n ) -@ setitem(timeform 2 %K[%n$$extstamp%K]%n ) +@ setitem(timeform 2 %K[%n$$strftime($time()%X)%K]%n ) @ setitem(timeform 3 [$$Z] ) -@ setitem(timeform 4 [$$extstamp] ) +@ setitem(timeform 4 [$$strftime($time()%X)] ) @ setitem(timeform 5 $$Z%c|%n ) -@ setitem(timeform 6 $$extstamp%c|%n ) +@ setitem(timeform 6 $$strftime($time()%X)%c|%n ) @ setitem(timeform 7 $$Z ) -@ setitem(timeform 8 $$extstamp ) +@ setitem(timeform 8 $$strftime($time()%X) ) @ setitem(timeform 9 $$Z| ) -@ setitem(timeform 10 $$extstamp| ) +@ setitem(timeform 10 $$strftime($time()%X)| ) @ setitem(timeform 11 $$Z%c|%n) -@ setitem(timeform 12 $$extstamp%c|%n) +@ setitem(timeform 12 $$strftime($time()%X)%c|%n) @ setitem(timeform 13 %K[%n$$Z%K]%n) -@ setitem(timeform 14 %K[%n$$extstamp%K]%n) +@ setitem(timeform 14 %K[%n$$strftime($time()%X)%K]%n) diff -aruN amn.orig/core/format.m amn/core/format.m --- amn.orig/core/format.m Thu Sep 1 23:55:50 2005 +++ amn/core/format.m Fri Sep 2 09:04:43 2005 @@ -850,7 +850,7 @@ alias timeform.show { for (@mm=1, mm < numitems(timeform), @mm++) { @format_timestamp_some=getitem(timeform $mm) - xecho -v -b $Cparse(%K[%n$mm%K]%n) $fparse(format_timestamp_some)$cparse(%m<%ncrapple%m>%n I like guys who are mute, and very sexy.) + xecho -v -b $Cparse(%K[%n$mm%K]%n) $fparse(format_timestamp_some)$cparse(%m<%ncrapple%m>%n timestamp in public format example.) } xecho -v -b /format 3 to set time stamp format xecho -v -b current format set to $timeform diff -aruN amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Wed Aug 31 00:28:48 2005 +++ amn/core/window.m Fri Sep 2 08:56:15 2005 @@ -31,8 +31,15 @@ } } +alias _wsact { + window swap $notifywindows() + window swap $pop($notifywindows()) +} + +alias wsa ^_wsact + alias query { - if ( [$($0)] ) { //query $($0) } { //query $* } + window query $* } alias wsc {^window refnum $0} @@ -81,8 +88,6 @@ alias wk {window killswap} alias wlk {part $C;wk} -alias rp msg $, $* -alias ap msg $. $* alias wl window list alias wns wcs $* alias qw wq $* @@ -124,10 +129,9 @@ ## for Alien88 alias wnc2 {window new hide swap last double on split off channel $0 $1 $2} -#from blackjac's script. SentinelX?. +## from blackjac's script. SentinelX?. /* Copyright (c) 2003 David B. Kratter (BlackJac@EFNet) - This will allow you to toggle between hidden windows 1 through 20 more easily. Press Esc+1 to toggle between windows 1 and 11, Esc+2 for win- dows 2 and 12, etc., up through Esc+0 for windows 10 and 20. Date: Fri, 2 Sep 2005 12:38:13 -0400 (EDT) From: zak@ircii.org (Zak) -multiple cleanups and bunch of whitespace zaps in alias.m comment and rearrange window.m to be a bit better. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 2 09:52:22 2005 +++ amn/CHANGES Fri Sep 2 12:33:58 2005 @@ -215,3 +215,7 @@ -add a new alias for adam /wsa which window swaps into the status_format %F (activity) window -update patchlevel hopefully release today if no further bugs reported. +-organize window.m and prune it up a bit remove a few questionable aliases, + functions i have no idea what they were used for, better commenting. +-fix up some things in aliases.m +-winhelp documentation corrections. diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Sep 2 09:50:12 2005 +++ amn/amn.epic Fri Sep 2 12:35:11 2005 @@ -98,7 +98,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[21] +@commit_id=[22] @a.rel=[1.1d p/$commit_id] @a.date=[20050831] @_ss=[15] diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Wed Aug 31 05:01:16 2005 +++ amn/core/alias.m Fri Sep 2 12:30:55 2005 @@ -41,7 +41,7 @@ alias hban {mode $C +b <3!<3@<3} ## various commands. -alias sc scan +alias sc scan $* alias signoff bye $* alias quit bye $* alias lpaste say $line(${[$0]?[$0]:1}) @@ -62,7 +62,7 @@ alias wii {if (![$0]) {whois $N $N} {whois $0 $0}} alias smsg quote server :$* alias svrtime time $S -alias disco disconnect +alias disco disconnect $* alias rwhois quote whois $0 $1 alias sctime echo you have been connected to $S for $tdiff2(${time() - F}) alias sb bans @@ -119,7 +119,6 @@ alias realname {set realname $*} alias irchost hostname $* alias date //time $* -alias sw whois $D alias show exec -msg $T $* alias unset set -$* alias unalias alias -$* @@ -156,6 +155,7 @@ alias protect {config w $*} alias otime {config p $*} alias extpub {config h $*} +alias tform {config 3 $*} ## compat aliases from other irc clients to emulate the same thing. alias awayt awaytime $* @@ -168,13 +168,11 @@ alias iwhois {exec whois $0 $*} alias stime //exec -o date alias touch {exec touch $0- $*} -alias df {exec df -h $0} alias ls ^exec ls -F $* alias osv {^exec -o uname -amnvp} alias ps ^exec ps $* alias suptime exec uptime alias mkdir {exec mkdir $*} -alias rmdir {exec rmdir $*} alias rm {exec rm -rf $*} alias hosts {exec host $*} alias dig {exec dig $*} @@ -529,42 +527,54 @@ }{ if (match(*#* $*)) { fe ($1-) ii jj kk ll { - ^quote mode $0 +oooo $ii $jj $kk $ll + //mode $0 +oooo $ii $jj $kk $ll } }{ fe ($*) ii jj kk ll { - ^quote mode $C +oooo $ii $jj $kk $ll + //mode $C +oooo $ii $jj $kk $ll } } } alias voice { fe ($*) ii jj kk ll { - ^quote mode $C +vvvv $ii $jj $kk $ll + //mode $C +vvvv $ii $jj $kk $ll } } alias devoice { fe ($*) ii jj kk ll { - ^quote mode $C -vvvv $ii $jj $kk $ll + //mode $C -vvvv $ii $jj $kk $ll } } alias deop { fe ($*) ii jj kk ll { - ^quote mode $C -oooo $ii $jj $kk $ll + //mode $C -oooo $ii $jj $kk $ll } } +alias mv { + fe ($nochops()) ii jj kk ll { + //mode $C +vvvv $ii $jj $kk $ll + } +} + +alias mdv { + fe ($msar(g/?//@//.//+//$pattern(*+* $channel()))) ii jj kk ll { + //mode $C -vvvv $ii $jj $kk $ll + } +} + alias mreop { fe ($chops()) ii jj kk ll { - ^quote mode $C +oooo $ii $jj $kk $ll + //mode $C +oooo $ii $jj $kk $ll } } alias mop { fe ($nochops()) ii jj kk ll { - ^quote mode $C +oooo $ii $jj $kk $ll + //mode $C +oooo $ii $jj $kk $ll } } @@ -583,18 +593,6 @@ } } - -alias mv { - fe ($nochops()) ii jj kk ll { - ^quote mode $C +vvvv $ii $jj $kk $ll - } -} - -alias mdv { - fe ($msar(g/?//@//.//+//$pattern(*+* $channel()))) ii jj kk ll { - ^quote mode $C -vvvv $ii $jj $kk $ll - } -} alias cycle { @:chan=ischannel($0)?[$0]:C diff -aruN amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Fri Sep 2 08:56:15 2005 +++ amn/core/window.m Fri Sep 2 12:17:17 2005 @@ -1,9 +1,10 @@ subpackage window -## last modified by crapple 8.30.05 +## last modified by crapple 9.2.05 ## windowing stuff +## more complex windowing stuff here. alias channame if (left(1 $0)==[#] || left(1 $0)==[&]) { return $0 }{ return #$0 } -alias wc {^window new hide swap last double on} + alias wj { if (![$0]) { xecho -b usage: /wj [key] @@ -19,13 +20,14 @@ ^window refnum 1 } -alias msgwin {wc;wsl;window level msgs,notices;window name messages} -alias dccwin {wc;wsl;window level dcc;window name dcc} +alias query { + window query $* +} alias wq { if (#) { window new_hide swap last double on query $0 - } elsif (Q) { + } elsif (Q) { query ^window $winnum() kill } @@ -36,72 +38,60 @@ window swap $pop($notifywindows()) } -alias wsa ^_wsact - -alias query { - window query $* -} - -alias wsc {^window refnum $0} +## multiserv stuff. alias wcs if ([$0]) { ^window new server $0 double on hide swap last channel "$channame($1) $2-" }{ xecho -b usage: /wcs server channel key } +alias wns wcs $* -alias win1 ^window swap 1 -alias win2 ^window swap 2 -alias win3 ^window swap 3 -alias win4 ^window swap 4 -alias win5 ^window swap 5 -alias win6 ^window swap 6 -alias win7 ^window swap 7 -alias win8 ^window swap 8 -alias win9 ^window swap 9 -alias win10 ^window swap 10 +# Returns the names of all channels belonging to a specific window. +# If no window is specified the current window is used. +# Taken from darkstar. +alias winchannels (win default "$winnum()", void) +{ + @ :serv = winserv($win); + for chan in ($mychannels($serv)) + { + xeval -s $serv { + if (winchan($chan) == win) { + @ push(function_return $chan); + }; + }; + }; +}; -alias 1 ^window swap 1 -alias 2 ^window swap 2 -alias 3 ^window swap 3 -alias 4 ^window swap 4 -alias 5 ^window swap 5 -alias 6 ^window swap 6 -alias 7 ^window swap 7 -alias 8 ^window swap 8 -alias 9 ^window swap 9 -alias 0 ^window swap 10 -alias 11 ^window swap 11 -alias 12 ^window swap 12 -alias 13 ^window swap 13 -alias 14 ^window swap 14 -alias 15 ^window swap 15 -alias 16 ^window swap 16 -alias 17 ^window swap 17 -alias 18 ^window swap 18 -alias 19 ^window swap 19 -alias 20 ^window swap 20 -alias 21 ^window swap 21 -alias 22 ^window swap 22 -alias 23 ^window swap 23 -alias 24 ^window swap 24 -alias 25 ^window swap 25 - -alias wk {window killswap} +## shortend aliases. +alias wc {^window new hide swap last double on} +alias msgwin {wc;wsl;window level msgs,notices;window name messages} +alias dccwin {wc;wsl;window level dcc;window name dcc} +alias wsa ^_wsact alias wlk {part $C;wk} -alias wl window list -alias wns wcs $* + +## misc. +alias wflush window flush_scrollback +alias cls clear +alias clsa {clear -ALL} + +## for Alien88 +alias wnc2 {window new hide swap last double on split off channel $0 $1 $2} + +## misc query qwin/name aliases. alias qw wq $* alias q query $* alias dq window remove $* alias qd dq $* +alias wadd window add $* +alias rwadd dq $* + +## topwin stuff for broken topwin module. alias topoff window toplines 0 alias topdel topoff alias rtop topoff -alias wadd window add $* -alias rwadd dq $* + +## window shortcuts. alias wsl {window swap last} -alias wsq {window swap $,} -alias wqs wsq alias wka wkh alias wkh {window kill_all_hidden} alias wko {window kill_others} @@ -110,6 +100,11 @@ alias ws {window swap} alias wn {window next} alias wp {window previous} +alias wk {window killswap} +alias wlk {part $C;wk} +alias wl window list + +## window toggles/config/options alias wname {window name $*} alias wlog window log toggle alias wfile window logfile $* @@ -122,14 +117,8 @@ alias wfix window fixed toggle alias wlast window lastlog $* alias whold window hold_mode toggle -alias wflush window flush_scrollback -alias cls clear -alias clsa {clear -ALL} -## for Alien88 -alias wnc2 {window new hide swap last double on split off channel $0 $1 $2} - -## from blackjac's script. SentinelX?. +## window toggle simplification. /* Copyright (c) 2003 David B. Kratter (BlackJac@EFNet) This will allow you to toggle between hidden windows 1 through 20 more @@ -159,31 +148,30 @@ bind ^[$tt parse_command toggle.window $tt } -alias visiblewins (void) -{ - for wref in ($winrefs()) - { - if (winvisible($wref) > 0) { - @ push(:ret $wref); - }; - }; - @ function_return = revw($ret); -}; - -# Returns the names of all channels belonging to a specific window. -# If no window is specified the current window is used. -# Taken from darkstar. -alias winchannels (win default "$winnum()", void) -{ - @ :serv = winserv($win); - for chan in ($mychannels($serv)) - { - xeval -s $serv { - if (winchan($chan) == win) { - @ push(function_return $chan); - }; - }; - }; -}; +alias 1 ^window swap 1 +alias 2 ^window swap 2 +alias 3 ^window swap 3 +alias 4 ^window swap 4 +alias 5 ^window swap 5 +alias 6 ^window swap 6 +alias 7 ^window swap 7 +alias 8 ^window swap 8 +alias 9 ^window swap 9 +alias 0 ^window swap 10 +alias 11 ^window swap 11 +alias 12 ^window swap 12 +alias 13 ^window swap 13 +alias 14 ^window swap 14 +alias 15 ^window swap 15 +alias 16 ^window swap 16 +alias 17 ^window swap 17 +alias 18 ^window swap 18 +alias 19 ^window swap 19 +alias 20 ^window swap 20 +alias 21 ^window swap 21 +alias 22 ^window swap 22 +alias 23 ^window swap 23 +alias 24 ^window swap 24 +alias 25 ^window swap 25 oof diff -aruN amn.orig/core/winhelp.m amn/core/winhelp.m --- amn.orig/core/winhelp.m Tue Aug 30 01:18:18 2005 +++ amn/core/winhelp.m Fri Sep 2 12:10:24 2005 @@ -16,14 +16,14 @@ echo wka <window kill all_hidden> attempts to kill all hidden windows. echo wko <window kill others> attempts to kill other windows on the screen if visible. echo wsl <window swap last> swaps to your last window. + echo wsa <window swap act> swaps to your activity window(s) from statbar. ie: act(3,4) echo wl <window list> lists windows in use - echo wsg <window grow> grows current window ie: /wg 7 - echo wss <window shrink> shrinks current window ie: /ws 7 + echo wsg <window grow> grows current window ie: /wsg 7 + echo wss <window shrink> shrinks current window ie: /wss 7 echo 1-25 <swap windows> swap windows ie: /1 for window 1 /2 for window 2 etc.. echo wlog <window log> toggles window logging echo wflush <window flush> window flush the scroll back epic5-0.0.6 and higher. - echo wfile <window logfile> sets logfile for current window - echo wlevel <window levels> changes level of current window ie: /wi + echo wlevel <window levels> changes level of current window echo msgwin <msg window> wsl's then it wc's a window bound to msgs,notices echo --------------------------------------------------------------------------- Date: Fri, 2 Sep 2005 15:19:32 -0400 (EDT) From: zak@ircii.org (Zak) -documentation updates/added some cleanups, make use of elite /trickle. with some aliases, see /thelp. and read changelog. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 2 12:33:58 2005 +++ amn/CHANGES Fri Sep 2 15:14:47 2005 @@ -219,3 +219,13 @@ functions i have no idea what they were used for, better commenting. -fix up some things in aliases.m -winhelp documentation corrections. +-new extended menu based help documentation /thelp for the irc swiss army + knife ;D see /ehelp as well. +-updated some docs in /winhelp. +-add some ereet aliases that uses the power of /trickle see /thelp. +-change some default fkey settings. +-kreca doesn't understand the meaning of modules and functions that + needs a module to work obviously aint going to work without a module!, + move the lp/lpaste stuff into the relay module. and allow it to work + in current output window. +-update patchlevel. diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Sep 2 12:35:11 2005 +++ amn/amn.epic Fri Sep 2 15:01:33 2005 @@ -98,7 +98,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[22] +@commit_id=[23] @a.rel=[1.1d p/$commit_id] @a.date=[20050831] @_ss=[15] @@ -108,17 +108,17 @@ @kickops=[off] @togpager=[off] @fke1=[wholeft] -@fke2=[who] -@fke3=[lusers] +@fke2=[wl] +@fke3=[wsa] @fke4=[scan] -@fke5=[wl] +@fke5=[uptime] @fke6=[dcc] -@fke7=[uptime] -@fke8=[window] +@fke7=[listchan] +@fke8=[listbot] @fke9=[config] @fke10=[userlist] @fke11=[shitlist] -@fke12=[listbot] +@fke12=[ehelp] @savepath=[~/.amn/] @crapl=[on] @msgl=[on] diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Fri Sep 2 12:30:55 2005 +++ amn/core/alias.m Fri Sep 2 15:06:59 2005 @@ -44,9 +44,8 @@ alias sc scan $* alias signoff bye $* alias quit bye $* -alias lpaste say $line(${[$0]?[$0]:1}) +alias lpaste msg $T $line(${[$0]?[$0]:1}) alias ismask {return ${pass(!@ $0) ? 1 : 0}} -alias lp lpaste alias recho eval echo $* alias save saveall alias rsay eval say $* diff -aruN amn.orig/core/ehelp.m amn/core/ehelp.m --- amn.orig/core/ehelp.m Thu Sep 1 21:23:10 2005 +++ amn/core/ehelp.m Fri Sep 2 14:42:50 2005 @@ -13,6 +13,7 @@ echo rhelp <relay help> relay/paste help menu. [module] echo winhelp <window help> window shortcuts help menu. [core] echo smhelp <special modes> exempt modes cmds help menu. [core] + echo thelp <trickle help> the irc swiss army knife menu. [core] echo ---------------------------------------------------------------------- } diff -aruN amn.orig/core/trickle.m amn/core/trickle.m --- amn.orig/core/trickle.m Tue Aug 30 00:45:39 2005 +++ amn/core/trickle.m Fri Sep 2 14:51:54 2005 @@ -31,4 +31,43 @@ } -alias filter trickle $* +## trickle example swiss army knife features. +alias filter {trickle $*} +alias tscan {trickle $C $* who} +alias tdeop {trickle $C $* deop} +alias top {trickle $C $* op} +alias tkick {trickle $C $* kick} +alias tbk {trickle $C $* bk} +alias tfuck {trickle $C $* fuck} + +alias thelp { + if (!$[0]) { + +echo -------------= Trickle IRC Swiss Army Knife Help =------------- + +echo tscan /tscan [ident@host] specified match will show user(s) in +echo current chan. +echo tdeop /tdeop [ident@host] specified match will deop user(s) in +echo current chan. +echo tkick /tkick [ident@host] specified match will kick user(s) in +echo current chan. +echo tbk /tbk [ident@host] specified match will bankick user(s) +echo in current chan. +echo top /top [ident@host] specified match will op user(s) in +echo current chan. +echo common /common #somechan will compare nicks between current and +echo specified chan. +input_char "menu paused, hit the ANY key to continue. " +pause +echo +echo /trickle can do a wide variety of commands/matches these are just +echo some of the quick aliases which makes usage of /trickle. +echo some /trickle usage examples. +echo /trickle #somechan *!*@*aol.com kill +echo /trickle #somechan *!ident@* voice +echo /trickle * wildcard is not working at this time. +echo /filter is also aliased to trickle for those who can't remember the cmd. +echo --------------------------------------------------------------------- + + } +} diff -aruN amn.orig/core/winhelp.m amn/core/winhelp.m --- amn.orig/core/winhelp.m Fri Sep 2 12:10:24 2005 +++ amn/core/winhelp.m Fri Sep 2 14:50:13 2005 @@ -16,6 +16,8 @@ echo wka <window kill all_hidden> attempts to kill all hidden windows. echo wko <window kill others> attempts to kill other windows on the screen if visible. echo wsl <window swap last> swaps to your last window. + input_char "menu paused hit the ANY key to continue " + pause echo wsa <window swap act> swaps to your activity window(s) from statbar. ie: act(3,4) echo wl <window list> lists windows in use echo wsg <window grow> grows current window ie: /wsg 7 diff -aruN amn.orig/modules/relay/relay.m amn/modules/relay/relay.m --- amn.orig/modules/relay/relay.m Thu Sep 1 21:54:30 2005 +++ amn/modules/relay/relay.m Fri Sep 2 15:07:50 2005 @@ -2,6 +2,9 @@ #modified by crapple for the far greater good on 7/31/05! BYE BYE POISON! +alias lpaste msg $T $line(${[$0]?[$0]:1}) +alias lp lpaste + alias paste relw ^set output_rewrite $_paste($1-)$1- @@ -229,7 +232,7 @@ echo -----------------------= Relay Help =-------------------------- -echo lpaste /lpaste will paste to current channel last line recieved. +echo lpaste /lpaste will paste to current window last line recieved. echo relm /relm then to paste msg lines in buffer. echo relsm /relsm then to paste sent msg lines in buffer. echo reln /reln then to paste notice lines in buffer. From: Kreca Date: Fri, 2 Sep 2005 23:43:23 +0200 (CEST) Cleanup and separation notify.m logging. Use addmod notifylog to use it Remove timestamp (old config s). This was completley useless and never worked anyways. diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Fri Sep 2 21:14:47 2005 +++ /home/kreca/cvs/amn/CHANGES Fri Sep 2 23:40:52 2005 @@ -229,3 +229,7 @@ move the lp/lpaste stuff into the relay module. and allow it to work in current output window. -update patchlevel. +-^^crapple must've been smoking the crackpipe this evening ;( //kreca +-separate the notify and notifylogging. To use notifylogging from now on, do addmod notifylog. //kreca +-add notify signoff logging as an option to the notifylogging module. /config s to configure. //kreca +-indentaion cleanup and removal of timestamp output for each row. //kreca diff -aruN /home/kreca/cvs/amn.orig/amn.epic /home/kreca/cvs/amn/amn.epic --- /home/kreca/cvs/amn.orig/amn.epic Fri Sep 2 21:01:33 2005 +++ /home/kreca/cvs/amn/amn.epic Fri Sep 2 23:19:45 2005 @@ -59,7 +59,7 @@ eval set word_break $strip(. $word_break) ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### -@_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] +@_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy notifylog] ## colour vars. @ cl = [\\[0m] @@ -138,7 +138,6 @@ @autoget=[off] @_jwin=[on] @_pubnick=N -@_tsop=[off] @_tss=[on] @_r2=[dugewfe] @_r3=[efguowe] @@ -222,14 +221,6 @@ } } -alias _timestamp { - if (_tsop==[on]) { - @_ts=[Z] - ^set output_rewrite $$_paste($1-) $$fparse(format_timestamp $($_ts))$$1- - }{ - ^set output_rewrite $$_paste($1-)$$1- - } -} ## end timestamp stuff. ## core loading stuff. @@ -302,7 +293,6 @@ @adf=[0] @percent=[0] ^_ob -^_timestamp ^_timestampsome ^_loadup ^eval ^load $(savepath)$fsetsavefile diff -aruN /home/kreca/cvs/amn.orig/core/config /home/kreca/cvs/amn/core/config --- /home/kreca/cvs/amn.orig/core/config Tue Aug 30 10:03:18 2005 +++ /home/kreca/cvs/amn/core/config Fri Sep 2 23:15:09 2005 @@ -29,4 +29,3 @@ eval aecho --------------------------= Oper Settings =----------------------- printsection oper eval aecho ------------------------------------------------------------------ -eval aecho Note: some of these settings require modules loaded to work! diff -aruN /home/kreca/cvs/amn.orig/core/config.m /home/kreca/cvs/amn/core/config.m --- /home/kreca/cvs/amn.orig/core/config.m Wed Aug 31 15:53:37 2005 +++ /home/kreca/cvs/amn/core/config.m Fri Sep 2 23:08:34 2005 @@ -22,7 +22,7 @@ (p) {setorig $choice} (q) {jwin $choice} (r) {_pubn $choice} - (s) {_tsmp $choice} + (s) {nsotog $choice} (t) {_tsmps $choice} (u) {ovsize $choice} (v) {ovmode $choice} @@ -41,21 +41,6 @@ xecho -v (abot).. not showing passwords } } - -alias _tsmp { - if (![$0]) { - xecho -v [a+c] timestamp set to "$_tsop" - } - if (match($0 on off)) { - @_tsop = [$0] - _timestamp $_tsop - xecho -v [a+c] timestamp set to "$_tsop" - }{ - if ([$0]&&!match($0 on off)) { - xecho -v [a+c] invalid choice - } - } -} alias osetitem { diff -aruN /home/kreca/cvs/amn.orig/core/fsets.m /home/kreca/cvs/amn/core/fsets.m --- /home/kreca/cvs/amn.orig/core/fsets.m Fri Sep 2 04:37:48 2005 +++ /home/kreca/cvs/amn/core/fsets.m Fri Sep 2 23:10:05 2005 @@ -1,5 +1,5 @@ subpackage fsets -@fwords=[format_scan_onjoin_nicks_border format_scan_nicks_border format_scan_onjoin_nicks format_scan_users_op format_scan_users_non format_scan_users_voc format_scan_users format_scan_header format_scan_nicks format_scan_footer format_timestamp format_timestamp_some format_who format_who_footer format_whois_signon format_whois_actual format_who format_whois_header format_whois_admin format_whois_nick format_whois_name format_whois_channels format_whois_server format_whois_away format_whois_operator format_whois_idle format_whois_unknown format_whois_footer format_whowas_header format_whowas_nick format_whowas_name format_whowas_unknown format_whowas_footer format_sort format_user_non format_chops format_bwall format_msg format_send_msg format_public format_send_public format_public_other format_signoff format_join format_leave format_mode format_notice format_public_notice format_send_notice format_send_dcc_chat format_dcc_chat format_topic format_ctcp format_send_ctcp format_nick_comp format_sv format_wall format_away format_back format_action format_action_other format_desc format_send_desc format_wallop format_nickname format_invite format_dcc_connect format_dcc_request format_kick format_ctcp_reply format_server_notice format_dcc_lost_chat format_dcc_lost_file format_dcc_done_file] +@fwords=[format_scan_onjoin_nicks_border format_scan_nicks_border format_scan_onjoin_nicks format_scan_users_op format_scan_users_non format_scan_users_voc format_scan_users format_scan_header format_scan_nicks format_scan_footer format_timestamp_some format_who format_who_footer format_whois_signon format_whois_actual format_who format_whois_header format_whois_admin format_whois_nick format_whois_name format_whois_channels format_whois_server format_whois_away format_whois_operator format_whois_idle format_whois_unknown format_whois_footer format_whowas_header format_whowas_nick format_whowas_name format_whowas_unknown format_whowas_footer format_sort format_user_non format_chops format_bwall format_msg format_send_msg format_public format_send_public format_public_other format_signoff format_join format_leave format_mode format_notice format_public_notice format_send_notice format_send_dcc_chat format_dcc_chat format_topic format_ctcp format_send_ctcp format_nick_comp format_sv format_wall format_away format_back format_action format_action_other format_desc format_send_desc format_wallop format_nickname format_invite format_dcc_connect format_dcc_request format_kick format_ctcp_reply format_server_notice format_dcc_lost_chat format_dcc_lost_file format_dcc_done_file] ^on ^set "format_*" { if ([$0]) { if (!pattern(*$0* $fwords)) { @@ -54,7 +54,6 @@ @ format_public_notice = [%K-%n$$1%K:%n$$2%K-%n $$3-] @ format_who=[ %K[%C³%K] %c$$[10]center(10 $2) $[20]center(20 %K\\\(%n$$4%W@%n$$5%K\\\)) %K[%n$$[3]3%K] [%n$$6%m/%c$$8-%K]] @ format_who_footer=[ ÀÄÄÄÄÄ---%cÄ%C--%cÄÄ%C-%cÄÄÄÄÄÄ---%KÄ%c--%KÄÄ%c-%KÄÄÄÄÄÄÄÄÄ--- -- -] -@ format_timestamp=[$$(hblk)[$$(cl)$$1$$(hblk)]$$(cl) ] ## who fsets. ^on ^who * { diff -aruN /home/kreca/cvs/amn.orig/core/mod.m /home/kreca/cvs/amn/core/mod.m --- /home/kreca/cvs/amn.orig/core/mod.m Fri Sep 2 03:01:03 2005 +++ /home/kreca/cvs/amn/core/mod.m Fri Sep 2 23:19:18 2005 @@ -1,7 +1,4 @@ subpackage mod -## last modified by crapple 6/12/05 - -@_modules=[flood ncomp aol lsay sprot query abot away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy] alias vmod {xecho -v valid modules are [$_modules]} alias smod vmod diff -aruN /home/kreca/cvs/amn.orig/core/notify.m /home/kreca/cvs/amn/core/notify.m --- /home/kreca/cvs/amn.orig/core/notify.m Tue Aug 30 10:08:33 2005 +++ /home/kreca/cvs/amn/core/notify.m Thu May 26 06:20:27 2005 @@ -1,49 +1,10 @@ -subpackage notify +package notify ^on ^notify_signon * { - @fd = open(~/.amn/notify.log W); - @write($fd SIGNON by $0 \($userhost()\) $1- on $strftime(%x at %X)); - @close($fd); awecho $G $(c1)signon $(cl)by $(c1)$0$(hblk)!$(cl)$sar(g/@/$(hblk)@$(cl)/$1-) at $Z } - ^on ^notify_signoff * { awecho $G $(c1)signoff $(cl)by $(c1)$0 at $Z } -#notify aliases. -alias rnlog { - if (fexist(~/.amn/notify.log) == -1) { - xecho -v -b notify log file does not exist. - }{ - input "remove log? [y|n]: " { - if ([$0]==[y]) { - exec rm ~/.amn/notify.log - xecho -v -b ~/.amn/notify.log deleted - }{ - xecho -v -b rnlog canceled - } - } - } -} - -alias ncache { - more ~/.amn/notify.log - } - -alias nread ncache -alias nlist ncache -alias rmnlog rnlog - -alias _nsslog { - if (![$0]) { - xecho -v [a+c] notify signon log set to "$nsslog" - } - if (match($0 on off)) {@nsslog = [$0] - xecho -v [a+c] notify signon log set to "$nsslog" - }{ - if ([$0]&&!match($0 on off)) { - xecho -v [a+c] invalid choice - } - } -} + diff -aruN /home/kreca/cvs/amn.orig/core/save.m /home/kreca/cvs/amn/core/save.m --- /home/kreca/cvs/amn.orig/core/save.m Fri Sep 2 05:33:39 2005 +++ /home/kreca/cvs/amn/core/save.m Fri Sep 2 23:09:00 2005 @@ -42,7 +42,6 @@ @write($savemt @_ort = [$_ort]) @write($savemt @_jwin = [$_jwin]) @write($savemt @_pubnick = [$_pubnick]) - @write($savemt @_tsop = [$_tsop]) @write($savemt @_tss = [$_tss]) @write($savemt @_ovsize = [$_ovsize]) @write($savemt @_ovmode = [$_ovmode]) @@ -174,7 +173,7 @@ alias saveall { -@_savevar=[csave asave fsave botsave shitsave usersave fsetsave chansave wordssave modsave igsave] +@_savevar=[csave asave fsave botsave shitsave usersave fsetsave chansave wordssave modsave igsave nsave] fe ($_savevar) n1 { if (match($n1 $aliasctl(alias match *))) { $n1 diff -aruN /home/kreca/cvs/amn.orig/modules/notifylog/config /home/kreca/cvs/amn/modules/notifylog/config --- /home/kreca/cvs/amn.orig/modules/notifylog/config Thu Jan 1 01:00:00 1970 +++ /home/kreca/cvs/amn/modules/notifylog/config Fri Sep 2 23:15:19 2005 @@ -0,0 +1,2 @@ +eval osetitem misc (s) Log notify signoffs: [$nsolog] + diff -aruN /home/kreca/cvs/amn.orig/modules/notifylog/notifylog.m /home/kreca/cvs/amn/modules/notifylog/notifylog.m --- /home/kreca/cvs/amn.orig/modules/notifylog/notifylog.m Thu Jan 1 01:00:00 1970 +++ /home/kreca/cvs/amn/modules/notifylog/notifylog.m Fri Sep 2 23:34:30 2005 @@ -0,0 +1,71 @@ +subpackage notify +@nsolog=[off] +@nfile=[$(savepath).a.notify.save] +@nlogfile=[$(savepath)notify.log] + + +^on #-notify_signon 10 * { + @fd = open($nlogfile W); + @write($fd SIGNON by $0 \($userhost()\) $1- on $strftime(%x at %X)); + @close($fd); + +} + + +^on #-notify_signoff 10 * { + if ( nsolog == [on] ) { + @fd = open($nlogfile W); + @write($fd SIGNOFF by $0 $1- on $strftime(%x at %X)); + @close($fd); + } +} + +alias nsotog { + if ( [$#] ==0) { + xecho -v [a+c] notify signoff log toggle is set to "$nsolog" + } + if (match($0 on off)) { + @nsolog = [$0] + xecho -v [a+c] notify signoff log toggle is set to "$nsolog" + }{ + if ( [$#] &&!match($0 on off)) { + xecho -v [a+c] invalid choice, on or off. + } + } +} + + +#notify aliases. +alias rnlog { + if (fexist($nlogfile) == -1) { + xecho -v -b notify log file does not exist. + }{ + input "remove log? [y|n]: " { + if ([$0]==[y]) { + exec rm $nlogfile + xecho -v -b $nlogfile deleted + }{ + xecho -v -b rnlog canceled + } + } + } +} + + +alias ncache { + more $nlogfile +} + +alias nread ncache +alias nlist ncache +alias rmnlog rnlog + +alias nsave { + @rename($nfile $nfile~) + @savemt = open($nfile W T) + @write($savemt @nsolog=[$nsolog]) + @close($savemt) + xecho -v [mod] (bwk).. notify settings saved to $nfile +} + +^eval load $nfile diff -aruN /home/kreca/cvs/amn.orig/pasture/notify.m /home/kreca/cvs/amn/pasture/notify.m --- /home/kreca/cvs/amn.orig/pasture/notify.m Thu May 26 06:20:27 2005 +++ /home/kreca/cvs/amn/pasture/notify.m Thu Jan 1 01:00:00 1970 @@ -1,10 +0,0 @@ -package notify -^on ^notify_signon * { - awecho $G $(c1)signon $(cl)by $(c1)$0$(hblk)!$(cl)$sar(g/@/$(hblk)@$(cl)/$1-) at $Z -} - -^on ^notify_signoff * { - awecho $G $(c1)signoff $(cl)by $(c1)$0 at $Z -} - - Date: Fri, 2 Sep 2005 18:54:14 -0400 (EDT) From: zak@ircii.org (Zak) -removal of a lot of nonessential commands some fixes, moving things. etc.... //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 2 17:40:52 2005 +++ amn/CHANGES Fri Sep 2 18:53:04 2005 @@ -232,4 +232,12 @@ -^^crapple must've been smoking the crackpipe this evening ;( //kreca -separate the notify and notifylogging. To use notifylogging from now on, do addmod notifylog. //kreca -add notify signoff logging as an option to the notifylogging module. /config s to configure. //kreca --indentaion cleanup and removal of timestamp output for each row. //kreca \ No newline at end of file +-indentaion cleanup and removal of timestamp output for each row. //kreca +-cleanup of more crap, and removed lame commands, and some just cluttering + bloat commands like outputting /suptime /date like really who gives a shit. +-fixup of some minor things in notify.m and notifylog.m +-remove a lot of junk in mass.m and more to come up yet!. +-i'm not updating patchlevel this as it's not being snapshotted yet. +-oh fix a minor fuckup of forgetting to remove lpaste from alias.m when + my last commit insulted kreca about him not doing it, but i still stand + by my words!. diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Fri Sep 2 15:06:59 2005 +++ amn/core/alias.m Fri Sep 2 18:50:03 2005 @@ -44,7 +44,6 @@ alias sc scan $* alias signoff bye $* alias quit bye $* -alias lpaste msg $T $line(${[$0]?[$0]:1}) alias ismask {return ${pass(!@ $0) ? 1 : 0}} alias recho eval echo $* alias save saveall @@ -88,7 +87,6 @@ alias abwecho xecho -b -v $cparse($*) alias awecho xecho -v $cparse($*) alias aecho echo $cparse($*) -alias asay msg $C $cparse($*) alias abecho xecho -b -- $cparse($*) alias ce echo $cparse("$*") @@ -117,8 +115,6 @@ alias host //userhost $* alias realname {set realname $*} alias irchost hostname $* -alias date //time $* -alias show exec -msg $T $* alias unset set -$* alias unalias alias -$* @@ -159,18 +155,14 @@ ## compat aliases from other irc clients to emulate the same thing. alias awayt awaytime $* alias verk {massk $*} -alias unfuck ub alias csc clear;sc -alias massinvite {minv $*} ## exec commands. alias iwhois {exec whois $0 $*} -alias stime //exec -o date alias touch {exec touch $0- $*} alias ls ^exec ls -F $* alias osv {^exec -o uname -amnvp} alias ps ^exec ps $* -alias suptime exec uptime alias mkdir {exec mkdir $*} alias rm {exec rm -rf $*} alias hosts {exec host $*} @@ -182,7 +174,6 @@ alias cmd {set command_chars $*} alias debug {set debug $*} alias beep {set beep toggle} -alias pchan {set hide_private_channels toggle} alias lls {set lastlog $*} alias mirc {set mirc_broken_resume toggle} alias ircname {set realname $*} diff -aruN amn.orig/core/fkey.m amn/core/fkey.m --- amn.orig/core/fkey.m Tue Aug 30 01:29:14 2005 +++ amn/core/fkey.m Fri Sep 2 18:08:03 2005 @@ -125,7 +125,7 @@ } } } -alias do.fkey { + ^bind ^[[[A parse_command $fke1 ^bind ^[OP parse_command $fke1 ^bind ^[[11~ parse_command $fke1 @@ -147,5 +147,3 @@ ^bind ^[[21~ parse_command $fke10 ^bind ^[[23~ parse_command $fke11 ^bind ^[[24~ parse_command $fke12 -} -do.fkey diff -aruN amn.orig/core/mod.m amn/core/mod.m --- amn.orig/core/mod.m Fri Sep 2 17:19:18 2005 +++ amn/core/mod.m Fri Sep 2 17:56:52 2005 @@ -79,7 +79,7 @@ }{ @_mch1=sar(g/,/ /$0) fe ($_mch1) n1 { - if (!match($n1 $jot(1 24))) { + if (!match($n1 $jot(1 25))) { fe ($_mch1) n1 { ^unload $n1 @delitem(_mods $finditem(_mods $n1)) @@ -87,7 +87,7 @@ } } - if (match($n1 $jot(1 24))) { + if (match($n1 $jot(1 25))) { fe ($_mch1) n1 { ^push _mlist $getitem(_mods $n1) } diff -aruN amn.orig/core/notify.m amn/core/notify.m --- amn.orig/core/notify.m Thu May 26 00:20:27 2005 +++ amn/core/notify.m Fri Sep 2 17:54:05 2005 @@ -1,4 +1,4 @@ -package notify +subpackage notify ^on ^notify_signon * { awecho $G $(c1)signon $(cl)by $(c1)$0$(hblk)!$(cl)$sar(g/@/$(hblk)@$(cl)/$1-) at $Z } diff -aruN amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Fri Sep 2 12:17:17 2005 +++ amn/core/window.m Fri Sep 2 18:11:14 2005 @@ -33,10 +33,12 @@ } } -alias _wsact { - window swap $notifywindows() - window swap $pop($notifywindows()) -} +#alias _wsact { +# window swap $notifywindows() +# window swap $pop($notifywindows()) +#} +alias _wsact { window swap $leftw(1 $notifywindows()) +;} ## multiserv stuff. alias wcs if ([$0]) { diff -aruN amn.orig/modules/mass/mass.m amn/modules/mass/mass.m --- amn.orig/modules/mass/mass.m Thu Jul 21 18:50:12 2005 +++ amn/modules/mass/mass.m Fri Sep 2 18:13:29 2005 @@ -50,46 +50,3 @@ ^timer 50 ^on ^ctcp_reply -"% % VERSION *" } - -alias mnot { - if (![$0]) { - xecho -b syntax /mnot text to send to channel. - }{ - fe ($onchannel()) luser { - if (luser != [$N]) { - @push(lusers $luser) - } - } - fe ($lusers) o1 o2 o3 o4 o5 o6 o7 o8 { - ^quote NOTICE $o1,$o2,$o3,$o4,$o5,$o6,$o7,$o8 :$* - } - xecho -b mass noticing users with $* - } -} - -alias minv { - if (![$0]) { - xecho -b syntax /minv #chan - }{ - fe ($remw($N $chanusers())) o1 { - ^quote invite $o1 $0 - } - xecho -b mass inviting users from current channel to $0 - } -} - - -alias mmsg { - if (![$0]) { - xecho -b syntax /mmsg text to send to channel. - }{ - fe ($onchannel()) luser { - if (luser != [$N]) { - @push(lusers $luser) } - } - fe ($lusers) o1 o2 o3 o4 o5 o6 o7 o8 { - ^quote privmsg $o1,$o2,$o3,$o4,$o5,$o6,$o7,$o8 :$* - } - xecho -b mass msging users with $* - } -} diff -aruN amn.orig/modules/notifylog/notifylog.m amn/modules/notifylog/notifylog.m --- amn.orig/modules/notifylog/notifylog.m Fri Sep 2 17:34:30 2005 +++ amn/modules/notifylog/notifylog.m Fri Sep 2 17:53:35 2005 @@ -1,4 +1,4 @@ -subpackage notify +subpackage notifylog @nsolog=[off] @nfile=[$(savepath).a.notify.save] @nlogfile=[$(savepath)notify.log] @@ -65,7 +65,7 @@ @savemt = open($nfile W T) @write($savemt @nsolog=[$nsolog]) @close($savemt) - xecho -v [mod] (bwk).. notify settings saved to $nfile + xecho -v [mod] (notifylog).. notify settings saved to $nfile } ^eval load $nfile From: Kreca Date: Sat, 3 Sep 2005 02:24:23 +0200 (CEST) Large cleanup. Most notably changes are that default modules are in mod.defaults and "default" settings in set.m Read commit or CHANGES for more info diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Sat Sep 3 00:53:04 2005 +++ /home/kreca/cvs/amn/CHANGES Sat Sep 3 02:20:48 2005 @@ -241,3 +241,6 @@ -oh fix a minor fuckup of forgetting to remove lpaste from alias.m when my last commit insulted kreca about him not doing it, but i still stand by my words!. +-large cleanup to amn.epic and mod.m. Indentation fixed in some aliases aswell //kreca +-various stuff moved out to alias.m, hooks.m and operview.m //kreca +-split out all defaults in amn.epic to core/sets.m. Default modules are now located in mod.defaults //kreca diff -aruN /home/kreca/cvs/amn.orig/amn.epic /home/kreca/cvs/amn/amn.epic --- /home/kreca/cvs/amn.orig/amn.epic Fri Sep 2 23:19:45 2005 +++ /home/kreca/cvs/amn/amn.epic Sat Sep 3 02:22:09 2005 @@ -18,7 +18,7 @@ @epicver=word(0 $info(v)) if (epicver != [epic4] ) { ## functions for epic5 - ^load $(loadpath)core/compat.m + ^eval ^load $(loadpath)core/compat.m ## compiling sets... addset auto_rejoin bool; xaddset auto_rejoin_delay int; @@ -52,6 +52,8 @@ set -status_user set -status_format1 set -status_format2 +set quit_message $tolower($J) - $randread($(loadpath)quit.reasons) + window 1 level none window 1 double on window 1 name - @@ -59,144 +61,30 @@ eval set word_break $strip(. $word_break) ###### TOUCH BELOW THIS LINE AND YOU DESERVE WHATEVER YOU GET, SUCKA. ###### -@_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy notifylog] - -## colour vars. -@ cl = [\\[0m] -@ blk = [\\[0\;30m] -@ blu = [\\[0\;34m] -@ grn = [\\[0\;32m] -@ cyn = [\\[0\;36m] -@ red = [\\[0\;31m] -@ mag = [\\[0\;35m] -@ yel = [\\[0\;33m] -@ wht = [\\[0\;37m] -@ hblk = [\\[1\;30m] -@ hblu = [\\[1\;34m] -@ hgrn = [\\[1\;32m] -@ hcyn = [\\[1\;36m] -@ hred = [\\[1\;31m] -@ hmag = [\\[1\;35m] -@ hyel = [\\[1\;33m] -@ hwht = [\\[1\;37m] -@ bwht = [\\[47m] -@ bmag = [\\[45m] -@ bblu = [\\[44m] -@ bred = [\\[41m] -@ bblk = [\\[40m] -@ bgrn = [\\[42m] -@ byel = [\\[43m] -@ bcyn = [\\[46m] - -## default assigns -@_ort=[3] -@_bt=[3] -@bt_=[better] -@mfloodtimer=[10] -@msgfloodsensor=[60] -@awayt=[60] -@awayl=[on] -@awayr=[Not Here] -@a.ver=[amnesiac] -@commit_id=[23] -@a.rel=[1.1d p/$commit_id] -@a.date=[20050831] -@_ss=[15] -@_ovsize=[5] -@_ovmode=[fibxwzZsy] -@kickonban=[off] -@kickops=[off] -@togpager=[off] -@fke1=[wholeft] -@fke2=[wl] -@fke3=[wsa] -@fke4=[scan] -@fke5=[uptime] -@fke6=[dcc] -@fke7=[listchan] -@fke8=[listbot] -@fke9=[config] -@fke10=[userlist] -@fke11=[shitlist] -@fke12=[ehelp] -@savepath=[~/.amn/] -@crapl=[on] -@msgl=[on] -@notl=[on] -@plog=[on] -@dccl=[on] -@togaway=[off] -@savefile=[.a.save] -@fsavefile=[.a.fsave] -@igsfile=[.a.ig.save] -@csavefile=[.a.csave] -@fsetsavefile=[.a.fsetsave] -@nsavefile=[.a.nsavefile] -@modfile=[$(savepath).mod.save] -@getumode=[iw] -@showop=[off] -@autoget=[off] -@_jwin=[on] -@_pubnick=N -@_tss=[on] -@_r2=[dugewfe] -@_r3=[efguowe] -@_r4=[fgsiuso] -@_boxhead = [ $(hwht)Ú$(cl)Ä$cparse($(c1)Ä)$(cl)ÄÄÄÄÄ$cparse($(c1)ÄÄÄ)$cparse($(c2)ÄÄÄ)$cparse($(c1)Ä)$(cl)Ä$(hblk)Ä- - Ä -$(cl)] -@_boxfoot = [ $cparse($(c1)À)$cparse($(c3)Ä)$(hblk)- ÄÄ -$(cl)] -@_ubanself=[off] - -## default theme vars. -@mform=[39] -@smform=[52] -@pubform=[41] -@spubform=[41] -@spuboform=[53] -@pubnotform=[1] -@signform=[4] -@joinform=[16] -@leaveform=[3] -@modeform=[4] -@notform=[19] -@snotform=[21] -@sdcform=[19] -@dcform=[15] -@topform=[4] -@ctcpform=[3] -@sctcpform=[8] -@echostr=[57] -@ncomp=[15] -@svform=[18] -@snf=[3] -@wallform = [2] -@bwallform=[4] -@awayform=[5] -@actform=[3] -@descform=[2] -@sdescform=[1] -@statbar=[stat.11] -@whoform=[1] -@whofootform=[1] -@nickform=[3] -@timeform=[1] -@_whois=[4] - -## default color and sbar color var. -@c1 = [\\[0\;36m] -@c2 = [\\[1\;36m] -@c3 = [\\[0\;35m] -@c4 = [\\[1\;35m] -@c5 = [\\[0\;36m] -@sc1=[\\[0\;36m] -@sc2=[\\[1\;36m] -@sc3=[\\[0m] -@sc4=[\\[0\;34m] +if(epicver == [epic4] && V < 20040819){ + //quit wrong epic version, try the latest version of epic4. +} if (V < 20050315 ){ + //quit wrong epic version, try the latest version of epic5. +} +#supported modules +@_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy notifylog] ##poor mans THUTTUP on file not found loader. ^on ^yell * # ##end poor mans THUTTUP. +^eval ^load $(loadpath)core/sets.m + +#progress bar +@_pcnt=[0] +alias oof { + @_pcnt=_pcnt+1 + ^eval set input_prompt $$(hblk)[$$cparse($(c1)$[20]repeat($_pcnt þ))$$(hblk)] [$$(cl)${_pcnt*5}$$(hwht)%$$(hblk)] +} + +oof + ## load script files here. ^eval $mkdir($(savepath)) ^eval ^load $(savepath)$savefile @@ -206,115 +94,32 @@ ^eval ^load $(modfile) ^eval set banner $banner -## timestamps. -alias _timestampsome { - if (_tss==[on]) { - @_timess=[Z] - ^eval timeform.load $timeform - ^assign -zt - }{ - ^assign -_timess - ^assign -format_timestamp_some - ^set input_aliases on - ^assign ZT $(G) - ^set input_aliases off - } -} - -## end timestamp stuff. - -## core loading stuff. -alias fixterm { - exec echo '$chr(27)\(U' - xecho -r $chr(27)\(U - } - - -alias oof { - @adf=adf+1 - @percent=percent+5 - ^eval set input_prompt $$(hblk)[$$cparse($(c1)$[20]repeat($adf þ))$$(hblk)] [$$(cl)$(percent)$$(hwht)%$$(hblk)] - } - oof -alias _coreload { - fe ($glob($(loadpath)core\/*.m)) mod { - if ( mod != [$(loadpath)core/compat.m]) { - ^load $mod - } +## core loading stuff. +fe ($glob($(loadpath)core\/*.m)) mod { + if ( mod != [$(loadpath)core/compat.m] && mod != [$(loadpath)core/sets.m] ) { + ^load $mod } } ## startup default mods. -^_coreload -alias _moddefload { -@mods.1=[abot] -@mods.2=[away] -@mods.3=[dict] -@mods.4=[mass] -@mods.5=[mjoin] -@mods.6=[netsplit] -@mods.7=[oper] -@mods.8=[orignick] -@mods.9=[relay] -@mods.10=[tab] ^modload -} - -oof -@setitem(_mods 0 !) -if (fexist($modfile)==1) { -^modload -}{ -_moddefload -} - oof -## core loadup or quits client here. -alias _loadup { - ^load $(loadpath)ans/amc.load - wait - _center $a.ver/$a.rel for $(J)[$info(i)] loaded... - if(epicver == [epic4] && V < 20040819){ - //quit wrong epic version, try the latest version of epic4. - } if (V < 20050315 ){ - //quit wrong epic version, try the latest version of epic5. - } - } -oof ^fixterm - -oof ^update.f -^getusers oof -@adf=[0] -@percent=[0] -^_ob -^_timestampsome -^_loadup -^eval ^load $(savepath)$fsetsavefile -^eval set QUIT_MESSAGE $tolower($J) - $randread($(loadpath)quit.reasons) - -eval ^qsbar $after(. $statbar) -if (_winnames(Operview) > 0) { -^set status_format $(hblk)[$(sc1)operview$(hblk)] $(cl)%>$(hblk)\([$(cl)$servername($winserv(OperView))$(hblk)]\) -} -## umode hook +^getusers +oof -on -connect * { - _orb.relag - ^timer 1 ^mode $N +$getumode - ^qsbar $after(. $statbar) - } +^_timestampsome +# We're finished, display ans. +^eval ^load $(loadpath)ans/amc.load +wait +eval _center $a.ver/$a.rel for $(J)[$info(i)] loaded... -^on #-connect 53 * { -^set status_format $(hblk)[$(sc1)operview$(hblk)] $(cl)%>$(hblk)\([$(cl)$servername($winserv(OperView))$(hblk)]\) - if (!_pubnick) { - @_pubnick=N - } -} +^eval ^load $(savepath)$fsetsavefile +eval ^qsbar $after(. $statbar) diff -aruN /home/kreca/cvs/amn.orig/core/alias.m /home/kreca/cvs/amn/core/alias.m --- /home/kreca/cvs/amn.orig/core/alias.m Sat Sep 3 00:50:03 2005 +++ /home/kreca/cvs/amn/core/alias.m Sat Sep 3 01:44:45 2005 @@ -198,12 +198,35 @@ } ## long complex aliases below here. +alias fixterm { + exec echo '$chr(27)\(U' + xecho -r $chr(27)\(U +} + alias ibm437 fixterm alias latin1 { exec echo '$chr(27)\(B' xecho -r $chr(27)\(B } + +## timestamps. +alias _timestampsome { + if (_tss==[on]) { + @_timess=[Z] + ^eval timeform.load $timeform + ^assign -zt + }{ + ^assign -_timess + ^assign -format_timestamp_some + ^set input_aliases on + ^assign ZT $(G) + ^set input_aliases off + } +} + +## end timestamp stuff. + alias tig { if (igmask(*)) { diff -aruN /home/kreca/cvs/amn.orig/core/hooks.m /home/kreca/cvs/amn/core/hooks.m --- /home/kreca/cvs/amn.orig/core/hooks.m Tue Aug 30 06:12:20 2005 +++ /home/kreca/cvs/amn/core/hooks.m Sat Sep 3 01:47:47 2005 @@ -48,6 +48,20 @@ xecho -v [a+c] autogetting dcc $dccfile from $dccnick } } + +on #-connect 50 * { + if (!_pubnick) { + @_pubnick=N + } +} + +## umode hook + +on -connect * { + _orb.relag + ^timer 1 ^mode $N +$getumode + ^qsbar $after(. $statbar) +} alias dccag { if (![$0]) { diff -aruN /home/kreca/cvs/amn.orig/core/mod.m /home/kreca/cvs/amn/core/mod.m --- /home/kreca/cvs/amn.orig/core/mod.m Fri Sep 2 23:56:52 2005 +++ /home/kreca/cvs/amn/core/mod.m Sat Sep 3 02:17:47 2005 @@ -9,130 +9,120 @@ if (![$0]) { xecho -v [a+c] syn: /addmod module1,module2,etc.. xecho -v [a+c] valid modules are [$_modules] - }{ - @_ach=sar(g/,/ /$0) - - if ([$0]==[*]) { - @delarray(_mods) - fe ($_modules) a1 { + }{ + @_ach=sar(g/,/ /$0) + if ([$0]==[*]) { + @delarray(_mods) + fe ($_modules) a1 { @setitem(_mods 0 !) - @setitem(_mods $numitems(_mods) $a1) - - ^load $(loadpath)modules/$(a1)/$(a1).m - } - xecho -v [a+c] loaded modules $_modules - }{ - - fe ($_ach) n1 { - if (match($n1 $_modules) > 0 && finditem(_mods $n1) < 0) { + @setitem(_mods $numitems(_mods) $a1) + ^load $(loadpath)modules/$(a1)/$(a1).m + } + xecho -v [a+c] loaded modules $_modules + }{ + fe ($_ach) n1 { + if (match($n1 $_modules) > 0 && finditem(_mods $n1) < 0) { @setitem(_mods 0 !) - @setitem(_mods $numitems(_mods) $n1) - ^load $(loadpath)modules/$(n1)/$(n1).m - ^push _mlist $n1 - - }{ - - xecho -v [a+c] $n1 module not found or already loaded. - } - - } - if (_mlist) { - xecho -v [a+c] $_mlist module(s) loaded. - + @setitem(_mods $numitems(_mods) $n1) + ^load $(loadpath)modules/$(n1)/$(n1).m + ^push _mlist $n1 + }{ + xecho -v [a+c] $n1 module not found or already loaded. } - ^assign -_mlist + } + if (_mlist) { + xecho -v [a+c] $_mlist module(s) loaded. + } + ^assign -_mlist } -}} + } +} alias listmod { if (numitems(_mods) == 1) { xecho -v [a+c] no modules current on list - }{ - eval aecho -------------------------= Amnesiac Modules =-------------------- - - - for (@xx=1, xx= numitems(_mods) ) - { - @:mod2 = [] - } - { - @ :mod2 = [\(${xx+1}\) $getitem(_mods ${xx+1})] - } - echo $[30]mod1 $mod2 - } - eval aecho ------------------------------------------------------------------ - xecho -v [a+c] /vmod to list valid modules - + }{ + eval aecho -------------------------= Amnesiac Modules =-------------------- + for (@xx=1, xx= numitems(_mods) ) + { + @:mod2 = [] + } + { + @ :mod2 = [\(${xx+1}\) $getitem(_mods ${xx+1})] + } + echo $[30]mod1 $mod2 } + eval aecho ------------------------------------------------------------------ + xecho -v [a+c] /vmod to list valid modules + } } -alias delmod if ([$0]) { - if ([$0]==[*]) { - fe ($listarray(_mods)) n1 { - ^unload $n1 - } - @delarray(_mods) - @setitem(_mods 0 !) +alias delmod { + if ([$#]) { + if ([$0]==[*]) { + fe ($listarray(_mods)) n1 { + ^unload $n1 + } + @delarray(_mods) + @setitem(_mods 0 !) xecho -v [a+c] deleted all modules from list - }{ + }{ @_mch1=sar(g/,/ /$0) - fe ($_mch1) n1 { - if (!match($n1 $jot(1 25))) { - fe ($_mch1) n1 { - ^unload $n1 + fe ($_mch1) n1 { + if (!match($n1 $jot(1 $words($_modules)))) { + fe ($_mch1) n1 { + ^unload $n1 @delitem(_mods $finditem(_mods $n1)) - } } - - } - if (match($n1 $jot(1 25))) { - fe ($_mch1) n1 { - ^push _mlist $getitem(_mods $n1) - } - fe ($_mlist) n1 { - @_mdnum=finditem(_mods $n1) - @delitem(_mods $_mdnum) - ^unload $n1 - } - - ^assign -_mlist - } - - xecho -v [a+c] deleted module entry $_mch1 - } - - - -}{ - xecho -v [a+c] usage: /delmod num1,num2,etc.. or name1,name2,etc.. + } + } + if (match($n1 $jot(1 $words($_modules)))) { + fe ($_mch1) n1 { + ^push _mlist $getitem(_mods $n1) + } + fe ($_mlist) n1 { + @_mdnum=finditem(_mods $n1) + @delitem(_mods $_mdnum) + ^unload $n1 + } + ^assign -_mlist + } + xecho -v [a+c] deleted module entry $_mch1 + } + }{ + xecho -v [a+c] usage: /delmod num1,num2,etc.. or name1,name2,etc.. + } } alias modsave { - @modfile=[$(savepath).mod.save] @rename($modfile $modfile~) - @savemt = open($modfile W) + @savemt = open($modfile W) for (@xx=1, xx 0) { + ^set status_format $(hblk)[$(sc1)operview$(hblk)] $(cl)%>$(hblk)\([$(cl)$servername($winserv(OperView))$(hblk)]\) +} + + +^on #-connect 53 * { + ^set status_format $(hblk)[$(sc1)operview$(hblk)] $(cl)%>$(hblk)\([$(cl)$servername($winserv(OperView))$(hblk)]\) + if (!_pubnick) { + @_pubnick=N + } +} From: Kreca Date: Sat, 3 Sep 2005 02:53:30 +0200 (CEST) More cleanup. Bind meta-§ to wsa diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Sat Sep 3 02:20:48 2005 +++ /home/kreca/cvs/amn/CHANGES Sat Sep 3 02:52:13 2005 @@ -243,4 +243,7 @@ by my words!. -large cleanup to amn.epic and mod.m. Indentation fixed in some aliases aswell //kreca -various stuff moved out to alias.m, hooks.m and operview.m //kreca --split out all defaults in amn.epic to core/sets.m. Default modules are now located in mod.defaults //kreca +-split out all defaults in amn.epic to core/sets.m. Default modules are now located in mod.defaults //kreca +-add new alias, cat which behaves just like unix cat. Rip out ansi.m and replace it with evalcat in alias.m //kreca +-make format t use evalcat and fix indentation in alias format. //kreca +-bind alt-§ to the alias wsa (see description above) (the key to the left of 1) //kreca diff -aruN /home/kreca/cvs/amn.orig/core/alias.m /home/kreca/cvs/amn/core/alias.m --- /home/kreca/cvs/amn.orig/core/alias.m Sat Sep 3 01:44:45 2005 +++ /home/kreca/cvs/amn/core/alias.m Sat Sep 3 02:41:09 2005 @@ -228,6 +228,27 @@ ## end timestamp stuff. +alias cat { + if ([$#]) { + @:ansifile = open($0 R T) + while (!eof($ansifile)) { + echo $read($ansifile) + } + @close($ansifile) + } +} + +alias evalcat { + if ([$#]) { + @:ansifile = open($0 R T) + while (!eof($ansifile)) { + eval echo $read($ansifile) + } + @close($ansifile) + } +} + + alias tig { if (igmask(*)) { @jj=0 diff -aruN /home/kreca/cvs/amn.orig/core/ansi.m /home/kreca/cvs/amn/core/ansi.m --- /home/kreca/cvs/amn.orig/core/ansi.m Thu May 26 04:55:13 2005 +++ /home/kreca/cvs/amn/core/ansi.m Thu Jan 1 01:00:00 1970 @@ -1,10 +0,0 @@ -package ansi -## last modified by crapple 5/25/05 - -alias ansiload if ([$0]) { -@:ansifile = open($0 R T) -while (!eof($ansifile)) { -eval echo $read($ansifile) -} -@close($ansifile) -} diff -aruN /home/kreca/cvs/amn.orig/core/bind.m /home/kreca/cvs/amn/core/bind.m --- /home/kreca/cvs/amn.orig/core/bind.m Wed Aug 31 13:13:23 2005 +++ /home/kreca/cvs/amn/core/bind.m Sat Sep 3 02:49:25 2005 @@ -44,6 +44,7 @@ @ bindctl(sequence ^W^ set swap_next_window) @ bindctl(sequence ^WC set parse_command clear all) @ bindctl(sequence ^W^X set parse_command window swap last) +@ bindctl(sequence $chr(27 167) set parse_command ^_wsact) ## some other kinda weird bindings for some terms/others @ bindctl(sequence ^[^I set PARSE_COMMAND ^window next) diff -aruN /home/kreca/cvs/amn.orig/core/format.m /home/kreca/cvs/amn/core/format.m --- /home/kreca/cvs/amn.orig/core/format.m Fri Sep 2 15:04:43 2005 +++ /home/kreca/cvs/amn/core/format.m Sat Sep 3 02:41:14 2005 @@ -1,37 +1,41 @@ subpackage format -alias format if ([$0]) { - switch ($0) { - (a) { if (![$1]) {mform.show} {mform $1} } - (b) { if (![$1]) {smform.show} {smform $1} } - (c) { if (![$1]) {pubform.show} {pubform $1} } - (d) { if (![$1]) {spubform.show} {spubform $1} } - (e) { if (![$1]) {spuboform.show} {spuboform $1} } - (f) { if (![$1]) {signform.show} {signform $1} } - (g) { if (![$1]) {joinform.show} {joinform $1} } - (h) { if (![$1]) {leaveform.show} {leaveform $1} } - (i) { if (![$1]) {modeform.show} {modeform $1} } - (j) { if (![$1]) {notform.show} {notform $1} } - (k) { if (![$1]) {snotform.show} {snotform $1} } - (l) { if (![$1]) {sdcform.show} {sdcform $1} } - (m) { if (![$1]) {dcform.show} {dcform $1} } - (n) { if (![$1]) {topform.show} {topform $1} } - (o) { if (![$1]) {ctcpform.show} {ctcpform $1} } - (p) { if (![$1]) {sctcpform.show} {sctcpform $1} } - (q) { if (![$1]) {echostr.show} {echostr $1} } - (r) { if (![$1]) {ncomp.show} {ncomp $1} } - (s) { if (![$1]) {svform.show} {svform $1} } - (t) { if (![$1]) {ansiload $(loadpath)ans/scan.ans} {sformat $1;@snf=[$1]} } - (u) { if (![$1]) {nickform.show} {nickform $1} } - (v) { if (![$1]) {wallform.show} {wallform $1} } - (w) { if (![$1]) {awayform.show} {awayform $1} } - (x) { if (![$1]) {actform.show} {actform $1} } - (y) { if (![$1]) {xdescform.show} {xdescform $1} } - (z) { if (![$1]) {pubnotform.show} {pubnotform $1} } - (1) { if (![$1]) {load $(loadpath)ans/whois.ans} {1format $1;@_whois=[$1]}} - (2) { if (![$1]) {whoform.show} {whoform $1} } - (3) { if (![$1]) {timeform.show} {timeform $1} } +alias format { + if ([$#]) { + switch ($0) { + (a) { if ([$#] < 2) {mform.show} {mform $1} } + (b) { if ([$#] < 2) {smform.show} {smform $1} } + (c) { if ([$#] < 2) {pubform.show} {pubform $1} } + (d) { if ([$#] < 2) {spubform.show} {spubform $1} } + (e) { if ([$#] < 2) {spuboform.show} {spuboform $1} } + (f) { if ([$#] < 2) {signform.show} {signform $1} } + (g) { if ([$#] < 2) {joinform.show} {joinform $1} } + (h) { if ([$#] < 2) {leaveform.show} {leaveform $1} } + (i) { if ([$#] < 2) {modeform.show} {modeform $1} } + (j) { if ([$#] < 2) {notform.show} {notform $1} } + (k) { if ([$#] < 2) {snotform.show} {snotform $1} } + (l) { if ([$#] < 2) {sdcform.show} {sdcform $1} } + (m) { if ([$#] < 2) {dcform.show} {dcform $1} } + (n) { if ([$#] < 2) {topform.show} {topform $1} } + (o) { if ([$#] < 2) {ctcpform.show} {ctcpform $1} } + (p) { if ([$#] < 2) {sctcpform.show} {sctcpform $1} } + (q) { if ([$#] < 2) {echostr.show} {echostr $1} } + (r) { if ([$#] < 2) {ncomp.show} {ncomp $1} } + (s) { if ([$#] < 2) {svform.show} {svform $1} } + (t) { if ([$#] < 2) {evalcat $(loadpath)ans/scan.ans} {sformat $1;@snf=[$1]} } + (u) { if ([$#] < 2) {nickform.show} {nickform $1} } + (v) { if ([$#] < 2) {wallform.show} {wallform $1} } + (w) { if ([$#] < 2) {awayform.show} {awayform $1} } + (x) { if ([$#] < 2) {actform.show} {actform $1} } + (y) { if ([$#] < 2) {xdescform.show} {xdescform $1} } + (z) { if ([$#] < 2) {pubnotform.show} {pubnotform $1} } + (1) { if ([$#] < 2) {load $(loadpath)ans/whois.ans} {1format $1;@_whois=[$1]}} + (2) { if ([$#] < 2) {whoform.show} {whoform $1} } + (3) { if ([$#] < 2) {timeform.show} {timeform $1} } + } + }{ + load $(loadpath)ans/format.ans } -}{ load $(loadpath)ans/format.ans } +} alias mform if ([$0]) { From: Kreca Date: Sat, 3 Sep 2005 03:36:12 +0200 (CEST) -make bwk accept what kind of action that will be done upon the trigger. /addword word #chan . currently type can be bk and kick. Do some more cleanup to bwk.m diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Sat Sep 3 02:52:13 2005 +++ /home/kreca/cvs/amn/CHANGES Sat Sep 3 03:35:29 2005 @@ -246,4 +246,6 @@ -split out all defaults in amn.epic to core/sets.m. Default modules are now located in mod.defaults //kreca -add new alias, cat which behaves just like unix cat. Rip out ansi.m and replace it with evalcat in alias.m //kreca -make format t use evalcat and fix indentation in alias format. //kreca --bind alt-§ to the alias wsa (see description above) (the key to the left of 1) //kreca +-bind alt-§ to the alias wsa (see description above) (the key to the left of 1) //kreca +-make bwk accept what kind of action that will be done upon the trigger. /addword word #chan . + currently type can be bk and kick. Do some more cleanup to bwk.m //kreca diff -aruN /home/kreca/cvs/amn.orig/modules/bwk/bwk.m /home/kreca/cvs/amn/modules/bwk/bwk.m --- /home/kreca/cvs/amn.orig/modules/bwk/bwk.m Fri Sep 2 02:48:07 2005 +++ /home/kreca/cvs/amn/modules/bwk/bwk.m Sat Sep 3 03:33:17 2005 @@ -1,5 +1,7 @@ subpackage bwk +@wordsfile=[$(savepath).a.words.save] + ## some short form aliases. alias unword delword $* alias addw addword $* @@ -10,118 +12,125 @@ alias addword { if ( # < 2) { - xecho -v -b syn: /addword word #chan to bk a word in specified chan - }{ - @setitem(_words 0 !) - @setitem(_wordschan 0 !) - @setitem(_words $numitems(_words) $0) - @setitem(_wordschan $numitems(_wordschan) $1) - xecho -v -b added word $0 with channel $1 to word list - - } - - } + xecho -v -b syn: /addword word #chan [type] to bk a word in specified chan. + xecho -v -b type is eiter bk or kick. Default is bk. + }{ + @:bktype=[bk] + if ( # >= 3 && findw($2 bk kick)) { + @:bktype=[$2] + } + @setitem(_words 0 !) + @setitem(_wordschan 0 !) + @setitem(_wordstype 0 !) + @setitem(_words $numitems(_words) $0) + @setitem(_wordschan $numitems(_wordschan) $1) + @setitem(_wordstype $numitems(_wordstype) $bktype) + xecho -v -b added word $0 with channel $1 to word list. + } +} - alias listword { if (numitems(_words) == 1) { xecho -v -b no words current on list - }{ - banner.head - for (@xx=1, xx | word #chan - }{ - if ( # == 1) { - if ( [$0] > 0 && [$0] < numitems(_words)) - { - xecho -v -b deleted $getitem(_words $0) $getitem(_wordschan $0) from list - @delitem(_words $0) - @delitem(_wordschan $0) - }{ - xecho -v -b number out of range. - } + if (# == 1) { + if ( [$0] > 0 && [$0] < numitems(_words)) + { + xecho -v -b deleted $getitem(_words $0) $getitem(_wordschan $0) from list + @delitem(_words $0) + @delitem(_wordschan $0) + @delitem(_wordstype $0) }{ - if (rmatchitem(_words $0) >= 0) { - @delitem(_words $rmatchitem(_words $0)) - @delitem(_wordschan $rmatchitem(_wordschan $1)) - xecho -v -b deleted $0- from list - } + xecho -v -b number out of range. } + }{ + xecho -v -b syn: /delword } } ^on #-public 322 * { fe ($2-) a1 { - if (matchitem(_words $a1) > -1 && getitem(_wordschan $matchitem(_words *$a1*)) == [$1] && (ischanop($0 $1)==0 || kickops == [on])) { - //mode $1 +b $mask($_bt $userhost($0)) - //kick $1 $0 BWK $getitem(_words $matchitem(_words $a1)) + if (matchitem(_words $a1) > -1 && getitem(_wordschan $matchitem(_words *$a1*)) == [$1] && (ischanop($0 $1)==0 || kickops == [on])) { + @:mnum=matchitem(_words $a1) + if (getitem(_wordstype $mnum) != [kick]) { + //mode $1 +b $mask($_bt $userhost($0)) + } + //kick $1 $0 BWK $getitem(_words $mnum) } } } ^on #-public_other 322 * { fe ($2-) a1 { - if (matchitem(_words $a1) > -1 && getitem(_wordschan $matchitem(_words *$a1*)) == [$1] && (ischanop($0 $1)==0 || kickops == [on])) { - //mode $1 +b $mask($_bt $userhost($0)) - //kick $1 $0 BWK $getitem(_words $matchitem(_words $a1)) + if (matchitem(_words $a1) > -1 && getitem(_wordschan $matchitem(_words *$a1*)) == [$1] && (ischanop($0 $1)==0 || kickops == [on])) { + @:mnum=matchitem(_words $a1) + if (getitem(_wordstype $mnum) != [kick]) { + //mode $1 +b $mask($_bt $userhost($0)) + } + //kick $1 $0 BWK $getitem(_words $matchitem(_words $a1)) } } } -@wordsfile=[$(savepath).a.words.save] + alias wordssave { - @wordsfile=[$(savepath).a.words.save] @rename($wordsfile $wordsfile~) - @savemt = open($wordsfile W T) - for (@xx=1, xx <#channel> will bankick the nick that said -echo the specified channel. -echo delword /delword will delete specified ban word from list. -echo listword /listword will list words in bankick word list. -echo wordssave /wordssave will save the word list in bankick word list. -echo -= Wordkick Quick Aliases =- -echo unword/delword delbwk/delword -echo addw/addword addbwk/addword -echo bwk/listword - -echo ------------------------------------------------------------------- - } + echo -----------------------= Wordkick Help =-------------------------- + echo addword /addword <#channel> will bankick the nick that said + echo the specified channel. + echo delword /delword will delete specified ban word from list. + echo listword /listword will list words in bankick word list. + echo wordssave /wordssave will save the word list in bankick word list. + echo -= Wordkick Quick Aliases =- + echo unword/delword delbwk/delword + echo addw/addword addbwk/addword + echo bwk/listword + echo ------------------------------------------------------------------- } From: Kreca Date: Sat, 3 Sep 2005 03:47:54 +0200 (CEST) Fix typo in bwk. Move out 2 ans files to modules/adcc diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Sat Sep 3 03:35:29 2005 +++ /home/kreca/cvs/amn/CHANGES Sat Sep 3 03:46:29 2005 @@ -249,3 +249,4 @@ -bind alt-§ to the alias wsa (see description above) (the key to the left of 1) //kreca -make bwk accept what kind of action that will be done upon the trigger. /addword word #chan . currently type can be bk and kick. Do some more cleanup to bwk.m //kreca +-move out 2 ans to their proper place in the adcc module diff -aruN /home/kreca/cvs/amn.orig/ans/adcc.ans /home/kreca/cvs/amn/ans/adcc.ans --- /home/kreca/cvs/amn.orig/ans/adcc.ans Sun Jul 24 06:48:26 2005 +++ /home/kreca/cvs/amn/ans/adcc.ans Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ -^eval aecho $(hwht) ÚÄÄ$(c2)Ä$(hwht)Ä$(c2)ÄÄÄÄ$(c1)Ä$(c2)ÄÄ$(c1)ÄÄ-$(hblk) - - ú -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) $(hwht)am$(cl)nes$(hblk)iac$(cl) $(hwht)x$(cl)d$(hblk)cc -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) send $(hblk)-$(cl) (usage - /xdcc send [file]) -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) save $(hblk)-$(cl) saves current dcc settings -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) list $(hblk)-$(cl) lists current packs -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) offer $(hblk)-$(cl) creates new pack for offering files -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) doffer $(hblk)-$(cl) deletes specifed offered pack -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) load $(hblk)-$(cl) loads current adcc settings -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) plist $(hblk)-$(cl) publicly lists current packs to channel -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) timer $(hblk)-$(cl) sets timer on public plist in specified channel. -^eval aecho $(c1) À-$(hblk) -Ä- - - - - diff -aruN /home/kreca/cvs/amn.orig/ans/astats.ans /home/kreca/cvs/amn/ans/astats.ans --- /home/kreca/cvs/amn.orig/ans/astats.ans Mon May 2 15:51:59 2005 +++ /home/kreca/cvs/amn/ans/astats.ans Thu Jan 1 01:00:00 1970 @@ -1,9 +0,0 @@ -^eval aecho $(hwht) ÚÄÄ$(c2)Ä$(hwht)Ä$(c2)ÄÄÄÄ$(c1)Ä$(c2)ÄÄ$(c1)ÄÄ-$(hblk) - - ú -^eval aecho $(hblk)[$(c2)³$(hblk)] $(hwht)am$(cl)nes$(hblk)iac $(hwht)x$(cl)dc$(hblk)c $(cl)stats -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl)ptimer - $(hblk)[$(cl)$pts$(hblk)] -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl)sent - $(hblk)[$(cl)$fixsize($getitem(total 0))$(hblk)] -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl)top speed - $(hblk)[$(cl)$getitem(speed 0)kbs$(hblk)] -^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl)dcc chans - $(hblk)[$(cl)$dccchans$(hblk)] -^eval aecho $(hblk)[$(c2)³$(hblk)] -^eval aecho $(hblk)[$(c2)³$(hblk)] -^eval aecho $(c1) À-$(hblk) -Ä- - - - - diff -aruN /home/kreca/cvs/amn.orig/modules/adcc/adcc.ans /home/kreca/cvs/amn/modules/adcc/adcc.ans --- /home/kreca/cvs/amn.orig/modules/adcc/adcc.ans Thu Jan 1 01:00:00 1970 +++ /home/kreca/cvs/amn/modules/adcc/adcc.ans Sun Jul 24 06:48:26 2005 @@ -0,0 +1,11 @@ +^eval aecho $(hwht) ÚÄÄ$(c2)Ä$(hwht)Ä$(c2)ÄÄÄÄ$(c1)Ä$(c2)ÄÄ$(c1)ÄÄ-$(hblk) - - ú +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) $(hwht)am$(cl)nes$(hblk)iac$(cl) $(hwht)x$(cl)d$(hblk)cc +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) send $(hblk)-$(cl) (usage - /xdcc send [file]) +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) save $(hblk)-$(cl) saves current dcc settings +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) list $(hblk)-$(cl) lists current packs +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) offer $(hblk)-$(cl) creates new pack for offering files +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) doffer $(hblk)-$(cl) deletes specifed offered pack +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) load $(hblk)-$(cl) loads current adcc settings +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) plist $(hblk)-$(cl) publicly lists current packs to channel +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl) timer $(hblk)-$(cl) sets timer on public plist in specified channel. +^eval aecho $(c1) À-$(hblk) -Ä- - - - - diff -aruN /home/kreca/cvs/amn.orig/modules/adcc/adcc.m /home/kreca/cvs/amn/modules/adcc/adcc.m --- /home/kreca/cvs/amn.orig/modules/adcc/adcc.m Tue Aug 30 10:11:08 2005 +++ /home/kreca/cvs/amn/modules/adcc/adcc.m Sat Sep 3 03:45:50 2005 @@ -3,7 +3,7 @@ alias xdcc adcc alias adcc { if (![$0]) { - load $(loadpath)ans/adcc.ans + load $(loadpath)modules/adcc/adcc.ans } switch ($0) { (send) { @@ -452,5 +452,5 @@ alias adcc.stats { - load $(loadpath)ans/astats.ans + load $(loadpath)modules/adcc/astats.ans } diff -aruN /home/kreca/cvs/amn.orig/modules/adcc/astats.ans /home/kreca/cvs/amn/modules/adcc/astats.ans --- /home/kreca/cvs/amn.orig/modules/adcc/astats.ans Thu Jan 1 01:00:00 1970 +++ /home/kreca/cvs/amn/modules/adcc/astats.ans Mon May 2 15:51:59 2005 @@ -0,0 +1,9 @@ +^eval aecho $(hwht) ÚÄÄ$(c2)Ä$(hwht)Ä$(c2)ÄÄÄÄ$(c1)Ä$(c2)ÄÄ$(c1)ÄÄ-$(hblk) - - ú +^eval aecho $(hblk)[$(c2)³$(hblk)] $(hwht)am$(cl)nes$(hblk)iac $(hwht)x$(cl)dc$(hblk)c $(cl)stats +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl)ptimer - $(hblk)[$(cl)$pts$(hblk)] +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl)sent - $(hblk)[$(cl)$fixsize($getitem(total 0))$(hblk)] +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl)top speed - $(hblk)[$(cl)$getitem(speed 0)kbs$(hblk)] +^eval aecho $(hblk)[$(c2)³$(hblk)] $(cl)dcc chans - $(hblk)[$(cl)$dccchans$(hblk)] +^eval aecho $(hblk)[$(c2)³$(hblk)] +^eval aecho $(hblk)[$(c2)³$(hblk)] +^eval aecho $(c1) À-$(hblk) -Ä- - - - - diff -aruN /home/kreca/cvs/amn.orig/modules/bwk/bwk.m /home/kreca/cvs/amn/modules/bwk/bwk.m --- /home/kreca/cvs/amn.orig/modules/bwk/bwk.m Sat Sep 3 03:33:17 2005 +++ /home/kreca/cvs/amn/modules/bwk/bwk.m Sat Sep 3 03:46:50 2005 @@ -13,7 +13,7 @@ alias addword { if ( # < 2) { xecho -v -b syn: /addword word #chan [type] to bk a word in specified chan. - xecho -v -b type is eiter bk or kick. Default is bk. + xecho -v -b type is either bk or kick. Default is bk. }{ @:bktype=[bk] if ( # >= 3 && findw($2 bk kick)) { @@ -133,4 +133,4 @@ echo bwk/listword echo ------------------------------------------------------------------- } - + Date: Fri, 2 Sep 2005 23:49:36 -0400 (EDT) From: zak@ircii.org (Zak) -some minor changes and first actual amnesiac 1.1 release. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 2 21:46:29 2005 +++ amn/CHANGES Fri Sep 2 22:57:18 2005 @@ -1,252 +1,3 @@ -Changes since Amnesiac-1.0a-cvs14 - -8/7/05 --fix a window alias. and remove window name amnesiac on startup. //zak --sync version to reality. //zak --update TODO-BUGS //zak --update E5-KNOWNBUGS doc's from -HEAD. - -8/8/05 --added a new /format for nickname changes. Check /format u. - Made by violence, thanks! //kreca --possibly fixed the ignore save... oops //zak --some comment changes and documentation update somewhat. //zak --fix sbar num 11 to output proper format ops/non/voice it was using - vars i have no idea where they came from set it the way my script works - status_users2 = chops aka %2 users3 = nonops aka %3 and %4 = voice - remember this in the future should any of you guys do sbar formats. //zak --fix a couple of stupid forgotten usages of ADDING $* for some aliases - noticed by violence.... who missed this? and how/why? kreca??. - -8/9/05 --update E5-KNOWNBUGS documentation. --add a new whois format #6 based off default scrollz whois format which i've - been wanting for quite some time, which violence did for me, thanks a lot!. - //zak --the last of some-commands.txt removed since most of it is now all - documented in the new menuish help system /ehelp. - -8/13/05 --rewrite dict module. Fixed the output, looks a lot better now and it'll -work fine with epic5. //kreca --turn off the annoying notify_on_termination per default. //zak --add a lusers.m patch/hack which still needs works on done //skullY. --move the topicwin module to pasture, until kreca does something about it. - too many complaints. it's a hack it's ugly. maybe it'll be fixed later - maybe it won't bug him if you want it fix ;p //zak --fix /config to work with the new_math_nicely_documented bullshit help - from kreca. //zak --fix amn.epic to update for new_math_bullshit //zak --fix all the formats.m to work with new math. //zak --release final snapshot for testing hopefully now we can get rid of - that damn poison. //zak --add a new statbar which works well with window double on/off and does not - use any form of /sbcolor so colors cannot be changed this way!, merged from - enigma a lot of ppl liked this statbar in the past i thought it's something - i should port over to amnesiac enjoy. //zak --add colours documents for ppl to know the color codes //zak --fix up /wq which was broken for quite some time like over 2 months and - kreca whines about it a lot so i thought i'd fix it for him it's real hard - too ;( //zak - --8/14/05 -finally made the dumb users knock attempts go into the channel that the -attempt was requested to, instead of spamming my other windows with the -useless shit it's said in public it looks something like this in the chan -the knock was request in you do not need to have that window active. -it'll do it 'automagically' for you. -[snapshot] -*** irc.umich.edu xcrapple!zak@ninja.alienz.net -with the knock with bold brackets and servername is in hred. //zak --update snapver so i know what ppl are using. //zak --make /me in dcc chats output to the correct window. Now it'll be easier -to igno^H^H^H^H understand what zak tells me in our chat sessions //kreca --make knock output look even nicer ;p! //kreca - --8/16/05 --silence the annoying 'window not found' requested by adam even i find this - kinda annoying //zak. --sync the TODO-BUGS to reality updating some knownbugs. mainly in snapshot. - ie; new /query /me stuff. //zak - --8/20/05 --change the dcc on hooks somewhat and make a bit more sense on connect/lost - closed etc.. please test the new /dcc chat /send etc.. formats and report - any problems or ok to me thanks. must do rm -rf ~/.amn/.a.fsetsave before - dumping/loading. requested by Alien88 //zak --update UPGRADE document. //zak --update E5-KNOWNBUGS epic5-0.0.6 users please read this!. //zak - --8/26/05 --revert out old cvs changes. //zak --update docs to reality. //zak --properly comment some code using ## instead of the old :: which has some - interesting issues in epic5. //zak --remove 2 emopart-reasons to make kreca kinda 'happy' //zak - -8/29/05 --add additional response as per grimzy's request users can now choose up to - 3 auto-response when your nick/saying shows up in bold. ie; /resp someword - /resp2 anotherword /resp3 anotherword and those 3 words will highlight when - said at this time /resp2 and /resp3 is not /saved per default. //zak --sync snapver. //zak --revert out kreca's dccme/me window correction stuff to go back to old - behavior for now until the bug is fixed. moved to pasture/ //zak --properly comment some stuff with ## instead of :: //zak --sync package with subpackage with files i've edited. //zak --clean up a bunch of cruft, arrange fsets.m a bit nicer //zak --fix up subpackages of statbars which might be causing some confusion //zak --fix /kickban yes it works again only with it's $kickreasons. so it's - /kickban nick not /kickban nick somereason. must use randreason at this - time. --add bantypes to /config /settings --set def randomcrap of resp2/resp3 so not everything highlights. //zak --add /wflush alias, this is for later versions of epic5-0.0.6cvs+ - to flush out the lastlog/scrollback in current window. //zak --add /ip6ban and /ip4ban aliases. //zak --move things from config.m to their respective modules like it should have - been done a long time ago. //zak --add /modeshow and /showmodes aliases to go with /extpub. --add dcc-attempts/logging into away again. and add into /config //zak --add operview options in settings/config. //zak --modify some things/rewording of orignick. //zak --sync version to a pre-release as i want to finish up some other things - before i release this out the door, this should be considered pretty stable - now compared to the previous snapshots //zak --modified /uptime to be a bit eliter, with some functional idea's from - fudd's darkstar script. //zak --change some fset formatting outputs for the better some less ansi, some - a bit more verbose/informative. //zak ie /topic /not. and /c --add a /unkey alias. //zak --couple additions into kick.reasons //zak --readd kreca's action.dcc/me fixes again with some slight mods - MAYBE it will fix the misdirected /me's this time. //zak --move the old action.m into pasture. //zak --fixed a really stupid incomplete mode array found by adam. thanks! //zak --removed a bunch of broken arrays in publics public_send public_others - there's about 20+ formats removed in some of them, please make sure you - guys update your themes in case those formats you used before did not - exist, and of course some things will probablly cross react with what - you had as a format before as those things are renumbered. //zak --added some new public formats and msg formats while playing around in - the arrays, and 3 new away formats. //zak --add a couple more arrays and fix up a couple.. //zak --no reproducing of the /me bug thus far. //zak --update my theme nocturnal //zak --made a bitchx like theme 'bitchx' //zak --minor query problem with statbar3 disabled it on second-stat //zak. --update the UPGRADE document. //zak --make delword in the bwk module accept numeric argument --update the TODO-BUGS documents a lot, looks like we're starting to - get somewhere! //zak --shorten up the /supt alias and a bit more verbose and allow for output - to any active window. --add another scan.fix alias for possible future usage of colorized scans. - //zak --sync E5-KNOWNBUGS document from -HEAD //zak --add new windowing binds and some windowing functions to make adam happy - home/end should work on weird terminals now. //zak --cleanups to /tig and /ignore. Bounds checking and sorted output //kreca --refix adam's bindings. //zak --remove adam's bindings. //zak --add adam to the greets/credits. --fix public notice form theme/save/startup settings and an odd mutilation - in save.m remove some stupid indentings in theme.m while i was in there - as well. and /resp2 /resp3 /resp4 are now saved. //zak --remove 4-5 themes i lost count. don't care. //zak - ^^ still more to come i'm sure. we have too many. --removed /mme and mme.m, no it's not going in pasture it's DEAD!. //zak --update all themes default versions to be a little less verbose per - default!. //zak --change our version ways to be more realistic. //zak --change /sv formats not to use $uname $client_info and a bit better - output. //zak --update my theme again(nocturnal) //zak --updated TODO-BUGS a bit more to my liking. //zak --organize/comment amn.epic a bit better and remove the stupid fparse - on startup. //zak --correctly fix/save/make the /resp2 /resp3 /resp4 the right way this - time. sorry if i caused any problems!. //zak - -9.1.05 --fix up some userlist module aliases noticed by adam. thanks! //zak --remove the old_math stuff in amn.epic i think we're 100% new_math - compatable now yay! --THIS TIME UPDATE THE PATCHLEVEL SO XAVIER DOESN'T REPORT IT AS A BUG! - -/* -move the changelog file to docs dir as CHANGES.old as this is getting - too FAT for ppl to track changes and change how we do ChangeLog - documentation. --move UPGRADE to docs as UPGRADE.old --update the new UPGRADE file to reality/simplification. --CHANGES - changes since last release. --docs/CHANGES.old - old changelog reformatted a bit won't be updated anymore -just there fore informative purposes. --docs/CHANGES.rel - past changes, after release. (nothing in here yet) --docs/UPGRADE.old - not updated anymore just there for informative purposes --UPGRADE - synced to reality. */ //zak --add a sample.epicrc in docs/ //zak --remove mangle_logfiles all from amn.epic ppl can set it in their - epicrc's. //zak --remove window 1 name on startup. slightly change comments in amn.epic --get rid of the annoying / mode format #1 that has bugged me for a long - time. //zak --cleanups in userlist.m and orignick.m --cleanups of some xecho module banners. and a few aliases remove/changed. --removed encryption module --update patchlevel. --update helpfiles more, added a new menu based help /rhelp see /ehelp --add timestamp formats this should make plenty of ppl happy especially -those who wanted seconds in their timestamps and a slightly diff output -ie; with or without brackets and diff color... /format 3 for the list. --update nocturnal theme to use my flavor of timestamp format. --update patchlevel --update TODO-BUGS regardning about broken timestamp formats with seconds. --add an alias written by adam which is kinda neat, /common to view common - users between channels ie; /common #secondchan will compare the common - user in current channel and #secondchannel, i'll probably rewrite this a bit - more when i'm a bit more 'coherent' but the base idea is implimented and - works. thanks adam!. --update patchlevel --fix query bug --fix timestamp_format bug --fix timestamp config option problem i noticed while playing with it - a little more of it not turning off/on properly. --add a new alias for adam /wsa which window swaps into the status_format %F - (activity) window --update patchlevel hopefully release today if no further bugs reported. --organize window.m and prune it up a bit remove a few questionable aliases, - functions i have no idea what they were used for, better commenting. --fix up some things in aliases.m --winhelp documentation corrections. --new extended menu based help documentation /thelp for the irc swiss army - knife ;D see /ehelp as well. --updated some docs in /winhelp. --add some ereet aliases that uses the power of /trickle see /thelp. --change some default fkey settings. --kreca doesn't understand the meaning of modules and functions that - needs a module to work obviously aint going to work without a module!, - move the lp/lpaste stuff into the relay module. and allow it to work - in current output window. --update patchlevel. --^^crapple must've been smoking the crackpipe this evening ;( //kreca --separate the notify and notifylogging. To use notifylogging from now on, do addmod notifylog. //kreca --add notify signoff logging as an option to the notifylogging module. /config s to configure. //kreca --indentaion cleanup and removal of timestamp output for each row. //kreca --cleanup of more crap, and removed lame commands, and some just cluttering - bloat commands like outputting /suptime /date like really who gives a shit. --fixup of some minor things in notify.m and notifylog.m --remove a lot of junk in mass.m and more to come up yet!. --i'm not updating patchlevel this as it's not being snapshotted yet. --oh fix a minor fuckup of forgetting to remove lpaste from alias.m when - my last commit insulted kreca about him not doing it, but i still stand - by my words!. --large cleanup to amn.epic and mod.m. Indentation fixed in some aliases aswell //kreca --various stuff moved out to alias.m, hooks.m and operview.m //kreca --split out all defaults in amn.epic to core/sets.m. Default modules are now located in mod.defaults //kreca --add new alias, cat which behaves just like unix cat. Rip out ansi.m and replace it with evalcat in alias.m //kreca --make format t use evalcat and fix indentation in alias format. //kreca --bind alt-§ to the alias wsa (see description above) (the key to the left of 1) //kreca --make bwk accept what kind of action that will be done upon the trigger. /addword word #chan . - currently type can be bk and kick. Do some more cleanup to bwk.m //kreca --move out 2 ans to their proper place in the adcc module \ No newline at end of file +-No changes since the release yet. +view the CHANGES.rel file for all the changes from last 1.0a to 1.1 +version. diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Fri Sep 2 08:59:40 2005 +++ amn/TODO-BUGS Fri Sep 2 23:00:39 2005 @@ -14,13 +14,14 @@ colors. but not inline nick colors. found by adam. thanks!. ## Higher priority requests. -@ toggle for kickban or just kick for the bwk module. -@ add toggle for notify logging types; on/off signon/signoffs. @ add a topiclock alias (like bitchx) for xaver. ## Procrastinated requests. @ rewrite topwin (removed to pasture). +@ some more documentation updates. a couple of more menu help systems. +@ a amnesiac FAQ would be nice... any volunteers? + @ (Alien88_[alien@umich.edu]) if ov is toggled on (Alien88_[alien@umich.edu]) reset opermodes //vote? @@ -42,6 +43,12 @@ NONE for 'some bugs' ## bugs fixed. / projects done. +9/2/05 finally done this bit, /addbwk for the syntax or /bwhelp. +!toggle for kickban or just kick for the bwk module. + +9/2/05 done and cleaned up the hard coded default of on. +!add toggle for notify logging types; on/off signon/signoffs. + 9/2/05 fixed now. //zak ! format timestamps which uses seconds do not update time. diff -aruN amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Thu Sep 1 08:07:47 2005 +++ amn/UPGRADE Fri Sep 2 22:46:27 2005 @@ -8,11 +8,11 @@ about their irc client uptimes *ahem*) ## upgrade info -## any to 1.1d/p* (in theory) +## any to 1.1/r1 (in theory) rm -rf /path/to/amn rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave +rm -rf ~/.amn/.a.save +rm -rf ~/.amn/.a.fsetsave rm -rf ~/.amn/.a.fsave rm -rf ~/.amn/.a.csave tar zxvf newver.tgz (in your home dir or dir you want it) diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Sep 2 20:22:09 2005 +++ amn/amn.epic Fri Sep 2 22:27:17 2005 @@ -122,4 +122,4 @@ eval _center $a.ver/$a.rel for $(J)[$info(i)] loaded... ^eval ^load $(savepath)$fsetsavefile -eval ^qsbar $after(. $statbar) \ No newline at end of file +eval ^qsbar $after(. $statbar) diff -aruN amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Fri Sep 2 17:10:05 2005 +++ amn/core/fsets.m Fri Sep 2 22:25:04 2005 @@ -99,11 +99,25 @@ } ## end nutbars dcc lost hooks. -## general fsets. -^on ^channel_signoff * xecho $fparse(format_signoff $0 $1 $2-) -^on ^join * xecho $fparse(format_join $0 $1 $2) -^on ^part * xecho $fparse(format_leave $0 $userhost() $1 $3-) -^on ^mode * xecho $fparse(format_mode $0 $1 $2 $3-) +## fsets with getusers here... +^on ^channel_signoff * { +xecho $fparse(format_signoff $0 $1 $2-) +defer getusers +} +^on ^join * { +xecho $fparse(format_join $0 $1 $2) +defer getusers +} +^on ^part * { +xecho $fparse(format_leave $0 $userhost() $1 $3-) +defer getusers +} +^on ^mode * { +xecho $fparse(format_mode $0 $1 $2 $3-) +defer getusers +} + +## other fsets. ^on ^nickname * echo $fparse(format_nickname $0 $1) ^on ^invite * echo $fparse(format_invite $0 $1);echo $G press Ctrl-K to join;@invchan=[$1] ^on ^kick * echo $fparse(format_kick $0 $1 $2 $3-) diff -aruN amn.orig/core/getusers.m amn/core/getusers.m --- amn.orig/core/getusers.m Tue Aug 30 02:11:50 2005 +++ amn/core/getusers.m Fri Sep 2 22:25:07 2005 @@ -1,4 +1,7 @@ subpackage getusers + +## some parts are questionable. will need more pruning in the future. //zak +## see fsets.m for other getusers. alias getusers { if ([$0]) { @__chan=C @@ -10,18 +13,15 @@ ^set status_user4 $#pattern(*+* $channel()) } - ^on ^switch_channels * {^getusers} ^on #-switch_windows 43 * { xeval -s $winserv($3) ^getusers } ^on #-353 2 * {^getusers} -^on #-mode 22 * {^getusers} ^on #-channel_sync 23 * {^getusers} ^on #-join 33 * {^getusers;} ^on #-leave 44 * {^getusers;} -^on #-signoff 55 * {^getusers} -^on #-channel_signoff 66 * {^getusers} ^on #-kick 66 * {^getusers} + oof diff -aruN amn.orig/core/help.m amn/core/help.m --- amn.orig/core/help.m Thu Sep 1 21:59:34 2005 +++ amn/core/help.m Fri Sep 2 22:44:22 2005 @@ -1,5 +1,5 @@ subpackage help -@hwords=[rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir tb ps ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop readlog wall user chops sv frelm tsave freln away back format config color sbcolor dict saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb links lk lsay mdv minv mmsg mnot more mv mw nops not partall qk staynick supt theme tig unban untheme winhelp] +@hwords=[rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir tb ps ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop readlog wall user chops sv frelm tsave freln away back format config color sbcolor dict saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb links lk lsay mdv more mv mw nops not partall qk staynick supt theme tig unban untheme winhelp] alias ahelp if (![$0]) { banner.head @_ohcenter=[${word(0 $geom()) / 2 + 40}] @@ -44,9 +44,6 @@ @ :mw=[%Wu%nsage%K:%n /mw -hidden|split|kill @ :mv=[%Wu%nsage%K:%n /mv will mass voice everyone on current channel @ :more=[%Wu%nsage%K:%n /more will display text file to screen. -@ :mnot=[%Wu%nsage%K:%n /mnot will mass notice current channel with specified text. -@ :mmsg=[%Wu%nsage%K:%n /mmsg will mass msg current channel with specified text. -@ :minv=[%Wu%nsage%K:%n /minv <#channel> mass invites users from current channel to specified channel. @ :mdv=[%Wu%nsage%K:%n /mdv will mass devoice current channel. @ :lsay=[%Wu%nsage%K:%n /lsay just try it :) @ :lk=[%Wu%nsage%K:%n /lk will kick all non op'd and voiced lusers from current channel diff -aruN amn.orig/core/mod.m amn/core/mod.m --- amn.orig/core/mod.m Fri Sep 2 20:17:47 2005 +++ amn/core/mod.m Fri Sep 2 23:03:01 2005 @@ -1,9 +1,7 @@ subpackage mod alias vmod {xecho -v valid modules are [$_modules]} -alias smod vmod alias modules listmod -alias lmod listmod alias addmod { if (![$0]) { diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Fri Sep 2 19:49:12 2005 +++ amn/core/sets.m Fri Sep 2 23:09:58 2005 @@ -35,9 +35,9 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@commit_id=[23] -@a.rel=[1.1d p/$commit_id] -@a.date=[20050831] +@rel_id=[1] +@a.rel=[1.1 r/$rel_id] +@a.date=[20050902] @_ss=[15] @_ovsize=[5] @_ovmode=[fibxwzZsy] diff -aruN amn.orig/docs/CHANGES.rel amn/docs/CHANGES.rel --- amn.orig/docs/CHANGES.rel Thu Sep 1 07:37:23 2005 +++ amn/docs/CHANGES.rel Fri Sep 2 22:58:24 2005 @@ -1,7 +1,263 @@ -the changes of our upcoming release will be in here. -see CHANGES.old for past alpha changes, were moving towards -beta now as the script has became quite stable after about -6 months in production. +Changes since Amnesiac-1.0a-cvs14 -//crapple -zak@ircii.org +8/7/05 +-fix a window alias. and remove window name amnesiac on startup. //zak +-sync version to reality. //zak +-update TODO-BUGS //zak +-update E5-KNOWNBUGS doc's from -HEAD. + +8/8/05 +-added a new /format for nickname changes. Check /format u. + Made by violence, thanks! //kreca +-possibly fixed the ignore save... oops //zak +-some comment changes and documentation update somewhat. //zak +-fix sbar num 11 to output proper format ops/non/voice it was using + vars i have no idea where they came from set it the way my script works + status_users2 = chops aka %2 users3 = nonops aka %3 and %4 = voice + remember this in the future should any of you guys do sbar formats. //zak +-fix a couple of stupid forgotten usages of ADDING $* for some aliases + noticed by violence.... who missed this? and how/why? kreca??. + +8/9/05 +-update E5-KNOWNBUGS documentation. +-add a new whois format #6 based off default scrollz whois format which i've + been wanting for quite some time, which violence did for me, thanks a lot!. + //zak +-the last of some-commands.txt removed since most of it is now all + documented in the new menuish help system /ehelp. + +8/13/05 +-rewrite dict module. Fixed the output, looks a lot better now and it'll +work fine with epic5. //kreca +-turn off the annoying notify_on_termination per default. //zak +-add a lusers.m patch/hack which still needs works on done //skullY. +-move the topicwin module to pasture, until kreca does something about it. + too many complaints. it's a hack it's ugly. maybe it'll be fixed later + maybe it won't bug him if you want it fix ;p //zak +-fix /config to work with the new_math_nicely_documented bullshit help + from kreca. //zak +-fix amn.epic to update for new_math_bullshit //zak +-fix all the formats.m to work with new math. //zak +-release final snapshot for testing hopefully now we can get rid of + that damn poison. //zak +-add a new statbar which works well with window double on/off and does not + use any form of /sbcolor so colors cannot be changed this way!, merged from + enigma a lot of ppl liked this statbar in the past i thought it's something + i should port over to amnesiac enjoy. //zak +-add colours documents for ppl to know the color codes //zak +-fix up /wq which was broken for quite some time like over 2 months and + kreca whines about it a lot so i thought i'd fix it for him it's real hard + too ;( //zak + +-8/14/05 +finally made the dumb users knock attempts go into the channel that the +attempt was requested to, instead of spamming my other windows with the +useless shit it's said in public it looks something like this in the chan +the knock was request in you do not need to have that window active. +it'll do it 'automagically' for you. +[snapshot] +*** irc.umich.edu xcrapple!zak@ninja.alienz.net +with the knock with bold brackets and servername is in hred. //zak +-update snapver so i know what ppl are using. //zak +-make /me in dcc chats output to the correct window. Now it'll be easier +to igno^H^H^H^H understand what zak tells me in our chat sessions //kreca +-make knock output look even nicer ;p! //kreca + +-8/16/05 +-silence the annoying 'window not found' requested by adam even i find this + kinda annoying //zak. +-sync the TODO-BUGS to reality updating some knownbugs. mainly in snapshot. + ie; new /query /me stuff. //zak + +-8/20/05 +-change the dcc on hooks somewhat and make a bit more sense on connect/lost + closed etc.. please test the new /dcc chat /send etc.. formats and report + any problems or ok to me thanks. must do rm -rf ~/.amn/.a.fsetsave before + dumping/loading. requested by Alien88 //zak +-update UPGRADE document. //zak +-update E5-KNOWNBUGS epic5-0.0.6 users please read this!. //zak + +-8/26/05 +-revert out old cvs changes. //zak +-update docs to reality. //zak +-properly comment some code using ## instead of the old :: which has some + interesting issues in epic5. //zak +-remove 2 emopart-reasons to make kreca kinda 'happy' //zak + +8/29/05 +-add additional response as per grimzy's request users can now choose up to + 3 auto-response when your nick/saying shows up in bold. ie; /resp someword + /resp2 anotherword /resp3 anotherword and those 3 words will highlight when + said at this time /resp2 and /resp3 is not /saved per default. //zak +-sync snapver. //zak +-revert out kreca's dccme/me window correction stuff to go back to old + behavior for now until the bug is fixed. moved to pasture/ //zak +-properly comment some stuff with ## instead of :: //zak +-sync package with subpackage with files i've edited. //zak +-clean up a bunch of cruft, arrange fsets.m a bit nicer //zak +-fix up subpackages of statbars which might be causing some confusion //zak +-fix /kickban yes it works again only with it's $kickreasons. so it's + /kickban nick not /kickban nick somereason. must use randreason at this + time. +-add bantypes to /config /settings +-set def randomcrap of resp2/resp3 so not everything highlights. //zak +-add /wflush alias, this is for later versions of epic5-0.0.6cvs+ + to flush out the lastlog/scrollback in current window. //zak +-add /ip6ban and /ip4ban aliases. //zak +-move things from config.m to their respective modules like it should have + been done a long time ago. //zak +-add /modeshow and /showmodes aliases to go with /extpub. +-add dcc-attempts/logging into away again. and add into /config //zak +-add operview options in settings/config. //zak +-modify some things/rewording of orignick. //zak +-sync version to a pre-release as i want to finish up some other things + before i release this out the door, this should be considered pretty stable + now compared to the previous snapshots //zak +-modified /uptime to be a bit eliter, with some functional idea's from + fudd's darkstar script. //zak +-change some fset formatting outputs for the better some less ansi, some + a bit more verbose/informative. //zak ie /topic /not. and /c +-add a /unkey alias. //zak +-couple additions into kick.reasons //zak +-readd kreca's action.dcc/me fixes again with some slight mods + MAYBE it will fix the misdirected /me's this time. //zak +-move the old action.m into pasture. //zak +-fixed a really stupid incomplete mode array found by adam. thanks! //zak +-removed a bunch of broken arrays in publics public_send public_others + there's about 20+ formats removed in some of them, please make sure you + guys update your themes in case those formats you used before did not + exist, and of course some things will probablly cross react with what + you had as a format before as those things are renumbered. //zak +-added some new public formats and msg formats while playing around in + the arrays, and 3 new away formats. //zak +-add a couple more arrays and fix up a couple.. //zak +-no reproducing of the /me bug thus far. //zak +-update my theme nocturnal //zak +-made a bitchx like theme 'bitchx' //zak +-minor query problem with statbar3 disabled it on second-stat //zak. +-update the UPGRADE document. //zak +-make delword in the bwk module accept numeric argument +-update the TODO-BUGS documents a lot, looks like we're starting to + get somewhere! //zak +-shorten up the /supt alias and a bit more verbose and allow for output + to any active window. +-add another scan.fix alias for possible future usage of colorized scans. + //zak +-sync E5-KNOWNBUGS document from -HEAD //zak +-add new windowing binds and some windowing functions to make adam happy + home/end should work on weird terminals now. //zak +-cleanups to /tig and /ignore. Bounds checking and sorted output //kreca +-refix adam's bindings. //zak +-remove adam's bindings. //zak +-add adam to the greets/credits. +-fix public notice form theme/save/startup settings and an odd mutilation + in save.m remove some stupid indentings in theme.m while i was in there + as well. and /resp2 /resp3 /resp4 are now saved. //zak +-remove 4-5 themes i lost count. don't care. //zak + ^^ still more to come i'm sure. we have too many. +-removed /mme and mme.m, no it's not going in pasture it's DEAD!. //zak +-update all themes default versions to be a little less verbose per + default!. //zak +-change our version ways to be more realistic. //zak +-change /sv formats not to use $uname $client_info and a bit better + output. //zak +-update my theme again(nocturnal) //zak +-updated TODO-BUGS a bit more to my liking. //zak +-organize/comment amn.epic a bit better and remove the stupid fparse + on startup. //zak +-correctly fix/save/make the /resp2 /resp3 /resp4 the right way this + time. sorry if i caused any problems!. //zak + +9.1.05 +-fix up some userlist module aliases noticed by adam. thanks! //zak +-remove the old_math stuff in amn.epic i think we're 100% new_math + compatable now yay! +-THIS TIME UPDATE THE PATCHLEVEL SO XAVIER DOESN'T REPORT IT AS A BUG! + +/* -move the changelog file to docs dir as CHANGES.old as this is getting + too FAT for ppl to track changes and change how we do ChangeLog + documentation. +-move UPGRADE to docs as UPGRADE.old +-update the new UPGRADE file to reality/simplification. +-CHANGES - changes since last release. +-docs/CHANGES.old - old changelog reformatted a bit won't be updated anymore +just there fore informative purposes. +-docs/CHANGES.rel - past changes, after release. (nothing in here yet) +-docs/UPGRADE.old - not updated anymore just there for informative purposes +-UPGRADE - synced to reality. */ //zak +-add a sample.epicrc in docs/ //zak +-remove mangle_logfiles all from amn.epic ppl can set it in their + epicrc's. //zak +-remove window 1 name on startup. slightly change comments in amn.epic +-get rid of the annoying / mode format #1 that has bugged me for a long + time. //zak +-cleanups in userlist.m and orignick.m +-cleanups of some xecho module banners. and a few aliases remove/changed. +-removed encryption module +-update patchlevel. +-update helpfiles more, added a new menu based help /rhelp see /ehelp +-add timestamp formats this should make plenty of ppl happy especially +those who wanted seconds in their timestamps and a slightly diff output +ie; with or without brackets and diff color... /format 3 for the list. +-update nocturnal theme to use my flavor of timestamp format. +-update patchlevel + +9.2.05 +-update TODO-BUGS regardning about broken timestamp formats with seconds. +-add an alias written by adam which is kinda neat, /common to view common + users between channels ie; /common #secondchan will compare the common + user in current channel and #secondchannel, i'll probably rewrite this a bit + more when i'm a bit more 'coherent' but the base idea is implimented and + works. thanks adam!. +-update patchlevel +-fix query bug +-fix timestamp_format bug +-fix timestamp config option problem i noticed while playing with it + a little more of it not turning off/on properly. +-add a new alias for adam /wsa which window swaps into the status_format %F + (activity) window +-update patchlevel hopefully release today if no further bugs reported. +-organize window.m and prune it up a bit remove a few questionable aliases, + functions i have no idea what they were used for, better commenting. +-fix up some things in aliases.m +-winhelp documentation corrections. +-new extended menu based help documentation /thelp for the irc swiss army + knife ;D see /ehelp as well. +-updated some docs in /winhelp. +-add some ereet aliases that uses the power of /trickle see /thelp. +-change some default fkey settings. +-kreca doesn't understand the meaning of modules and functions that + needs a module to work obviously aint going to work without a module!, + move the lp/lpaste stuff into the relay module. and allow it to work + in current output window. +-update patchlevel. +-^^crapple must've been smoking the crackpipe this evening ;( //kreca +-separate the notify and notifylogging. To use notifylogging from now on, do addmod notifylog. //kreca +-add notify signoff logging as an option to the notifylogging module. /config s to configure. //kreca +-indentaion cleanup and removal of timestamp output for each row. //kreca +-cleanup of more crap, and removed lame commands, and some just cluttering + bloat commands like outputting /suptime /date like really who gives a shit. +-fixup of some minor things in notify.m and notifylog.m +-remove a lot of junk in mass.m and more to come up yet!. +-i'm not updating patchlevel this as it's not being snapshotted yet. +-oh fix a minor fuckup of forgetting to remove lpaste from alias.m when + my last commit insulted kreca about him not doing it, but i still stand + by my words!. +-large cleanup to amn.epic and mod.m. Indentation fixed in some aliases aswell //kreca +-various stuff moved out to alias.m, hooks.m and operview.m //kreca +-split out all defaults in amn.epic to core/sets.m. Default modules are now +located in mod.defaults //kreca +-add new alias, cat which behaves just like unix cat. Rip out ansi.m and +replace it with evalcat in alias.m //kreca +-make format t use evalcat and fix indentation in alias format. //kreca +-bind alt-§ to the alias wsa (see description above) +(the key to the left of 1) //kreca +-make bwk accept what kind of action that will be done upon the trigger. +/addword word #chan . currently type can be bk and kick. Do some +more cleanup to bwk.m //kreca +-move out 2 ans to their proper place in the adcc module +-make getusers update statbars on the fly again for modes/quits/parts/joins + //zak +-update bwhelp documentation to reality. //zak +-remove 3 files from pasture action.orig and action.dcc as well as notify.m //zak +FIRST public stable release 1.1 diff -aruN amn.orig/docs/UNTESTED amn/docs/UNTESTED --- amn.orig/docs/UNTESTED Tue Aug 2 04:56:49 2005 +++ amn/docs/UNTESTED Fri Sep 2 22:58:45 2005 @@ -1,5 +1,5 @@ adcc.mod still needs to be tested/verified. -and or rewritten, i prefer the former!. +and or rewritten. topwin.mod - is unstable apparently it's this good. right from the person who wrote it himself!. diff -aruN amn.orig/modules/bwk/bwk.m amn/modules/bwk/bwk.m --- amn.orig/modules/bwk/bwk.m Fri Sep 2 21:46:50 2005 +++ amn/modules/bwk/bwk.m Fri Sep 2 22:39:27 2005 @@ -122,9 +122,9 @@ alias bwkhelp bwhelp alias bwhelp { echo -----------------------= Wordkick Help =-------------------------- - echo addword /addword <#channel> will bankick the nick that said - echo the specified channel. - echo delword /delword will delete specified ban word from list. + echo addword /addword /addword word #chan [type] to bk a word in + echo specified channel... type is either bk or kick. Default is bk. + echo delword /delword will delete specified word from list. echo listword /listword will list words in bankick word list. echo wordssave /wordssave will save the word list in bankick word list. echo -= Wordkick Quick Aliases =- diff -aruN amn.orig/pasture/action.dcc amn/pasture/action.dcc --- amn.orig/pasture/action.dcc Tue Aug 30 00:07:45 2005 +++ amn/pasture/action.dcc Wed Dec 31 19:00:00 1969 @@ -1,43 +0,0 @@ -subpackage action -## action hooks - -## helper function that'll make /me output to the correct window during a -## dcc chat //kreca -## XXX, this is only intended for epic5 and is a temporary solution. -## The output handling will change in the future. -alias myquerywin { - @:allwins=winrefs() - for (@xx=0 , xx < numwords($allwins) , @ xx++) - { - if ( findw($0 $winnicklist($word($xx $allwins))) != -1) - { - return $word($xx $allwins); - } - } - return -1; - -} -on ^action * { - if (iscurchan($C)) - { - xecho $fparse(format_action $0 $1 $2-) - } { - @:wqwin = myquerywin($0) - if ( wqwin != [-1]) - { - xecho -window $wqwin $fparse(format_desc $0 $1 $2-) - } { - xecho $fparse(format_action_other $0 $1 $2-) - } - } - -} -on ^send_action "*" { - switch ( $0 ) { - ( $C ) { echo $fparse(format_action $N $0 $1-) } - ( #* ) { echo $fparse(format_action_other $N $0 $1-) } - ( * ) { echo $fparse(format_send_desc $0 $N $1-)} - } -} - -oof diff -aruN amn.orig/pasture/action.orig amn/pasture/action.orig --- amn.orig/pasture/action.orig Tue Aug 30 10:40:58 2005 +++ amn/pasture/action.orig Wed Dec 31 19:00:00 1969 @@ -1,19 +0,0 @@ -subpackage action -## action hooks - -on ^action * { - switch ($1) { - ( $N ) {xecho $fparse(format_desc $0 $1 $2-)} - ( $C ) {xecho $fparse(format_action $0 $1 $2-)} - ( * ) {xecho $fparse(format_action_other $0 $1 $2-)} - } -} -on ^send_action "*" { - switch ( $0 ) { - ( $C ) { echo $fparse(format_action $N $0 $1-) } - ( #* ) { echo $fparse(format_action_other $N $0 $1-) } - ( * ) { echo $fparse(format_send_desc $0 $N $1-)} - } -} - -oof Date: Sat, 3 Sep 2005 00:02:41 -0400 (EDT) From: zak@ircii.org (Zak) -fix some set arrays violence found in the stock startup merged the patch into 1.1/r1. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 2 22:57:18 2005 +++ amn/CHANGES Fri Sep 2 23:59:17 2005 @@ -1,3 +1,6 @@ --No changes since the release yet. -view the CHANGES.rel file for all the changes from last 1.0a to 1.1 -version. +for further CHANGES info please read the docs/CHANGES.rel. + +Changes since amnesiac1.1/r1 +9.2.05 +-fix some nonexistents defaults sets for formats from violence. +and merge into 1.1/r1 release diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Fri Sep 2 23:09:58 2005 +++ amn/core/sets.m Fri Sep 2 23:55:57 2005 @@ -86,9 +86,9 @@ ## default theme vars. @mform=[39] @smform=[52] -@pubform=[41] -@spubform=[41] -@spuboform=[53] +@pubform=[1] +@spubform=[3] +@spuboform=[1] @pubnotform=[1] @signform=[4] @joinform=[16] Date: Sat, 3 Sep 2005 07:21:26 -0400 (EDT) From: zak@ircii.org (Zak) -fix more theme stuff, updated vanilla theme, patched epic couple small array changes, these changes have been merged into release. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 2 23:59:17 2005 +++ amn/CHANGES Sat Sep 3 07:17:48 2005 @@ -4,3 +4,9 @@ 9.2.05 -fix some nonexistents defaults sets for formats from violence. and merge into 1.1/r1 release +9.3.05 +-patch vanilla theme from skullY +-couple new arrays from skullY +-update some broken themes to make them work again. +-update epic theme to be more correct. +-merged the above changes into release. diff -aruN amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Fri Sep 2 08:33:50 2005 +++ amn/core/arrays.m Sat Sep 3 07:03:21 2005 @@ -259,6 +259,7 @@ ## join added 18-19 violence 8.06.05 @ setitem(joinform 18 $$fparse(format_timestamp_some $($_timess))%c$$1 %K\\\[%C$$3%K\\\]%n has joined %C$$2) @ setitem(joinform 19 $$fparse(format_timestamp_some $($_timess))$$(c4)$$1 %K[$$(c3)$$3%K]%n has joined $$2) +@ setitem(joinform 20 $$G $$1 \\\($$3\\\) has joined $$2) ## leaves formats @ delarray(leaveform) @@ -450,7 +451,7 @@ @ setitem(ctcpform 8 $$G $$(cyn)$$1 $$(hblk)[$$(cl)$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$2)$$(hblk)]$$(cl) requested $$(cyn)$$4- $$(cl)from $$3) @ setitem(ctcpform 9 %K\\\(%Wctcp%K/$$(c2)$$1%K[$$(c1)$$before(@ $2)%K@$$(c1)$$after(@ $2)%K]\\\) \\\(%W$$3%K\\\)%n $$4-) @ setitem(ctcpform 10 $$G %cc%ntcp%K: %n$$3 %K[%n$$tolower(${[$5]?[$4-]:[$4]})%K]%n from %c$$1%n) -@ setitem(ctcpform 11 $$G CTCP $$5 from $$1 to $$3: $$4) +@ setitem(ctcpform 11 $$G CTCP $$5 from $$1 to $$3: $$4) ## send ctcp formats @ delarray(sctcpform) @@ -467,6 +468,7 @@ @ setitem(sctcpform 10 %K\\\(%Wctcp%K/$$(c2)$$2%K\\\): %W$$3 %K\\\(%n$$4-%K\\\)) @ setitem(sctcpform 11 %K:> %cc%ntcp%K:%c $$2 %K-%n $$3 $$4-) @ setitem(sctcpform 12 [ctcp\\\($$2\\\)] $$3 $$4 $$5 $$6) +@ setitem(sctcpform 13 *** CTCP $$3 from $$N to $$2: $$4-) ## echostr formats @ delarray(echostr) diff -aruN amn.orig/themes/active.th amn/themes/active.th --- amn.orig/themes/active.th Tue May 3 09:32:39 2005 +++ amn/themes/active.th Sat Sep 3 07:08:08 2005 @@ -9,7 +9,7 @@ @smform = [32] @pubform = [8] @spubform = [22] -@spuboform = [34] +@spuboform = [30] @signform = [9] @joinform = [2] @leaveform = [2] diff -aruN amn.orig/themes/epic.th amn/themes/epic.th --- amn.orig/themes/epic.th Wed Aug 31 08:30:02 2005 +++ amn/themes/epic.th Sat Sep 3 07:13:02 2005 @@ -7,11 +7,11 @@ @scdesc=[\(epic\)] @mform=37 @smform=48 -@pubform=38 -@spubform=38 -@spuboform=53 +@pubform=23 +@spubform=25 +@spuboform=36 @signform=16 -@joinform=11 +@joinform=20 @leaveform=[12] @modeform=5 @notform=24 diff -aruN amn.orig/themes/vanilla.th amn/themes/vanilla.th --- amn.orig/themes/vanilla.th Wed Aug 31 08:34:55 2005 +++ amn/themes/vanilla.th Sat Sep 3 07:00:29 2005 @@ -7,12 +7,12 @@ @scdesc=[(vanilla)] @mform=38 @smform=49 -@pubform=39 -@spubform=39 -@spuboform=54 +@pubform=23 +@spubform=25 +@spuboform=36 @signform=17 -@joinform=11 -@leaveform=[12] +@joinform=20 +@leaveform=12 @modeform=6 @notform=25 @snotform=36 Date: Sat, 3 Sep 2005 16:00:10 -0400 (EDT) From: zak@ircii.org (Zak) -fair bit of changes, added a rewritten services module for chanserv/nickserv etc and some operserv users, some oper module updates. some commands in core for chanserv/nickserv/dccallow *extremely basic* need the services module loaded if you want it to do more. -documentation updates. -first snapshot release of 1.1d to start building up for our next release in the hopefully not so near future. things will be slowing down for awhile i *think*. until we get some reports good/negative/positive bugs etc... need to slow down. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Sep 3 07:17:48 2005 +++ amn/CHANGES Sat Sep 3 15:55:18 2005 @@ -10,3 +10,14 @@ -update some broken themes to make them work again. -update epic theme to be more correct. -merged the above changes into release. + +-snapshot. +-change ver to 1.1d p/1 +-add services module for dalnet users. +-add nickserv/chanserv/memoserv aliases into core. +-add some more oper aliases into oper.m +-remove serviceshelp and services.m file from pasture as i rewrote it + to work again 'i think' and merged back it into modules. +-new menu help /svhelp for the services module see /ehelp for info. +-clean up unused cruft in /ehelp while in there. +-update TODO-BUGS doc and UPGRADE. diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Fri Sep 2 23:00:39 2005 +++ amn/TODO-BUGS Sat Sep 3 15:53:39 2005 @@ -21,6 +21,7 @@ @ some more documentation updates. a couple of more menu help systems. @ a amnesiac FAQ would be nice... any volunteers? +@ an xy menu based help system for the xy module to add to /ehelp. @ (Alien88_[alien@umich.edu]) if ov is toggled on (Alien88_[alien@umich.edu]) reset opermodes //vote? diff -aruN amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Fri Sep 2 22:46:27 2005 +++ amn/UPGRADE Sat Sep 3 15:54:51 2005 @@ -8,13 +8,10 @@ about their irc client uptimes *ahem*) ## upgrade info -## any to 1.1/r1 (in theory) +## any to 1.1 p/* (in theory) rm -rf /path/to/amn rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.save -rm -rf ~/.amn/.a.fsetsave rm -rf ~/.amn/.a.fsave -rm -rf ~/.amn/.a.csave tar zxvf newver.tgz (in your home dir or dir you want it) or tar zxvf newver.tgz -C /path/to/where/you/want/it diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Sep 2 22:27:17 2005 +++ amn/amn.epic Sat Sep 3 15:41:08 2005 @@ -68,7 +68,7 @@ } #supported modules -@_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy notifylog] +@_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy notifylog services] ##poor mans THUTTUP on file not found loader. ^on ^yell * # diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Fri Sep 2 20:41:09 2005 +++ amn/core/alias.m Sat Sep 3 15:12:29 2005 @@ -74,6 +74,20 @@ alias rmaccept rmcid $* alias acceptdel rmcid $* +## dalnets dcc bullshit so called "protection" +alias allow dccallow $* +alias dccallow {quote dccallow $*} + +## add these nickserv/memoserv/chanserv stuff here. +## not everyone wants to load everything in the services module just +## for these aliases. +alias ms {quote MemoServ $*} +alias ns {quote NickServ $*} +alias cs {quote ChanServ $*} +alias chanserv cs $* +alias nickserv ns $* +alias memoserv ms $* + ## shamelessly ripped from playdough -channels alias channels {xecho -b Current channels: $mychannels()} diff -aruN amn.orig/core/ehelp.m amn/core/ehelp.m --- amn.orig/core/ehelp.m Fri Sep 2 14:42:50 2005 +++ amn/core/ehelp.m Sat Sep 3 15:50:11 2005 @@ -11,42 +11,11 @@ echo abhelp <abot help> autobot help menu. [module] echo ohelp <oper help> operview/oper help menu [module] echo rhelp <relay help> relay/paste help menu. [module] + echo svhelp <services help> nserv/cserv/etc.. help menu. [module] echo winhelp <window help> window shortcuts help menu. [core] echo smhelp <special modes> exempt modes cmds help menu. [core] echo thelp <trickle help> the irc swiss army knife menu. [core] echo ---------------------------------------------------------------------- } -} - -alias aehelp { - if ([$0]==[]) { - xecho Amnesiac Extended Help List /aehelp [option] i.e /aehelp ops - xecho - xecho [option] [Description ] - xecho ops chan op command list/help - xecho set client setting/configure options - }{} - if ([$0]==[ops]) { - xecho Amnesiac chan op/commands help menu - xecho - xecho bki - ban kick and ignore idiot. a: /kbi - xecho bkt - ban kick offender and unbans after 5 seconds. a: /qk - xecho k - kick user a: /kick - xecho ban - ban user/host - xecho cb - cleans banlist a: /ub /unban /unfuck /clearbans - xecho not - wipes topic a: /rmtop /untopic - xecho mdop - mass deop a: /mdeop - xecho mdv - mass devoice - xecho v - voice user a: /voice - xecho dop - deop user a: /deop - xecho dv - devoice user a: /devoice - xecho c - adjust chanmodes a: /mode(somewhat) /cmode - xecho bans - view channel bans a: /banstat - xecho tban - interactive remove ban list a: /tb - xecho topic - sets topic /topic [tab] grabs topic for editing a: /t - xecho mreop - mass ops current ops on channel - xecho mop - massop everyone on channel - xecho verk - mass kick users with version of [string] i.e /verk mirc - } } diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Fri Sep 2 23:55:57 2005 +++ amn/core/sets.m Sat Sep 3 15:15:17 2005 @@ -36,8 +36,8 @@ @awayr=[Not Here] @a.ver=[amnesiac] @rel_id=[1] -@a.rel=[1.1 r/$rel_id] -@a.date=[20050902] +@a.rel=[1.1 p/$rel_id] +@a.date=[20050903] @_ss=[15] @_ovsize=[5] @_ovmode=[fibxwzZsy] diff -aruN amn.orig/modules/oper/oper.m amn/modules/oper/oper.m --- amn.orig/modules/oper/oper.m Fri Sep 2 19:57:39 2005 +++ amn/modules/oper/oper.m Sat Sep 3 15:08:23 2005 @@ -136,6 +136,8 @@ } } +alias dwho {//who -dx $*} + alias gline { quote gline $0 :$1- } @@ -144,10 +146,21 @@ quote dline $0 :$1- } +alias zline { + quote zline $0 :$1- +} + +alias unzline { + quote unzline $* +} + alias undline { quote undline $* } +alias watch { + quote watch $* +} alias cjupe { quote mode $0 +j } diff -aruN amn.orig/modules/services/services.m amn/modules/services/services.m --- amn.orig/modules/services/services.m Wed Dec 31 19:00:00 1969 +++ amn/modules/services/services.m Sat Sep 3 15:48:17 2005 @@ -0,0 +1,130 @@ +subpackage services +## nickserv/chanserv/operserv etc.. module. + +#both way aliases chanserv/nickserv. + +alias ident {if ([$0]=~[*#*]) { + ^quote chanserv identify $0- + } { ^quote nickserv identify $0- }} +alias access {if ([$0]=~[*#*]) { + if ([$1]) { ^quote chanserv access $0- + } { ^quote chanserv access $0 LIST } + } { if ([$0]) { ^quote nickserv access $0- + } { ^quote nickserv access LIST }}} +alias getpass {if ([$0]=~[*#*]) { + ^quote chanserv getpass $0- + } { ^quote nickserv getpass $0- }} +alias drop {if ([$0]=~[*#*]) { + ^quote chanserv deop $0- + } { ^quote nickserv deop $0- }} +alias forbid {if ([$0]=~[*#*]) { + ^quote chanserv forbid $0- + } { ^quote nickserv forbid $0- }} +alias akill {if ([$1]) { ^quote operserv akill $0- + } { ^quote operserv akill $0 LIST }} + +#operserv crap/misc/opers +alias ojupe {^quote operserv jupe $0-} + +alias akrem { + if ((index(! $0) == -1) || (![$0])) { + abecho Usage: /akrem n!u@h + return} + ^quote OperServ autokill -$0} +alias os { + if (!O) { + abecho you are not an irc operator. + return} + quote OperServ $*} + +#nickserver shit. +alias ghost {^quote nickserv ghost $0-} +alias recover {ns recover $0 $1} +alias release {ns release $0 $1} +alias identify {ns identify $0 $1} +alias ninfo {ns info $*} + +#some info shit. +alias why {cs why $C $*} +alias cinfo {cs info $*} +alias count {cs count $*} + +#channel shit. +alias cinvite {cs invite $0 $1} +alias cunban {cs unban $0 $1} +alias csop {cs op $C $*} +alias cmkick {cs mkick $C $*} +alias cdeop {cs deop $C $*} +alias cmdeop {cs mdeop $C $*} +alias omkick {cs mkick $0 $1} +alias omdeop {cs mdeop $0 $1} +alias odeop {cs deop $0 $1} + +alias fop if (![$0]) {^quote chanserv op $C $N} {^quote chanserv op $0 $N} + +#person must be in channel for most of these to work. +#else use the longer command line of anything starting with o IE: oaop +#to add an aop o meaning obsolete/old way it used to be done. +alias slist {cs sop $C list} +alias alist {cs aop $C list} +alias addl {cs aop $C add $0} +alias adds {cs sop $C add $0} +alias dell {cs aop $C del $0} +alias dels {cs sop $C del $0} +alias oaop {cs aop $0 $1 $2-} +alias osop {cs sop $0 $1 $2-} +alias akick {cs akick $C add $0} +alias akdel {cs akick $C del $0} +alias oakick {if ([$1]) { ^quote chanserv akick $0- + } { ^quote chanserv akick $0 LIST }} + + +alias svhelp { + if (!$[0]) { + +aecho ----------------------------= Services Help =------------------------------ + + + aecho ms send a command to memoserv + aecho ns send a command to nickserv + aecho cs send a command to chanserv + aecho ident identify to nickserv/chanserv IE: /ident yourpass for nickserv + aecho access /access will show your access hosts /access add/del host/# to remove/add hosts + aecho getpass oper command to get pass of channel/nick + aecho forbid oper command to block/close chan. + aecho akill oper command to add autokills. + aecho ojupe oper command to jupe. + aecho akrem oper command to remove autokills. + aecho os send a command to operserv must be an oper. + aecho allow allow nick, so nick can send you a file + aecho release to release a nick from enforcer. + aecho recover ???? + aecho ghost kills a ghosted client + input_char "menu paused, hit the ANY key to continue. " + pause + aecho ninfo information about a nickname + aecho why shows why a nick has an op in a chan aop/sop/none etc. + aecho cinfo shows information about a chan. + aecho count counts aops/sops/users in a channel + aecho cinvite requests chanserv to invite you into a chan + aecho cunban requests chanserv to unban you from a chan + aecho csop requests chanserv to op someone in current chan + aecho fop requests chanserv to op you in current chan + aecho cmkick requests chanserv to masskick current chan. + aecho cmdeop requests chanserv to massdeop current chan. + aecho cdeop requests chanserv to deop a nick in current chan + aecho slist lists sops in chan + aecho alist lists aops in chan + aecho addl add aop in chan + aecho adds add sop in chan. + aecho dell delete aop in chan. + aecho dels delete sop in chan. + aecho akick add autokick on nick in chan. + aecho akdel del autokick on a nick in chan. + aecho most of these commands are done via /command nick /command host /command chan + aecho check $(loadpath)modules/services/services.m for more information/commands + +aecho ------------------------------------------------------------------------ + + } +} diff -aruN amn.orig/pasture/services.m amn/pasture/services.m --- amn.orig/pasture/services.m Tue Apr 5 17:01:09 2005 +++ amn/pasture/services.m Wed Dec 31 19:00:00 1969 @@ -1,96 +0,0 @@ -package services -## hayzus's services module - -#small aliases/vars.... -alias e xecho -b -alias ms {quote MemoServ $*} -alias ns {quote NickServ $*} -alias lcs {quote ChanServ $*} - - -#both way aliases chanserv/nickserv. - -alias ident {if ([$0]=~[*#*]) { - ^quote chanserv identify $0- - } { ^quote nickserv identify $0- }} -alias access {if ([$0]=~[*#*]) { - if ([$1]) { ^quote chanserv access $0- - } { ^quote chanserv access $0 LIST } - } { if ([$0]) { ^quote nickserv access $0- - } { ^quote nickserv access LIST }}} -alias getpass {if ([$0]=~[*#*]) { - ^quote chanserv getpass $0- - } { ^quote nickserv getpass $0- }} -alias drop {if ([$0]=~[*#*]) { - ^quote chanserv deop $0- - } { ^quote nickserv deop $0- }} -alias forbid {if ([$0]=~[*#*]) { - ^quote chanserv forbid $0- - } { ^quote nickserv forbid $0- }} -alias akill {if ([$1]) { ^quote operserv akill $0- - } { ^quote operserv akill $0 LIST }} - -#operserv crap/misc/opers -alias jupe {^quote operserv jupe $0-} -alias watch {quote watch $*} -alias unkline {quote unkline} -alias zline {quote zline} -alias dwho {//who -dx $*} - -alias akrem { - if ((index(! $0) == -1) || (![$0])) { - e Usage: /akrem n!u@h - return} - ^quote OperServ autokill -$0} -alias os { - if (!O) { - e you are not an irc operator. - return} - quote OperServ $*} - -#dalnets dcc bullshit so called "protection" -alias allow {dccallow} -alias dccallow {quote dccallow $*} - -#nickserver shit. -alias ghost {^quote nickserv ghost $0-} -alias recover {ns recover $0 $1} -alias release {ns release $0 $1} -alias identify {ns identify $0 $1} -alias ninfo {ns info $0} - -#some info shit. -alias why {lcs why $C $0} -alias cinfo {lcs info $0} -alias count {lcs count $0} - -#channel shit. -alias cinvite {lcs invite $0 $1} -alias cunban {lcs unban $0 $1} -alias cop {lcs op $C $0} -alias cmkick {lcs mkick $C $0} -alias cdeop {lcs deop $C $0} -alias cmdeop {lcs mdeop $C $0} -alias omkick {lcs mkick $0 $1} -alias omdeop {lcs mdeop $0 $1} -alias odeop {lcs deop $0 $1} - -alias top if (![$0]) {^quote chanserv op $C $N} {^quote chanserv op $0 $N} - -#person must be in channel for most of these to work. -#else use the longer command line of anything starting with o IE: oaop -#to add an aop o meaning obsolete/old way it used to be done. -alias slist {lcs sop $C list} -alias alist {lcs aop $C list} -alias addl {lcs aop $C add $0} -alias adds {lcs sop $C add $0} -alias dell {lcs aop $C del $0} -alias dels {lcs sop $C del $0} -alias oaop {lcs aop $0 $1 $2-} -alias osop {lcs sop $0 $1 $2-} -alias akick {lcs akick $C add $0} -alias akdel {lcs akick $C del $0} -alias oakick {if ([$1]) { ^quote chanserv akick $0- - } { ^quote chanserv akick $0 LIST }} - - diff -aruN amn.orig/pasture/serviceshelp.m amn/pasture/serviceshelp.m --- amn.orig/pasture/serviceshelp.m Sat Apr 16 21:15:45 2005 +++ amn/pasture/serviceshelp.m Wed Dec 31 19:00:00 1969 @@ -1,49 +0,0 @@ -package servicehelp -alias servicehelp { - if (!$[0]) { - -xecho $(hwht)ÚÄÄÄÄ$(cl)ÄÄÄÄÄ$(hwht)ÄÄ$(cl)ÄÄÄÄÄÄÄÄ$(blu)ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ$(hblk)ÄÄÄÄÄÄÄÄÄÄÄÄÄ - - - xecho -b $(hwht)ms $(hblk)<$(cl)memoserv$(hblk)> $(cl) send a command to memoserv - xecho -b $(hwht)ns $(hblk)<$(cl)nickserv$(hblk)> $(cl) send a command to nickserv - xecho -b $(hwht)lcs $(hblk)<$(cl)chanserv$(hblk)> $(cl) send a command to chanserv - xecho -b $(hwht)ident $(hblk)<$(cl)identify$(hblk)> $(cl) identify to nickserv/chanserv IE: /ident yourpass for nickserv - xecho -b $(hwht)access $(hblk)<$(cl)access$(hblk)> $(cl) /access will show your access hosts /access add/del host/# to remove/add hosts - xecho -b $(hwht)getpass $(hblk)<$(cl)get's password$(hblk)> $(cl) oper command to get pass of channel/nick - xecho -b $(hwht)forbid $(hblk)<$(cl)forbid chan$(hblk)> $(cl) oper command to block/close chan. - xecho -b $(hwht)akill $(hblk)<$(cl)autokill$(hblk)> $(cl) oper command to add autokills. - xecho -b $(hwht)jupe $(hblk)<$(cl)operserv jupe$(hblk)> $(cl) oper command to jupe. - xecho -b $(hwht)zline $(hblk)<$(cl)zline$(hblk)> $(cl) oper command, same as dline on efnet. - xecho -b $(hwht)akrem $(hblk)<$(cl)rem autokill$(hblk)> $(cl) oper command to remove autokills. - xecho -b $(hwht)os $(hblk)<$(cl)operserv$(hblk)> $(cl) send a command to operserv must be an oper. - xecho -b $(hwht)allow $(hblk)<$(cl)allow dcc$(hblk)> $(cl) allow nick, so nick can send you a file - xecho -b $(hwht)release $(hblk)<$(cl)release nick$(hblk)> $(cl) to release a nick from enforcer. - xecho -b $(hwht)recover $(hblk)<$(cl)recover nick$(hblk)> $(cl)???? - xecho -b $(hwht)ghost $(hblk)<$(cl)ghost nick$(hblk)> $(cl) kills a ghosted client - xecho -b $(hwht)ninfo $(hblk)<$(cl)nickname info$(hblk)> $(cl) information about a nickname - xecho -b $(hwht)why $(hblk)<$(cl)why nick$(hblk)> $(cl) shows why a nick has an op in a chan aop/sop/none etc. - xecho -b $(hwht)cinfo $(hblk)<$(cl)channel info$(hblk)> $(cl) shows information about a chan. - xecho -b $(hwht)count $(hblk)<$(cl)count channel$(hblk)> $(cl) counts aops/sops/users in a channel - xecho -b $(hwht)cinvite $(hblk)<$(cl)chanserv invite$(hblk)> $(cl) requests chanserv to invite you into a chan - xecho -b $(hwht)cunban $(hblk)<$(cl)chanserv unban$(hblk) >$(cl) requests chanserv to unban you from a chan - xecho -b $(hwht)cop $(hblk)<$(cl)channel op$(hblk)> $(cl) requests chanserv to op someone in current chan - xecho -b $(hwht)top $(hblk)<$(cl)channel op$(hblk)> $(cl) requests chanserv to op you in current chan - xecho -b $(hwht)cmkick $(hblk)<$(cl)channel masskick$(hblk)> $(cl) requests chanserv to masskick current chan. - xecho -b $(hwht)cmdeop $(hblk)<$(cl)channel massdeop$(hblk)> $(cl) requests chanserv to massdeop current chan. - xecho -b $(hwht)cdeop $(hblk)<$(cl)channel deop$(hblk)> $(cl) requests chanserv to deop a nick in current chan - xecho -b $(hwht)slist $(hblk)<$(cl)sop list$(hblk)> $(cl) lists sops in chan - xecho -b $(hwht)alist $(hblk)<$(cl)aop list$(hblk)> $(cl) lists aops in chan - xecho -b $(hwht)addl $(hblk)<$(cl)add aop$(hblk)> $(cl) add aop in chan - xecho -b $(hwht)adds $(hblk)<$(cl)add sop$(hblk)> $(cl) add sop in chan. - xecho -b $(hwht)dell $(hblk)<$(cl)del aop$(hblk)> $(cl) del aop in chan. - xecho -b $(hwht)dels $(hblk)<$(cl)del sop$(hblk)> $(cl) del sop in chan. - xecho -b $(hwht)akick $(hblk)<$(cl)autokick nick$(hblk)> $(cl) add autokick on nick in chan. - xecho -b $(hwht)akdel $(hblk)<$(cl)removes autokick$(hblk)> $(cl) del autokick on a nick in chan. - xecho -b most of these commands are done via /command nick /command host /command chan - xecho -b check $(loadpath)modules/services.m for more information/commands - -xecho $(blu)À$(hblk)-----ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ-----ÄÄ ÄÄ Ä - - } -} Date: Sat, 3 Sep 2005 16:07:58 -0400 (EDT) From: zak@ircii.org (Zak) -ERPS, forgot the d in version. //zak diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Sat Sep 3 15:15:17 2005 +++ amn/core/sets.m Sat Sep 3 16:06:02 2005 @@ -36,7 +36,7 @@ @awayr=[Not Here] @a.ver=[amnesiac] @rel_id=[1] -@a.rel=[1.1 p/$rel_id] +@a.rel=[1.1d p/$rel_id] @a.date=[20050903] @_ss=[15] @_ovsize=[5] Date: Sat, 3 Sep 2005 20:01:29 -0400 (EDT) From: zak@ircii.org (Zak) -documentation changes, 2 new aliases for the output rewrite stuff. /orw /orww - see NOTES regarding what they do. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Sep 3 15:55:18 2005 +++ amn/CHANGES Sat Sep 3 19:58:21 2005 @@ -21,3 +21,7 @@ -new menu help /svhelp for the services module see /ehelp for info. -clean up unused cruft in /ehelp while in there. -update TODO-BUGS doc and UPGRADE. +-two new aliases for output_rewrite formatting so ppl can choose which one +they want, i do not know how well the /orww (the one i currently use) works +but no problems so far the default has been /orw for the past 6 months. +aliases are /orw and /orww diff -aruN amn.orig/NOTES amn/NOTES --- amn.orig/NOTES Fri Aug 26 06:44:59 2005 +++ amn/NOTES Sat Sep 3 19:56:23 2005 @@ -23,5 +23,23 @@ really much better than any other ircii based client currently. prolly still better than BitchX! *ahem* +There are times i have came across people requesting indenting on long txt +from someone and others who want's it at beginning of next line, to adjust +the value for your choice of poison. + +/set output_rewrite output_rewrite $_paste($1-)$1- +[sample long txt output] <-- this sample is the default. +17:24:16|<@crapple> i wonder if i should test out the aggressive states on + nocturnal + +/set output_rewrite output_rewrite $_paste($1-) $1- +[sample long txt output with wrapping to beginning of line] +17:24:16|<@crapple> i wonder if i should test out the aggressive states on +nocturnal +note: this will also wrap other formats as well ie: private msg. +this is aliased in snapshot as of 9.3.05 +/orw - default +/orww - extended with wrappings. + //crapple //zak@ircii.org diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Sat Sep 3 15:12:29 2005 +++ amn/core/alias.m Sat Sep 3 19:55:12 2005 @@ -201,6 +201,11 @@ ## dumps and reload script, for scripters and advanced users in general. alias adump dump all;fe ($getarrays()) n1 {@delarray($n1)};unload * fe;load ~/.epicrc +## so ppl can choose their poison on output_rewrite now that we don't have +## static timestamping format. +alias orw {set output_rewrite $_paste($1-)$1-} +alias orww {set output_rewrite $_paste($1-) $1-} + ## CrazyEddie's alias alias comatch return ${match($*)||rmatch($*)} ## end Date: Sat, 3 Sep 2005 20:26:33 -0400 (EDT) From: zak@ircii.org (Zak) oops forgot an expando which really fucked shit up if you did /orww fixed now. //zak diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Sat Sep 3 19:55:12 2005 +++ amn/core/alias.m Sat Sep 3 20:24:25 2005 @@ -204,7 +204,7 @@ ## so ppl can choose their poison on output_rewrite now that we don't have ## static timestamping format. alias orw {set output_rewrite $_paste($1-)$1-} -alias orww {set output_rewrite $_paste($1-) $1-} +alias orww {set output_rewrite $_paste($1-) $$1-} ## CrazyEddie's alias alias comatch return ${match($*)||rmatch($*)} Date: Sat, 3 Sep 2005 20:45:07 -0400 (EDT) From: zak@ircii.org (Zak) -FUCK ME, just rewrite it a much better way to make sure the output_rewrite is unset before setting so we can allow switching between indenting and non indenting formats. so in essence after 4 commits to do a simple damn thing i finally got it right!, i'll pass my crackpipe around to anyone who asks, it's obviously good shit tonight!. /orw = indent /orww non-indented //zak diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Sat Sep 3 20:24:25 2005 +++ amn/core/alias.m Sat Sep 3 20:40:50 2005 @@ -203,8 +203,18 @@ ## so ppl can choose their poison on output_rewrite now that we don't have ## static timestamping format. -alias orw {set output_rewrite $_paste($1-)$1-} -alias orww {set output_rewrite $_paste($1-) $$1-} +alias orw { +^set -output_rewrite +^set output_rewrite $_paste($1-)$1- +xecho -v [a+c] output indent set to "on" +} + +alias orww { +^set -output_rewrite +^set output_rewrite $_paste($1-) $$1- +xecho -v [a+c] output linewrap set to "on" +} +## end output_rewrite sillyness. ## CrazyEddie's alias alias comatch return ${match($*)||rmatch($*)} Date: Sat, 3 Sep 2005 23:10:46 -0400 (EDT) From: zak@ircii.org (Zak) -fair bit of changes, much improved on connect * server hooks, and silence 'end of motd' crap. documentation updates, and some other things. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Sep 3 19:58:21 2005 +++ amn/CHANGES Sat Sep 3 23:06:40 2005 @@ -12,7 +12,7 @@ -merged the above changes into release. -snapshot. --change ver to 1.1d p/1 +-change ver to 1.1d r/1 d for development r releasenum. -add services module for dalnet users. -add nickserv/chanserv/memoserv aliases into core. -add some more oper aliases into oper.m @@ -25,3 +25,17 @@ they want, i do not know how well the /orww (the one i currently use) works but no problems so far the default has been /orw for the past 6 months. aliases are /orw and /orww +-remove igsave.m and move the contents into save.m i have no idea why + this was not done in the first place. +-new menu help /mhelp for modules see /ehelp for info. +-remove more cruft from ahelp. +-add breset alias which does /binds -defaults, in case you fsck something + up when trying to play around with keybinds this well set it back to + epic defaults not amnesiac default /adump or reload script to bring all + the keybindings back the way they were. i do not beleive /dump all dumps + keybindings. (i could be wrong) +-enable timestamps for server hooks on connect so it doesn't get confusing + on the formatting output with some banners/nostamps etc.. +-silence 'end of motd' crap on /motd or when connecting to a server. +-add more connect hooks for opers/spoofs/exempts. etc.. +-update development rel var. diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sat Sep 3 15:41:08 2005 +++ amn/amn.epic Sat Sep 3 22:31:12 2005 @@ -47,6 +47,7 @@ set mode_stripper on set client_information I get my kicks on channel six set user_information Are you from the FBI ? +set notify_on_termination off set new_server_lastlog_level none set switch_channels_between_windows off set -status_user @@ -71,7 +72,7 @@ @_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy notifylog services] ##poor mans THUTTUP on file not found loader. -^on ^yell * # +####^on ^yell * # ##end poor mans THUTTUP. ^eval ^load $(loadpath)core/sets.m diff -aruN amn.orig/ans/about.ans amn/ans/about.ans --- amn.orig/ans/about.ans Wed Aug 31 07:15:14 2005 +++ amn/ans/about.ans Sat Sep 3 21:44:12 2005 @@ -13,4 +13,4 @@ Web: http://amnesiac.ircii.org Email: zak@ircii.org(author), kreca@ircii.org(mods/bugfixes) -Main Commands: /config /format /theme /ahelp /ehelp /winhelp +Main Commands: /config /format /theme /ahelp /ehelp /winhelp /mhelp diff -aruN amn.orig/core/bind.m amn/core/bind.m --- amn.orig/core/bind.m Fri Sep 2 20:49:25 2005 +++ amn/core/bind.m Sat Sep 3 21:46:51 2005 @@ -1,5 +1,7 @@ subpackage binds ## binds +alias breset {bind -defaults} + alias switchtarget { if (winchan() == []) { parsekey switch_query diff -aruN amn.orig/core/ehelp.m amn/core/ehelp.m --- amn.orig/core/ehelp.m Sat Sep 3 15:50:11 2005 +++ amn/core/ehelp.m Sat Sep 3 21:32:07 2005 @@ -12,6 +12,7 @@ echo ohelp <oper help> operview/oper help menu [module] echo rhelp <relay help> relay/paste help menu. [module] echo svhelp <services help> nserv/cserv/etc.. help menu. [module] + echo mhelp <module help> module help menu. [core] echo winhelp <window help> window shortcuts help menu. [core] echo smhelp <special modes> exempt modes cmds help menu. [core] echo thelp <trickle help> the irc swiss army knife menu. [core] diff -aruN amn.orig/core/help.m amn/core/help.m --- amn.orig/core/help.m Fri Sep 2 22:44:22 2005 +++ amn/core/help.m Sat Sep 3 21:41:33 2005 @@ -1,5 +1,5 @@ subpackage help -@hwords=[rn rk addmod listmod delmod modsave vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir tb ps ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop readlog wall user chops sv frelm tsave freln away back format config color sbcolor dict saveall fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb links lk lsay mdv more mv mw nops not partall qk staynick supt theme tig unban untheme winhelp] +@hwords=[rn rk vocs bantype fset ban mko mkn massk orignick ub sping bkt dldir ps ls cd dns nslookup fkeys format q bans banstat wii mdop mdeop dop dv v scano scanv scann t k umode m j l wi ver c nochat chat bk op voice deop mop cycle mreop readlog wall user chops sv frelm tsave freln away back format config color sbcolor dict fsave sbar scan wk wlk wn wp wj wc csave banstat bankick cig cops devoice fctcp iban inv kickban kb links lk lsay mdv more mv mw nops not partall qk staynick supt theme tig unban untheme winhelp] alias ahelp if (![$0]) { banner.head @_ohcenter=[${word(0 $geom()) / 2 + 40}] @@ -23,10 +23,6 @@ }{ @ :rn=[%Wu%nsage%K:%n /rn will change nick to a random nick of 7 chars] @ :rk=[%Wu%nsage%K:%n /rk will kick a random nick out of your current channel] -@ :addmod=[%Wu%nsage%K:%n /addmod module1,module2,module3... valid modules are $_modules] -@ :delmod=[%Wu%nsage%K:%n /delmod num1,num2,num3... or name1,name2,name3] -@ :modsave=[%Wu%nsage%K:%n /modsave will save all modules] -@ :listmod=[%Wu%nsage%K:%n /listmod will list all modules loaded.] @ :winhelp=[%Wu%nsage%K:%n /winhelp will display help menu for windowing shortcuts. @ :untheme=[%Wu%nsage%K:%n /untheme will make amnesiac revert back to the default theme. @ :unban=[%Wu%nsage%K:%n /unban will unban nick or host from current channel @@ -114,7 +110,6 @@ @ :csave = [%Wu%nsage%K:%n /csave saves color settings] @ :format = [%Wu%nsage%K:%n /format changes format number to selected format @ :sping = [%Wu%nsage%K:%n /sping pings server and returns lag time to it -@ :tb = [%Wu%nsage%K:%n /tb gives a list of bans on the channel with the option of removing 1 @ :ub = [%Wu%nsage%K:%n /ub ub by itself will clear all bans on current channel , /ub nick will unban nick from current channel @ :ps = [%Wu%nsage%K:%n /ps equivelent to shell command @ :ls = [%Wu%nsage%K:%n /ls equivelent to shell command diff -aruN amn.orig/core/hooks.m amn/core/hooks.m --- amn.orig/core/hooks.m Fri Sep 2 19:47:47 2005 +++ amn/core/hooks.m Sat Sep 3 23:00:27 2005 @@ -83,29 +83,45 @@ abecho $fparse(format_timestamp_some $($_timess))$2- } -^on ^server_notice "% % Looking up your hostname...*" { - abecho $2- +^on ^server_notice "% % Processing connection*" { + abecho $fparse(format_timestamp_some $($_timess))$2- +} + +^on ^server_notice "% % Looking up your hostname*" { + abecho $fparse(format_timestamp_some $($_timess))$2- } ^on ^server_notice "% % Checking Ident*" { - abecho $2- + abecho $fparse(format_timestamp_some $($_timess))$2- } ^on ^server_notice "% % Found your hostname*" { - abecho $2- + abecho $fparse(format_timestamp_some $($_timess))$2- } ^on ^server_notice "% % Got ident response*" { - abecho $2- + abecho $fparse(format_timestamp_some $($_timess))$2- } ^on ^server_notice "% % No Ident response*" { - abecho $2- + abecho $fparse(format_timestamp_some $($_timess))$2- } - + +^on ^server_notice "% % Spoofing your*" { + abecho $fparse(format_timestamp_some $($_timess))$2- +} + +^on ^server_notice "% % You are exempt*" { + abecho $fparse(format_timestamp_some $($_timess))$2- +} + ^on ^server_notice "% % Your host is*" { abecho $2- } + +#disable certain servnumerics here. +##/End of MOTD +^on ^376 * # ## disable you've got mail!. ^on ^mail * # diff -aruN amn.orig/core/igsave.m amn/core/igsave.m --- amn.orig/core/igsave.m Thu Sep 1 20:57:56 2005 +++ amn/core/igsave.m Wed Dec 31 19:00:00 1969 @@ -1,12 +0,0 @@ -subpackage igsave -alias igsave { - @igsfile=[$(savepath).a.ig.save] - @rename($igsfile $igsfile~) - @saveig = open($igsfile W T) - fe ($igmask(*)) _igmasks { - @ write($saveig ^ignore $_igmasks $igtype($_igmasks)) - } - @close($saveig) - xecho -v [a+c] (core).. ignores saved to $igsfile - } - diff -aruN amn.orig/core/mod.m amn/core/mod.m --- amn.orig/core/mod.m Fri Sep 2 23:03:01 2005 +++ amn/core/mod.m Sat Sep 3 21:35:53 2005 @@ -124,3 +124,20 @@ } } } + +alias mhelp modhelp +alias modhelp { + if (!$[0]) { + +echo ---------------------= Module Usage Help =------------------------- +echo listmod /listmod will view currently loaded modules. +echo vmod /vmod will view loadable modules. +echo addmod /addmod module1,module2 etc.. will load specified modules. +echo modsave /modsave will save all modules. +echo modules /modules will view loadable modules. +echo delmod /delmod num1,num2,etc.. or name1,name2,etc.. will unload +echo specified modules. +echo --------------------------------------------------------------------- + + } +} diff -aruN amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Fri Sep 2 17:09:00 2005 +++ amn/core/save.m Sat Sep 3 21:03:22 2005 @@ -171,6 +171,16 @@ xecho -v [a+c] (core).. color settings saved to $csavefile } +alias igsave { + @igsfile=[$(savepath).a.ig.save] + @rename($igsfile $igsfile~) + @saveig = open($igsfile W T) + fe ($igmask(*)) _igmasks { + @ write($saveig ^ignore $_igmasks $igtype($_igmasks)) + } + @close($saveig) + xecho -v [a+c] (core).. ignores saved to $igsfile + } alias saveall { @_savevar=[csave asave fsave botsave shitsave usersave fsetsave chansave wordssave modsave igsave nsave] @@ -180,4 +190,3 @@ } } } - diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Sat Sep 3 16:06:02 2005 +++ amn/core/sets.m Sat Sep 3 22:50:17 2005 @@ -35,8 +35,8 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@rel_id=[1] -@a.rel=[1.1d p/$rel_id] +@rel_id=[2] +@a.rel=[1.1d r/$rel_id] @a.date=[20050903] @_ss=[15] @_ovsize=[5] Date: Sat, 3 Sep 2005 23:13:58 -0400 (EDT) From: zak@ircii.org (Zak) -Erwpsz, minor test comment. //zak diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sat Sep 3 22:31:12 2005 +++ amn/amn.epic Sat Sep 3 23:12:47 2005 @@ -71,8 +71,8 @@ #supported modules @_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy notifylog services] -##poor mans THUTTUP on file not found loader. -####^on ^yell * # +## poor mans THUTTUP on file not found loader. +^on ^yell * # ##end poor mans THUTTUP. ^eval ^load $(loadpath)core/sets.m Date: Sun, 4 Sep 2005 15:43:40 -0400 (EDT) From: zak@ircii.org (Zak) 2 minor alias changes. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Sep 3 23:06:40 2005 +++ amn/CHANGES Sun Sep 4 15:42:22 2005 @@ -39,3 +39,7 @@ -silence 'end of motd' crap on /motd or when connecting to a server. -add more connect hooks for opers/spoofs/exempts. etc.. -update development rel var. +9.4.05 +-add alias s [window swap $*] so you can swap to specified num ie: /s 4 +-remove dccwin alias, i doubt anyone is going to miss this. + \ No newline at end of file diff -aruN amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Fri Sep 2 18:11:14 2005 +++ amn/core/window.m Sun Sep 4 15:40:45 2005 @@ -67,9 +67,9 @@ ## shortend aliases. alias wc {^window new hide swap last double on} alias msgwin {wc;wsl;window level msgs,notices;window name messages} -alias dccwin {wc;wsl;window level dcc;window name dcc} alias wsa ^_wsact alias wlk {part $C;wk} +alias s {window swap $*} ## misc. alias wflush window flush_scrollback Date: Sun, 4 Sep 2005 15:53:10 -0400 From: Zak what you guys think of something like this. this is just a rough draft since not everyone knows how to add a server to the list or swap to prev/next server remove a server from list and son on or specifying ssl /nick connections. the draft follows below let me know what you think. -----------draft idea----------------------- subpackage server alias svlist server alias sadd {server -add $*} alias sdel {server -delete $*} alias san {server +} alias sap {server -} alias sanick {server -add $0:6667::$1-} alias sassl {server -add $0:::::IRC-SSL} --------end idea------------ //zak -- what i used to think was me, was just a fading memory. Date: Mon, 5 Sep 2005 16:38:03 -0400 (EDT) From: zak@ircii.org (Zak) -add /ghelp 'GENERAL DUMBASSES HELP' for ppl like grimzy and cluebies. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sun Sep 4 15:42:22 2005 +++ amn/CHANGES Mon Sep 5 16:36:57 2005 @@ -42,4 +42,8 @@ 9.4.05 -add alias s [window swap $*] so you can swap to specified num ie: /s 4 -remove dccwin alias, i doubt anyone is going to miss this. +9.5.05 +-add a new /ghelp for GENERAL USER HELP. mainly to reflect on how to ignore + unignore and some other common things ppl keep bugging me about. + see /ehelp as well for more info. \ No newline at end of file diff -aruN amn.orig/core/ehelp.m amn/core/ehelp.m --- amn.orig/core/ehelp.m Sat Sep 3 21:32:07 2005 +++ amn/core/ehelp.m Mon Sep 5 15:29:24 2005 @@ -12,6 +12,7 @@ echo ohelp <oper help> operview/oper help menu [module] echo rhelp <relay help> relay/paste help menu. [module] echo svhelp <services help> nserv/cserv/etc.. help menu. [module] + echo ghelp <general help> general client/user cmds help. [core] echo mhelp <module help> module help menu. [core] echo winhelp <window help> window shortcuts help menu. [core] echo smhelp <special modes> exempt modes cmds help menu. [core] @@ -19,4 +20,26 @@ echo ---------------------------------------------------------------------- } +} + +alias ghelp genhelp +alias genhelp { + if (!$[0]) { + +echo ---------------------= General Usage Help =------------------------- +echo ign /ign [nick|nick!ident@host] [type] will ignore someone +echo type: can be 1 or more options of notice,msg,dcc,crap,public,all +echo tig /tig # removes specified ignore. +echo cig /cig to ignore public from current or specified channel. +echo umode /umode changes user mode. +echo away /away set yourself away. +echo back /back set yourself back. +echo readlog /readlog reads away msgs. [requires away module] +echo remlog /remlog erase away msgs. [requires away module] +echo orignick /orignick will attempt to regain(jupe) specified nick +echo every 3 seconds(default) unless you specify time in /config. [orignick module] +echo staynick /staynick will cancel /orignick [orignick module] +echo --------------------------------------------------------------------- + + } } From: Kreca Date: Tue, 6 Sep 2005 00:40:13 +0200 (CEST) Fix tig and ignore to use correct epic refnums diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Mon Sep 5 22:36:57 2005 +++ /home/kreca/cvs/amn/CHANGES Tue Sep 6 00:37:07 2005 @@ -46,4 +46,4 @@ -add a new /ghelp for GENERAL USER HELP. mainly to reflect on how to ignore unignore and some other common things ppl keep bugging me about. see /ehelp as well for more info. - +-fix ignore and tig to use real epic refnums. //kreca diff -aruN /home/kreca/cvs/amn.orig/core/alias.m /home/kreca/cvs/amn/core/alias.m --- /home/kreca/cvs/amn.orig/core/alias.m Sun Sep 4 02:40:50 2005 +++ /home/kreca/cvs/amn/core/alias.m Tue Sep 6 00:38:44 2005 @@ -279,16 +279,18 @@ alias tig { - if (igmask(*)) { - @jj=0 - fe ($igmask(*)) ignores { - @jj++ - xecho -b [$jj] $ignores $igtype($ignores) - @ban[$jj] = ignores + @igns=numsort($ignorectl(REFNUMS)) + + if ( strlen($igns) ) { + fe ($igns) ignores { + xecho -b [$ignores] $ignorectl(GET $ignores NICK) $ignorectl(GET $ignores LEVEL) } input "enter # of which ignore to takeoff: " { - if ( ([$0] > 0) && ([$0] <= numwords($igmask(*)))) { - //ignore $ban[$0] -all + if ( ( [$0] >= word(0 $igns)) && ([$0] <= word(${numwords($igns)-1} $igns))){ + eval $ignorectl(DELETE $0) + } + { + xecho -b number out of range \($word(0 $igns) - $word(${numwords($igns)-1} $igns)\) } } }{ @@ -407,23 +409,31 @@ alias ignore { if (#) { - if (match(*#* $0) ^^ match(*!*@* $0)) { - //ignore $0 $1- + if (# > 1) { + if (match(*!*@* $0)) { + //ignore $* + }{ + if (:uhost=getuhost($0)) { + //ignore $uhost $1- + }{ + //ignore $* + } + } }{ - //ignore $getuhost($0) $1- + ignore $0 all } }{ xecho -b Ignorance List: - if (igmask(*)) { - @jj=0 - fe ($igmask(*)) ignores { - @jj++ - xecho -b [$jj] $ignores $igtype($ignores) + @:igns=numsort($ignorectl(REFNUMS)) + if ( strlen($igns) ) { + + fe ($igns) ignores { + xecho -b [$ignores] $ignorectl(GET $ignores NICK) $ignorectl(GET $ignores LEVEL) } } } -} +} alias ban if (![$0]) { From: Kreca Date: Tue, 6 Sep 2005 01:33:52 +0200 (CEST) Forgot to add that skully fixed /ignore to work with the new math parser. Thanks skully! diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Tue Sep 6 00:37:07 2005 +++ /home/kreca/cvs/amn/CHANGES Tue Sep 6 01:32:45 2005 @@ -46,4 +46,5 @@ -add a new /ghelp for GENERAL USER HELP. mainly to reflect on how to ignore unignore and some other common things ppl keep bugging me about. see /ehelp as well for more info. --fix ignore and tig to use real epic refnums. //kreca +-fix ignore and tig to use real epic refnums. //kreca +-added a fix for /ignore to work with the new math parser. Done by skully, thanks! Date: Wed, 7 Sep 2005 13:13:25 -0400 (EDT) From: zak@ircii.org (Zak) -minor ignore hack forgot to comment on last commit. -added a new format by adam, /format 4 kickformats. thanks! //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Tue Sep 6 09:53:42 2005 +++ amn/CHANGES Wed Sep 7 13:11:14 2005 @@ -50,3 +50,5 @@ -added a fix for /ignore to work with the new math parser. Done by skully, thanks! -minor hack to fix /tig for now. /ignore still has some kinks. //zak +-new format by adam, /format 4 (kickformats) thanks!. minor hooking to make + it work by me //zak diff -aruN amn.orig/ans/format.ans amn/ans/format.ans --- amn.orig/ans/format.ans Fri Sep 2 00:10:47 2005 +++ amn/ans/format.ans Wed Sep 7 12:53:41 2005 @@ -10,6 +10,6 @@ eval aecho [g] channel joins [q] echostrings [1] whois formats eval aecho [h] channel leaves [r] nick completion [2] who formats eval aecho [i] modes [s] version [3] timestamp formats -eval aecho [j] notices [t] channel scans +eval aecho [j] notices [t] channel scans [4] kick formats eval aecho eval aecho ---------------------------------------------------------------- diff -aruN amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Sat Sep 3 07:03:21 2005 +++ amn/core/arrays.m Wed Sep 7 13:10:09 2005 @@ -1,5 +1,5 @@ subpackage arrays -## last modified: 8.30.05 - crapple +## last modified: 9.07.05 - crapple ## msg formats @ delarray(mform) @@ -710,6 +710,7 @@ @ setitem(nickform 12 $$fparse(format_timestamp_some $($_timess))$$G %W$$1 %nis now known as %m$$2) @ setitem(nickform 13 $$fparse(format_timestamp_some $($_timess))$$G %nnick change %K\\\(%c$$1 %K-> %m$$2%K\\\)) @ setitem(nickform 14 $$fparse(format_timestamp_some $($_timess))$$G %nnick change %K\\\(%W$$1 %K-> %m$$2%K\\\)) +@ setitem(nickform 15 $$fparse(format_timestamp_some $($_timess))$$G %nnick change %K\\\(%W$$1 %K-> %W$$2%K\\\)) ## timestamp formats -crapple @ delarray(timeform) @@ -728,3 +729,14 @@ @ setitem(timeform 12 $$strftime($time()%X)%c|%n) @ setitem(timeform 13 %K[%n$$Z%K]%n) @ setitem(timeform 14 %K[%n$$strftime($time()%X)%K]%n) + +## kick formats -adam 9.7.05 +## $1 = kicked $2 = kickee $3 = channel $4+ = message +@ delarray(kickform) +@ setitem(kickform 0 !) +@ setitem(kickform 1 $$G $$1 was kicked off $$3 by $$(c3)$$2 %K\\\(%n$$4-%K\\\)) +@ setitem(kickform 2 $$fparse(format_timestamp_some $($_timess)) $$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) +@ setitem(kickform 3 $$G $$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) +@ setitem(kickform 4 $$fparse(format_timestamp_some $($_timess)) $$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) +@ setitem(kickform 5 $$fparse(format_timestamp_some $($_timess)) %K[%nkick%K/%n$$3%K]%n $$1 by $$2 %K[%n$$4-%K]%n) +@ setitem(kickform 6 $$G $$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) diff -aruN amn.orig/core/format.m amn/core/format.m --- amn.orig/core/format.m Fri Sep 2 20:41:14 2005 +++ amn/core/format.m Wed Sep 7 12:53:30 2005 @@ -31,6 +31,7 @@ (1) { if ([$#] < 2) {load $(loadpath)ans/whois.ans} {1format $1;@_whois=[$1]}} (2) { if ([$#] < 2) {whoform.show} {whoform $1} } (3) { if ([$#] < 2) {timeform.show} {timeform $1} } + (4) { if ([$#] < 2) {kickform.show} {kickform $1} } } }{ load $(loadpath)ans/format.ans @@ -859,4 +860,32 @@ xecho -v -b /format 3 to set time stamp format xecho -v -b current format set to $timeform @format_timestamp_some=getitem(timeform $timeform) +} + +alias kickform if ([$0]) { + if (isnumber($0)&&[$0] to set kick format + xecho -v -b current format set to $kickform + @format_kick=getitem(kickform $kickform) } diff -aruN amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Fri Sep 2 22:25:04 2005 +++ amn/core/fsets.m Wed Sep 7 12:59:17 2005 @@ -42,7 +42,6 @@ @ format_invite = [$$G %K<$$(c1)\$1%K\\\($$(c2)invite%K.$$(c1)\$2%K\\\)>] @ format_dcc_connect = [$$G %K[%cdcc%m\(%nconnect%m\)%K]%n connection with %w$$1%K[$$(c2)$$3, port $$4%K]%n established] @ format_dcc_request = [$$G %K[%cdcc%m\(%nrequest%m\)%K]%n %K\\\(%n$$3%K\\\) %nrequest from %w$$1%K[$$(c1)$$userhost() %K[$$(c3)$$4%K:$$(c3)$$5%K]]] -@ format_kick = [$$G $$1 was kicked off $$3 by $$(c3)$$2 %K\\\(%n$$4-%K\\\)] @ format_ctcp_reply = [$$G CTCP %W$$2 %nreply from $$1: $$3-] @ format_server_notice = [%K!$$(c1)$$1%K! %n$$2-] @ format_dcc_lost_chat = [$$G %K[%cdcc%m\(%nchat%m\)%K] %nto %c$$1 %nlost %K\(%n$tolower($4-)%K\)] diff -aruN amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Sat Sep 3 21:03:22 2005 +++ amn/core/save.m Wed Sep 7 13:04:58 2005 @@ -147,6 +147,7 @@ @write($savemt @whofootform = [$whofootform]) @write($savemt @nickform = [$nickform]) @write($savemt @timeform = [$timeform]) + @write($savemt @kickform = [$kickform]) @write($savemt @_whois = [$_whois]) @close($savemt) diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Sat Sep 3 22:50:17 2005 +++ amn/core/sets.m Wed Sep 7 13:08:41 2005 @@ -93,6 +93,7 @@ @signform=[4] @joinform=[16] @leaveform=[3] +@kickform=[1] @modeform=[4] @notform=[19] @snotform=[21] diff -aruN amn.orig/core/theme.m amn/core/theme.m --- amn.orig/core/theme.m Fri Sep 2 00:08:27 2005 +++ amn/core/theme.m Wed Sep 7 13:05:57 2005 @@ -27,6 +27,7 @@ @ write($saveth @signform=$signform) @ write($saveth @joinform=$joinform) @ write($saveth @leaveform=[$leaveform]) + @ write($saveth @kickform=[$kickform]) @ write($saveth @modeform=$modeform) @ write($saveth @notform=$notform) @ write($saveth @snotform=$snotform) Date: Wed, 7 Sep 2005 13:19:27 -0400 (EDT) From: zak@ircii.org (Zak) -CHANGES update seems adam did a couple more formats i missed through my quick look in the patch. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Wed Sep 7 13:11:14 2005 +++ amn/CHANGES Wed Sep 7 13:17:28 2005 @@ -52,3 +52,5 @@ -minor hack to fix /tig for now. /ignore still has some kinks. //zak -new format by adam, /format 4 (kickformats) thanks!. minor hooking to make it work by me //zak +-couple other formats done by adam as well timestamp/nickform. probably + missed other's to document by him from the patch. Date: Thu, 8 Sep 2005 18:35:34 -0400 (EDT) From: zak@ircii.org (Zak) -fix up /tig to silence math parser warnings, /ignore should work as expected however an operand error will pop up if the nick does not exist. -remove some nonessential crap/aliases. -more to come in a bit. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Wed Sep 7 13:17:28 2005 +++ amn/CHANGES Thu Sep 8 18:33:39 2005 @@ -54,3 +54,8 @@ it work by me //zak -couple other formats done by adam as well timestamp/nickform. probably missed other's to document by him from the patch. +9.8.05 +-fix up tig to silence the math_parser warnings for now. //zak +-remove ignore compat from compat.m as we do not need this anymore + *hopefully* //zak +-cleanup a couple of stupid aliases. (that no one will miss) //zak diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Tue Sep 6 06:41:23 2005 +++ amn/core/alias.m Thu Sep 8 18:17:27 2005 @@ -88,16 +88,13 @@ alias nickserv ns $* alias memoserv ms $* -## shamelessly ripped from playdough -channels -alias channels {xecho -b Current channels: $mychannels()} - ## ctcp user aliases alias ctime ctcp $0 time alias cinfo ctcp $0 clientinfo alias cuinfo ctcp $0 userinfo alias cfinger ctcp $0 finger -## script echo's prolly ok.. after 2/m's in production. +## script echo ##still need to clean some of this up. alias abwecho xecho -b -v $cparse($*) alias awecho xecho -v $cparse($*) alias aecho echo $cparse($*) @@ -221,7 +218,7 @@ ## end alias _center { -@ number = (word(0 $geom()) - printlen($stripcrap(ANSI,ND_SPACE,COLOR $*))) / 2 +@ number = (word(0 $geom()) - printlen($stripcrap(ANSI,COLOR $*))) / 2 xecho -w $0 $repeat($trunc(0 $number) )$* } @@ -286,8 +283,8 @@ xecho -b [$ignores] $ignorectl(GET $ignores NICK) $ignorectl(GET $ignores LEVEL) } input "enter # of which ignore to takeoff: " { - if ( ( [$0] >= word(0 $igns)) && ([$0] <= word(${numwords($igns)-1} $igns))){ - @eval $ignorectl(DELETE $0) + if ( ( [$0] >= word(0 $igns)) && [$0] <= word(${numwords($igns)-1} $igns)){ + ^@eval ^$ignorectl(DELETE $0) } { xecho -b number out of range \($word(0 $igns) - $word(${numwords($igns)-1} $igns)\) diff -aruN amn.orig/core/compat.m amn/core/compat.m --- amn.orig/core/compat.m Tue Aug 30 01:29:00 2005 +++ amn/core/compat.m Thu Sep 8 18:30:28 2005 @@ -40,26 +40,7 @@ # The following functions were all pulled from the 'builtins' script # written by David B. Kratter and distributed with EPIC5. # Thanks BlackJac! -stub alias pfsave -pf save; -alias igmask (pattern, void) { - return $ignorectl(pattern $pattern); -}; - -alias igtype (pattern, void) { - fe ($ignorectl(get $ignorectl(refnum $pattern) levels)) ii { - push function_return ${ii =~ [+*] ? [^B$rest(1 $ii)^B] : sar(#/##$sar(#^#DONT-#$ii))}; - }; -}; - -alias rigmask (pattern, void) { - return $ignorectl(rpattern $pattern); -}; - -alias rigtype (...) { - return $ignorectl(with_type $*); -}; - alias servergroup (refnum default "$serverctl(from_server)", void) { if (:group = serverctl(get $refnum group)) { return $group; @@ -301,26 +282,6 @@ #things below are just various things taken from the epic5/scripts source dir #to make this script compatable with epic5 without needing to use the builtins #or too many nonessential aliases/hooks/crap. and some actual improvements. - -## done by hop/taken from epic5/scripts source. -addset hold_mode bool { - fe ($winrefs()) x { - window $x hold_mode $0; - }; -}; -set hold_mode off; - -addset hold_interval int { - fe ($winrefs()) x { - window $x hold_interval $0; - }; -}; -set hold_interval 10; - -on #^window_create -125 * { - window $1 hold_mode $getset(hold_mode); - window $1 hold_interval $getset(hold_interval); -}; # Copyright (c) 2005 David B. Kratter (BlackJac@EFNet) # /history [] Date: Thu, 8 Sep 2005 19:32:59 -0400 (EDT) From: zak@ircii.org (Zak) -bunch of cleanups/improvements NOTICE: we now do output_linewrap per default the 'annoying' downside of this is the trailing whitespace on the first txt/echo/whatnot of the screen if you wish to have indenting on with the set of not having a trailing whitspace to go back to the old behavior do /orw and the new behavior is /orww to switch between. the old behavior was for violence who hated the trailing whitespace. i'll probably add a toggle for this in the near future to save on load/run/dump. etc.. -increment development release ver 3 it's considered (stable) again. nonetheless it should still be treated like any other snapshot. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Thu Sep 8 18:33:39 2005 +++ amn/CHANGES Thu Sep 8 19:26:07 2005 @@ -59,3 +59,12 @@ -remove ignore compat from compat.m as we do not need this anymore *hopefully* //zak -cleanup a couple of stupid aliases. (that no one will miss) //zak +-zap some whitespaces in mjoin. //zak +-more code cleanups. //zak +-output linewrap is now enabled per default, i disabled this in the past + because some ppl complain about the trailing space on every line. but it + still ends up using much more space on long txt, to go back to the old + behavior do /orw. (will set a save/toggle or the like in the near future) +-move ignore/tig/cig to it's own file ignore.m(core) //zak +-add ^Wd bind to next_window requested by Alien88 //zak +-increment development rel ver. //zak diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Sat Sep 3 15:53:39 2005 +++ amn/TODO-BUGS Thu Sep 8 19:23:03 2005 @@ -14,7 +14,9 @@ colors. but not inline nick colors. found by adam. thanks!. ## Higher priority requests. -@ add a topiclock alias (like bitchx) for xaver. +@ add a topiclock alias (like bitchx) for xavier. +@ make a dcc help menu. +@ add a /relm -l alias to redirect to relm for dumb bitchx users. ## Procrastinated requests. @ rewrite topwin (removed to pasture). @@ -37,7 +39,7 @@ @ add a module for set num of exclamation's !!!! before kicking person with kickops on/off option add repeat kick with option for # of repeats before kicking offender. - add mirc kick for ppl using mirc colors. all should have toggle for + add mirc kick for ppl using mirc colors. all should have toggle for on and off, and should work with kickops variable. ## some bugs listed below. diff -aruN amn.orig/ans/uptime.ans amn/ans/uptime.ans --- amn.orig/ans/uptime.ans Tue Aug 30 06:22:45 2005 +++ amn/ans/uptime.ans Thu Sep 8 19:05:51 2005 @@ -5,7 +5,7 @@ eval echo Client Uptime: $tdiff2(${time() - F}) - PID: $pid(), PPID: $ppid() eval echo $info(c) eval echo Compile-time options: $info(o); -eval echo Amnesiac commit id: $commit_id +eval echo Amnesiac release id: $rel_id eval echo Last Recv Message: \($lrmn\) $lrm eval echo Last Recv Notice: \($lrnn\) $lrn eval echo Last Sent Msg: $lsm diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Thu Sep 8 18:17:27 2005 +++ amn/core/alias.m Thu Sep 8 19:17:49 2005 @@ -48,7 +48,6 @@ alias recho eval echo $* alias save saveall alias rsay eval say $* -alias ign ignore $* alias settings config $* ## more/less info from server. @@ -120,8 +119,6 @@ alias l part $* alias epart emopart $* alias dpart emopart $* -alias cloak {ignore *!*@* ctcp} -alias uncloak tig alias lall partall alias host //userhost $* alias realname {set realname $*} @@ -274,27 +271,6 @@ } } - -alias tig { - @igns=numsort($ignorectl(REFNUMS)) - - if ( strlen($igns) ) { - fe ($igns) ignores { - xecho -b [$ignores] $ignorectl(GET $ignores NICK) $ignorectl(GET $ignores LEVEL) - } - input "enter # of which ignore to takeoff: " { - if ( ( [$0] >= word(0 $igns)) && [$0] <= word(${numwords($igns)-1} $igns)){ - ^@eval ^$ignorectl(DELETE $0) - } - { - xecho -b number out of range \($word(0 $igns) - $word(${numwords($igns)-1} $igns)\) - } - } - }{ - xecho -b no ignores currently - } -} - alias emopart { part $C $srand$randread($(loadpath)emopart.reasons) } @@ -404,35 +380,6 @@ } -alias ignore { - if (#) { - if (# > 1) { - if (match(*!*@* $0)) { - //ignore $* - }{ - if (:uhost=getuhost($0)) { - //ignore $uhost $1- - }{ - //ignore $* - } - } - }{ - ignore $0 all - } - }{ - xecho -b Ignorance List: - @:igns=numsort($ignorectl(REFNUMS)) - if ( strlen($igns) ) { - - fe ($igns) ignores { - xecho -b [$ignores] $ignorectl(GET $ignores NICK) $ignorectl(GET $ignores LEVEL) - } - - } - } -} - - alias ban if (![$0]) { xecho -b syn: /ban nick }{ @@ -453,16 +400,6 @@ } } - -alias cig { - if ([$0]) { - ^ignore $0 public - xecho -b ignoring public from $0, /tig to unignore - }{ - ^ignore $C public - xecho -b ignoring public from $C , /tig to unignore - } -} ## taken from cypress alias _pad { diff -aruN amn.orig/core/bind.m amn/core/bind.m --- amn.orig/core/bind.m Sat Sep 3 21:46:51 2005 +++ amn/core/bind.m Thu Sep 8 19:25:25 2005 @@ -15,6 +15,7 @@ @ bindctl(sequence ^X set parse_command switchtarget) @ bindctl(sequence ^G set self_insert) @ bindctl(sequence ^Z set parse_command switchtarget) +@ bindctl(sequence ^Wd set next_window) ## dcc... @ bindctl(sequence ^T set parse_command dcc.get) diff -aruN amn.orig/core/ignore.m amn/core/ignore.m --- amn.orig/core/ignore.m Wed Dec 31 19:00:00 1969 +++ amn/core/ignore.m Thu Sep 8 19:18:35 2005 @@ -0,0 +1,67 @@ +subpackage ignore + +## some short aliases. +alias ign ignore $* +alias cloak {ignore *!*@* ctcp} +alias uncloak tig +## end short aliases. + +alias tig { + @igns=numsort($ignorectl(REFNUMS)) + + if ( strlen($igns) ) { + fe ($igns) ignores { + xecho -b [$ignores] $ignorectl(GET $ignores NICK) $ignorectl(GET $ignores LEVEL) + } + input "enter # of which ignore to takeoff: " { + if ( ( [$0] >= word(0 $igns)) && [$0] <= word(${numwords($igns)-1} $igns)){ + ^@eval ^$ignorectl(DELETE $0) + } + { + xecho -b number out of range \($word(0 $igns) - $word(${numwords($igns)-1} $igns)\) + } + } + }{ + xecho -b no ignores currently + } +} + +alias ignore { + if (#) { + if (# > 1) { + if (match(*!*@* $0)) { + //ignore $* + }{ + if (:uhost=getuhost($0)) { + //ignore $uhost $1- + }{ + //ignore $* + } + } + }{ + ignore $0 all + } + }{ + xecho -b Ignorance List: + @:igns=numsort($ignorectl(REFNUMS)) + if ( strlen($igns) ) { + + fe ($igns) ignores { + xecho -b [$ignores] $ignorectl(GET $ignores NICK) $ignorectl(GET $ignores LEVEL) + } + + } + } +} + +alias cig { + if ([$0]) { + ^ignore $0 public + xecho -b ignoring public from $0, /tig to unignore + }{ + ^ignore $C public + xecho -b ignoring public from $C , /tig to unignore + } +} + +oof diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Wed Sep 7 13:08:41 2005 +++ amn/core/sets.m Thu Sep 8 19:08:17 2005 @@ -35,7 +35,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@rel_id=[2] +@rel_id=[3] @a.rel=[1.1d r/$rel_id] @a.date=[20050903] @_ss=[15] diff -aruN amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Sun Sep 4 15:40:45 2005 +++ amn/core/window.m Thu Sep 8 19:00:34 2005 @@ -27,16 +27,12 @@ alias wq { if (#) { window new_hide swap last double on query $0 - } elsif (Q) { + } elsif (Q) { query ^window $winnum() kill } } -#alias _wsact { -# window swap $notifywindows() -# window swap $pop($notifywindows()) -#} alias _wsact { window swap $leftw(1 $notifywindows()) ;} diff -aruN amn.orig/modules/lsay/lsay.m amn/modules/lsay/lsay.m --- amn.orig/modules/lsay/lsay.m Fri Apr 29 04:16:30 2005 +++ amn/modules/lsay/lsay.m Thu Sep 8 18:43:42 2005 @@ -50,19 +50,6 @@ (*) {//msg $0 $1-} }} -alias esay { -@ :flag = [$0] -switch ($flag) { - (-w) {/esay2 $fade(%K %w %W $1-)} - (-m) {/esay2 $fade(%K %m %M $1-)} - (-c) {/esay2 $fade(%K %c %C $1-)} - (-g) {/esay2 $fade(%K %g %G $1-)} - (-y) {/esay2 $fade(%K %y %Y $1-)} - (-r) {/esay2 $fade(%K %r %R $1-)} - (-b) {/esay2 $fade(%K %b %B $1-)} - (*) {/esay2 $0-} -}} - alias usay { csay $usayfunct($*) } # .:. clogic '98 diff -aruN amn.orig/modules/mjoin/mjoin.m amn/modules/mjoin/mjoin.m --- amn.orig/modules/mjoin/mjoin.m Thu Sep 1 20:56:37 2005 +++ amn/modules/mjoin/mjoin.m Thu Sep 8 18:52:39 2005 @@ -59,15 +59,15 @@ alias jwin { if (![$0]) { xecho -v -b join window set to "$_jwin" - } + } if (match($0 on off)) {@_jwin = [$0] xecho -v -b join window set to "$_jwin" - }{ + }{ if ([$0]&&!match($0 on off)) { xecho -v -b invalid choice - } - } -} + } + } +} alias mjoin { if (_jwin==[on]) { diff -aruN amn.orig/modules/oper/oper.m amn/modules/oper/oper.m --- amn.orig/modules/oper/oper.m Sat Sep 3 15:08:23 2005 +++ amn/modules/oper/oper.m Thu Sep 8 18:47:37 2005 @@ -324,10 +324,6 @@ aecho $1- } -#^on ^364 * { -# aecho $1- -#} - ^on ^365 * { aecho $1 $2 of links list. } diff -aruN amn.orig/modules/relay/relay.m amn/modules/relay/relay.m --- amn.orig/modules/relay/relay.m Fri Sep 2 15:07:50 2005 +++ amn/modules/relay/relay.m Thu Sep 8 19:04:23 2005 @@ -6,7 +6,7 @@ alias lp lpaste alias paste relw -^set output_rewrite $_paste($1-)$1- +^set output_rewrite $_paste($1-) $1- alias _paste { if (relayw == [ON]) { @@ -113,7 +113,7 @@ } on #-notice 33 * if (relayw==[ON]) { - if (numitems(rnot) >=15) { + if (numitems(rnot) >=10) { @delitem(rnot 0) } @setitem(rnot $numitems(rnot) $fparse(format_notice $0 $userhost() $1-)) @@ -152,7 +152,7 @@ ^on #-send_msg 33 * if (relayw ==[ON]) { - if (numitems(smsg) >=15) { + if (numitems(smsg) >=10) { @delitem(smsg 0) } @setitem(smsg $numitems(smsg) $fparse(format_send_msg $0 $1-)) @@ -190,7 +190,7 @@ } ^on #-send_notice 33 * if (relayw ==[ON]) { - if (numitems(snot) >=15) { + if (numitems(snot) >=10) { @delitem(snot 0) } @setitem(snot $numitems(snot) $fparse(format_send_notice $0 $1-)) Date: Fri, 9 Sep 2005 00:04:27 -0400 (EDT) From: zak@ircii.org (Zak) -fix up a bit of a cosmetic uglyness of sbar #4, noticed by ryan[sg]. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Thu Sep 8 19:26:07 2005 +++ amn/CHANGES Fri Sep 9 00:01:18 2005 @@ -68,3 +68,6 @@ -move ignore/tig/cig to it's own file ignore.m(core) //zak -add ^Wd bind to next_window requested by Alien88 //zak -increment development rel ver. //zak + +9.9.05 +-make sbar #4 look a bit better requested by ryan. //zak diff -aruN amn.orig/stats/stat.4 amn/stats/stat.4 --- amn.orig/stats/stat.4 Tue Aug 30 03:24:21 2005 +++ amn/stats/stat.4 Thu Sep 8 23:59:05 2005 @@ -4,7 +4,7 @@ alias stat4 { ^set status_format1 $(sc2)Ú$(sc1)Ä$(hblk)[%*%=%@$(cl)%N%#$(hblk)] %A%M %> %Q $(hblk)[$(sc1)T$(cl)ime$(hblk)/$(cl)%T$(hblk)] $(hblk)[$(sc1)L$(cl)ag$(hblk)/$(cl)%1$(hblk)]$(sc1)Ä$(sc2)¿ -^set status_format2 $(sc2)³ $(hblk)[$(cl)%C$(hblk)%+$(hblk)] $(hblk)[$(sc1)o$(hblk)/$(cl)%2 $(sc1)n$(hblk)/$(cl)%3 $(sc1)v$(hblk)/$(cl)%4$(hblk)] %> %F $(hblk)[$(cl)%{2}S$(hblk)]$(sc1)Ä$(sc2)Ù +^set status_format2 $(sc1)À$(hblk)Ä [$(cl)%C$(hblk)%+$(hblk)] $(hblk)[$(sc1)o$(hblk)/$(cl)%2 $(sc1)n$(hblk)/$(cl)%3 $(sc1)v$(hblk)/$(cl)%4$(hblk)] %> %F $(hblk)[$(cl)%{2}S$(hblk)]$(sc1)Ä$(sc2)Ù ^set status_notify $(hblk)[$(sc1)A$(cl)ct$(hblk)/$(cl)%F$(hblk)] ^set status_umode $(sc1)<$(cl)+%#$(sc1)> ^set status_server %S Date: Fri, 9 Sep 2005 03:33:29 -0400 (EDT) From: zak@ircii.org (Zak) -some relay cosmetic changes and added a /rel alias with switches, hopefully this will meet some of xaviers satisfaction. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 9 00:01:18 2005 +++ amn/CHANGES Fri Sep 9 03:30:40 2005 @@ -71,3 +71,9 @@ 9.9.05 -make sbar #4 look a bit better requested by ryan. //zak +-add a /rel alias.. /rel -l to view msgbuf/paste -n for notice -m for + sentmsg's. /rhelp for more info. hope this will make xavier somewhat + happy. //zak +-change some formatting in the relay input to make more sense, ie; + hit enter to cancel, so ppl do know they do not have to input anything. + //zak diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Thu Sep 8 19:23:03 2005 +++ amn/TODO-BUGS Fri Sep 9 03:29:49 2005 @@ -16,7 +16,10 @@ ## Higher priority requests. @ add a topiclock alias (like bitchx) for xavier. @ make a dcc help menu. -@ add a /relm -l alias to redirect to relm for dumb bitchx users. + +9.9.05 added a /rel alias see /rhelp or /ehelp for more info on this. +and the CHANGES. might not be exactly to xaviers satisfaction. ++ add a /relm -l alias to redirect to relm for dumb bitchx users. ## Procrastinated requests. @ rewrite topwin (removed to pasture). diff -aruN amn.orig/modules/relay/relay.m amn/modules/relay/relay.m --- amn.orig/modules/relay/relay.m Thu Sep 8 19:04:23 2005 +++ amn/modules/relay/relay.m Fri Sep 9 03:23:34 2005 @@ -8,6 +8,16 @@ alias paste relw ^set output_rewrite $_paste($1-) $1- +alias rel { + while (:option = getopt(optopt optarg lns $*)) { + switch ($option) { + (l) {relm} + (n) {reln} + (s) {relsm} + } + } +} + alias _paste { if (relayw == [ON]) { if (numitems(_foo) >= winsize()) { @@ -24,7 +34,7 @@ for (@xx=0, xx to paste sent notice lines in buffer. echo paste /paste then to paste line in buffer. echo relw /relw then to paste line in buffer. +echo rel /rel -l (msg) /rel -n (notice) /rel -s (sendmsg) echo echo Note: you do not have to specify numbers or actually paste anything echo to anyone when seeing what's in the buffer ie: /relm to view the last Date: Fri, 9 Sep 2005 04:04:32 -0400 (EDT) From: zak@ircii.org (Zak) -change /w to /whois to make skully happy, merge in all but 1 keybinding from vanilla, hopefully it doesn't conflict with anything, should also make skully happy, update the todo-bugs to reflict we need to make an on hook for the window double sets, so to remove the hardcoding of /wj /wc etc.. for window double on. so skully can enjoy amn more!. and some other subtler changes. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 9 03:30:40 2005 +++ amn/CHANGES Fri Sep 9 03:53:04 2005 @@ -77,3 +77,5 @@ -change some formatting in the relay input to make more sense, ie; hit enter to cancel, so ppl do know they do not have to input anything. //zak +-change /w to /whois to make skullY happy. +-merge in all but 1 keybinding in vanilla ^D ^listsplit. to binds.m diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Fri Sep 9 03:29:49 2005 +++ amn/TODO-BUGS Fri Sep 9 03:59:43 2005 @@ -14,6 +14,8 @@ colors. but not inline nick colors. found by adam. thanks!. ## Higher priority requests. +@ make a toggle for whether we want window double on/off so we don't +hardcode /wc /wj etc.. to window double per default. @ add a topiclock alias (like bitchx) for xavier. @ make a dcc help menu. diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Thu Sep 8 19:17:49 2005 +++ amn/core/alias.m Fri Sep 9 03:48:48 2005 @@ -53,7 +53,7 @@ ## more/less info from server. alias ww whowas $* alias wi whois $* -alias w who $* +alias w whois $* alias who {//who ${# ? [$*] : T}} alias links ^quote links $* alias wii {if (![$0]) {whois $N $N} {whois $0 $0}} diff -aruN amn.orig/core/bind.m amn/core/bind.m --- amn.orig/core/bind.m Thu Sep 8 19:25:25 2005 +++ amn/core/bind.m Fri Sep 9 03:51:52 2005 @@ -10,6 +10,9 @@ } } +@ bindctl(sequence ^F set self_insert) +@ bindctl(sequence ^W set parse_command window next) +@ bindctl(sequence ^P set parse_command window prev) @ bindctl(sequence ^R set scroll_end) @ bindctl(sequence ^K set parse_command ^join $$invchan) @ bindctl(sequence ^X set parse_command switchtarget) diff -aruN amn.orig/modules/vanilla/vanilla.m amn/modules/vanilla/vanilla.m --- amn.orig/modules/vanilla/vanilla.m Sat Jun 4 00:06:09 2005 +++ amn/modules/vanilla/vanilla.m Fri Sep 9 03:52:14 2005 @@ -3,8 +3,3 @@ # loaded, just the way skullY likes it @ bindctl(sequence ^D set parse_command listsplit) -@ bindctl(sequence ^F set self_insert) -@ bindctl(sequence ^W set parse_command window next) -@ bindctl(sequence ^P set parse_command window prev) - -alias w whois $* Date: Sat, 10 Sep 2005 02:03:50 -0400 (EDT) From: zak@ircii.org (Zak) -refix stat.4 to output better, fix by ryan. //zak diff -aruN amn.orig/stats/stat.4 amn/stats/stat.4 --- amn.orig/stats/stat.4 Thu Sep 8 23:59:05 2005 +++ amn/stats/stat.4 Sat Sep 10 02:01:47 2005 @@ -4,7 +4,7 @@ alias stat4 { ^set status_format1 $(sc2)Ú$(sc1)Ä$(hblk)[%*%=%@$(cl)%N%#$(hblk)] %A%M %> %Q $(hblk)[$(sc1)T$(cl)ime$(hblk)/$(cl)%T$(hblk)] $(hblk)[$(sc1)L$(cl)ag$(hblk)/$(cl)%1$(hblk)]$(sc1)Ä$(sc2)¿ -^set status_format2 $(sc1)À$(hblk)Ä [$(cl)%C$(hblk)%+$(hblk)] $(hblk)[$(sc1)o$(hblk)/$(cl)%2 $(sc1)n$(hblk)/$(cl)%3 $(sc1)v$(hblk)/$(cl)%4$(hblk)] %> %F $(hblk)[$(cl)%{2}S$(hblk)]$(sc1)Ä$(sc2)Ù +^set status_format2 $(sc1)À$(hblk)Ä[$(cl)%C$(hblk)%+$(hblk)] $(hblk)[$(sc1)o$(hblk)/$(cl)%2 $(sc1)n$(hblk)/$(cl)%3 $(sc1)v$(hblk)/$(cl)%4$(hblk)] %> %F $(hblk)[$(cl)%{2}S$(hblk)]$(sc1)Ä$(sc2)Ù ^set status_notify $(hblk)[$(sc1)A$(cl)ct$(hblk)/$(cl)%F$(hblk)] ^set status_umode $(sc1)<$(cl)+%#$(sc1)> ^set status_server %S Date: Wed, 14 Sep 2005 17:06:37 -0400 (EDT) From: zak@ircii.org (Zak) -format changes by adam, thanks!. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Sep 10 02:05:29 2005 +++ amn/CHANGES Wed Sep 14 17:04:34 2005 @@ -82,3 +82,7 @@ 9.10.05 -sbar 4 fixup by ryan. + +9.14.05 +-more formats/fixups by adam, topics/leave/joinforms i think, prolly missed + one, too tired to check ;p //zak diff -aruN amn.orig/core/arrays.m amn/core/arrays.m --- amn.orig/core/arrays.m Wed Sep 7 13:10:09 2005 +++ amn/core/arrays.m Wed Sep 14 17:01:15 2005 @@ -234,7 +234,7 @@ @ setitem(signform 15 $$fparse(format_timestamp_some $($_timess))$$zt$$(c3)signoff%K/%n$$2 $$(c3)$$1 %K[%n$$3-%n%K]) @ setitem(signform 16 $$fparse(format_timestamp_some $($_timess))$$ztSignoff: $$2 \\\($$3-\\\)) @ setitem(signform 17 *** Signoff: $$2 \\\($$3-\\\)) - +@ setitem(signform 18 $$fparse(format_timestamp_some $($_timess))$$zt%K[%Wquit%K/%n$$1%K] %W$$2 %K[%n$$3-%n%K]) ## join formats @ delarray(joinform) @ setitem(joinform 0 !) @@ -260,6 +260,7 @@ @ setitem(joinform 18 $$fparse(format_timestamp_some $($_timess))%c$$1 %K\\\[%C$$3%K\\\]%n has joined %C$$2) @ setitem(joinform 19 $$fparse(format_timestamp_some $($_timess))$$(c4)$$1 %K[$$(c3)$$3%K]%n has joined $$2) @ setitem(joinform 20 $$G $$1 \\\($$3\\\) has joined $$2) +@ setitem(joinform 21 $$fparse(format_timestamp_some $($_timess))%K[%Wjoin%K/%n$$2%K]%W $$1 %K[%n$$3%K]%n) ## leaves formats @ delarray(leaveform) @@ -281,6 +282,7 @@ @ setitem(leaveform 14 $$fparse(format_timestamp_some $($_timess))$$(c1)$$1 %K\\\[$$(c2)$$2%K\\\] %nhas left $$(c2)$$3 %K[%n$$4-%K]) ## leaves 15 - crapple - 8.06.05 @ setitem(leaveform 15 $$G $$1 %K[%G$$msar(g/@/$(hblk)@$(cl)/./$(hblk).$(cl)/$2)%K]%n has left $$3 %K[%W$$4-%K]%n at $$Z) +@ setitem(leaveform 16 $$fparse(format_timestamp_some $($_timess))%K[%Wpart%K/%n$$3%K] %W$$1%K\\\(%n$$2%K\\\) [%n$$4%K]%n) ## mode formats @ delarray(modeform) @@ -437,6 +439,8 @@ @ setitem(topform 3 %K[%ntopic%K/$$(c1)$$2%K:%K[$$(c1)$$1%K]]:%n $$3-) @ setitem(topform 4 %K\\\(%ntopic%K/$$(c1)$$2%K:%K[$$(c1)$$1%K]\\\):%n $$3-) @ setitem(topform 5 *** $$1 has changed the topic on channel $$2 to $$3-) +@ setitem(topform 6 $$fparse(format_timestamp_some $($_timess))$$1 has changed the topic on channel $$2 to $$3-) +@ setitem(topform 7 $$fparse(format_timestamp_some $($_timess))%K[%Wtopic%K/%n$$2%K] %W$$1 %K[%n$$3-%K]%n) ## ctcp formats @ delarray(ctcpform) @@ -735,8 +739,8 @@ @ delarray(kickform) @ setitem(kickform 0 !) @ setitem(kickform 1 $$G $$1 was kicked off $$3 by $$(c3)$$2 %K\\\(%n$$4-%K\\\)) -@ setitem(kickform 2 $$fparse(format_timestamp_some $($_timess)) $$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) +@ setitem(kickform 2 $$fparse(format_timestamp_some $($_timess))$$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) @ setitem(kickform 3 $$G $$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) -@ setitem(kickform 4 $$fparse(format_timestamp_some $($_timess)) $$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) -@ setitem(kickform 5 $$fparse(format_timestamp_some $($_timess)) %K[%nkick%K/%n$$3%K]%n $$1 by $$2 %K[%n$$4-%K]%n) +@ setitem(kickform 4 $$fparse(format_timestamp_some $($_timess))$$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) +@ setitem(kickform 5 $$fparse(format_timestamp_some $($_timess))%K[%nkick%K/%n$$3%K]%n $$1 by $$2 %K[%n$$4-%K]%n) @ setitem(kickform 6 $$G $$1 was kicked off $$3 by $$2 %K[%n$$4-%K]) Date: Fri, 16 Sep 2005 15:38:48 -0400 (EDT) From: zak@ircii.org (Zak) -make kickform load/work per default without a savefile. -bump development release version. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Wed Sep 14 17:04:34 2005 +++ amn/CHANGES Fri Sep 16 15:34:58 2005 @@ -79,10 +79,11 @@ //zak -change /w to /whois to make skullY happy. -merge in all but 1 keybinding in vanilla ^D ^listsplit. to binds.m - 9.10.05 -sbar 4 fixup by ryan. - 9.14.05 -more formats/fixups by adam, topics/leave/joinforms i think, prolly missed one, too tired to check ;p //zak +9.16.05 +-fix kickform to actually show kicks per default. //zak +-update development release version to 4. diff -aruN amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Wed Sep 7 12:59:17 2005 +++ amn/core/fsets.m Fri Sep 16 15:28:35 2005 @@ -39,6 +39,7 @@ @ format_msg_group = [%K-$$(c2)$$1%K:$$(c1)$$2%K-%n $$3-] @ format_wallop = [%K!$$(c1)$$1:$$2%K! %n$$3-] @ format_nickname = [$$G %c$$1 %nis now known as %m$$2] +@ format_kick = [$$G $$1 was kicked off $$3 by $$(c3)$$2 %K\\\(%n$$4-%K\\\))] @ format_invite = [$$G %K<$$(c1)\$1%K\\\($$(c2)invite%K.$$(c1)\$2%K\\\)>] @ format_dcc_connect = [$$G %K[%cdcc%m\(%nconnect%m\)%K]%n connection with %w$$1%K[$$(c2)$$3, port $$4%K]%n established] @ format_dcc_request = [$$G %K[%cdcc%m\(%nrequest%m\)%K]%n %K\\\(%n$$3%K\\\) %nrequest from %w$$1%K[$$(c1)$$userhost() %K[$$(c3)$$4%K:$$(c3)$$5%K]]] @@ -75,7 +76,7 @@ }{ echo $fparse(format_notice $0 $userhost() $1-) } - } + } ## public fsets. ^on ^public_notice * echo $fparse(format_public_notice $0 $1 $2-) diff -aruN amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Wed Sep 7 13:04:58 2005 +++ amn/core/save.m Fri Sep 16 15:24:45 2005 @@ -75,7 +75,8 @@ @write($fsetsavemt ^sfset format_signoff $format_signoff) @write($fsetsavemt ^sfset format_join $format_join) @write($fsetsavemt ^sfset format_leave $format_leave) - @write($fsetsavemt ^sfset format_mode $format_mode) + @write($fsetsavemt ^sfset format_mode $format_mode) + @write($fsetsavemt ^sfset format_kick $format_kick) @write($fsetsavemt ^sfset format_notice $format_notice) @write($fsetsavemt ^sfset format_public_notice $format_public_notice) @write($fsetsavemt ^sfset format_send_notice $format_send_notice) diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Thu Sep 8 19:08:17 2005 +++ amn/core/sets.m Fri Sep 16 15:35:36 2005 @@ -1,3 +1,5 @@ +subpackage sets + ## colour vars. @ cl = [\\[0m] @ blk = [\\[0\;30m] @@ -35,7 +37,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@rel_id=[3] +@rel_id=[4] @a.rel=[1.1d r/$rel_id] @a.date=[20050903] @_ss=[15] @@ -93,7 +95,6 @@ @signform=[4] @joinform=[16] @leaveform=[3] -@kickform=[1] @modeform=[4] @notform=[19] @snotform=[21] @@ -117,6 +118,7 @@ @whofootform=[1] @nickform=[3] @timeform=[1] +@kickform=[1] @_whois=[4] ## default color and sbar color var. Date: Fri, 16 Sep 2005 20:16:39 -0400 (EDT) From: zak@ircii.org (Zak) -huge jumbo changes. noticeable are the module outputs, removal of a couple of small modules into other modules, split alias and channel.m up a bit, cleanup of some files. more to come yet. probably tonight/tomorrow. -read diff/changelog for changes info. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 16 15:34:58 2005 +++ amn/CHANGES Fri Sep 16 20:14:17 2005 @@ -87,3 +87,23 @@ 9.16.05 -fix kickform to actually show kicks per default. //zak -update development release version to 4. +[after development release 4] +-remove mass.m module create core/channel.m merge a lot of op/channel +aliases from alias.m to channel.m merge stuff from mass.m module into +channel.m as well, this makes much more sense and easier to find said +aliases in future, code cleanups while in these area's. //zak +-move bantype/timestamp from alias.m to config.m this is more proper + cleanup/document config.m a little better while in here. //zak +-create a more extended explanation of modules /emod. make /vmod output + nicer. yes both are a hack. will make it a bit better in the future. + //zak +-merge fake.m into relay.m remove the fake module make fake work better. + revert changes for the 'betterness' for now. //zak +-remove some stupid reasons from kick.reasons //zak +-finished up /emod //zak +-finished up /vmod //zak +-sync UPGRADE to reality. +-sync NOTES to reality. +-sync TODO-BUGS to reality. +Note: PLEASE READ THE UPGRADE FOR REMOVING 2 SAVEFILES BEFORE LOADING. +[increment version to development rel 5] diff -aruN amn.orig/NOTES amn/NOTES --- amn.orig/NOTES Sat Sep 3 19:56:23 2005 +++ amn/NOTES Fri Sep 16 19:20:35 2005 @@ -1,3 +1,8 @@ +## various notes/documents about some common problems known in +## amnesiac/epic. + + +## ansi/ibm437 hardcoding fonts/ugly looking etc.. -this is not a bug per se, it's just how the font handles ansi codes. i do not know what fonts really support them, these are some of the things you can try if your theme/colors/ansi etc.. in the client looks @@ -13,33 +18,36 @@ http://amnesiac.ircii.org/misc/ there are also some other fonts in there as well which may or may not work. -terminfo/termcap issues on FreeBSD not sure about DragonFly... possible fix -ln -s /usr/compat/linux/usr/share/terminfo /usr/share/misc -and cross your fingers? - help from |Rain| (naturally i presume this -requires the linux-compat libs installed.) +## terminfo/termcap info. +-terminfo/termcap issues on FreeBSD not sure about DragonFly... possible fix + ln -s /usr/compat/linux/usr/share/terminfo /usr/share/misc + and cross your fingers? - help from |Rain| (naturally i presume this + requires the linux-compat libs installed.) -Those of you who uses multiserver in ircii based irc clients, you should -use epic4 instead of epic5 at this time, the multiserver support isn't -really much better than any other ircii based client currently. prolly still -better than BitchX! *ahem* +## multiserver in amnesiac. +-there has been some improvements since 1.1 release + it's been tested and known to work, major complaints are no mjoin for + multiple servers, and no auto-reconnect(there is but highly not recommended) + and no auto_rejoin_on_connect. -There are times i have came across people requesting indenting on long txt -from someone and others who want's it at beginning of next line, to adjust -the value for your choice of poison. +## output_rewrite formatting changes. +-There are times i have came across people requesting indenting on long txt + from someone and others who want's it at beginning of next line, to adjust + the value for your choice of poison. /set output_rewrite output_rewrite $_paste($1-)$1- -[sample long txt output] <-- this sample is the default. +[sample long txt output] <-- this sample is non-default 17:24:16|<@crapple> i wonder if i should test out the aggressive states on nocturnal /set output_rewrite output_rewrite $_paste($1-) $1- -[sample long txt output with wrapping to beginning of line] +[sample long txt output with wrapping to beginning of line] <-- default. 17:24:16|<@crapple> i wonder if i should test out the aggressive states on nocturnal note: this will also wrap other formats as well ie: private msg. -this is aliased in snapshot as of 9.3.05 -/orw - default -/orww - extended with wrappings. +/orw - indenting, non-default as of 9.8.05 +/orww - extended with wrappings. -default behavior. +## end output_rewrite formatting note. //crapple //zak@ircii.org diff -aruN amn.orig/README amn/README --- amn.orig/README Sat Aug 6 01:19:47 2005 +++ amn/README Fri Sep 16 19:06:44 2005 @@ -17,8 +17,9 @@ this may help speed up fixing a bug in case i am not around or vice versa. -* The ChangeLog file contains any amendments to the help files since the +* The CHANGES file contains any amendments to the help files since the last release of amnesiac +* The CHANGES.rel file contains changes between releases. * If you want a feature in amnesiac or anything else, please let crapple/kreca/skullY@efnet know. diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Fri Sep 9 03:59:43 2005 +++ amn/TODO-BUGS Fri Sep 16 19:12:02 2005 @@ -19,10 +19,6 @@ @ add a topiclock alias (like bitchx) for xavier. @ make a dcc help menu. -9.9.05 added a /rel alias see /rhelp or /ehelp for more info on this. -and the CHANGES. might not be exactly to xaviers satisfaction. -+ add a /relm -l alias to redirect to relm for dumb bitchx users. - ## Procrastinated requests. @ rewrite topwin (removed to pasture). @@ -51,10 +47,20 @@ NONE for 'some bugs' ## bugs fixed. / projects done. -9/2/05 finally done this bit, /addbwk for the syntax or /bwhelp. +9.16.05 - fixed a bug with kickform not existing per default. //zak + !kickform default used to echo the kick not showing an actual format + this was a problem for several development releases it should now + be fixed without requiring one to set one in /format 4. + +9.9.05 - good enough for now. will make /relm -l in the future. //zak + !added a /rel alias see /rhelp or /ehelp for more info on this. + and the CHANGES. might not be exactly to xaviers satisfaction. + add a /relm -l alias to redirect to relm for dumb bitchx users. + +9/2/05 finally done this bit, /addbwk for the syntax or /bwhelp. //kreca. !toggle for kickban or just kick for the bwk module. -9/2/05 done and cleaned up the hard coded default of on. +9/2/05 done and cleaned up the hard coded default of on. //kreca !add toggle for notify logging types; on/off signon/signoffs. 9/2/05 fixed now. //zak diff -aruN amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Sat Sep 3 15:54:51 2005 +++ amn/UPGRADE Fri Sep 16 18:58:58 2005 @@ -8,10 +8,10 @@ about their irc client uptimes *ahem*) ## upgrade info -## any to 1.1 p/* (in theory) +## any to 1.1d r/* (in theory) rm -rf /path/to/amn -rm -rf ~/.amn/.mod.save -rm -rf ~/.amn/.a.fsave +rm -rf ~/.amn/.mod.save +rm -rf ~/.amn/.a.fsetsave tar zxvf newver.tgz (in your home dir or dir you want it) or tar zxvf newver.tgz -C /path/to/where/you/want/it diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sat Sep 3 23:12:47 2005 +++ amn/amn.epic Fri Sep 16 18:00:39 2005 @@ -69,7 +69,7 @@ } #supported modules -@_modules=[ncomp flood abot lsay sprot aol query away dict fake mass mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy notifylog services] +@_modules=[ncomp flood abot lsay sprot aol query away dict mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy nlog services] ## poor mans THUTTUP on file not found loader. ^on ^yell * # diff -aruN amn.orig/ans/modlist.ans amn/ans/modlist.ans --- amn.orig/ans/modlist.ans Wed Dec 31 19:00:00 1969 +++ amn/ans/modlist.ans Fri Sep 16 20:01:28 2005 @@ -0,0 +1,12 @@ +eval echo --------------------= Available Modules =------------------------ +eval echo [abot] [*] [away] [*] [dict] [*] +eval echo [mjoin] [*] [oper] [*] [relay] [*] +eval echo [tab] [*] [netsplit] [*] [orignick] [*] +eval echo [clones] [M] [ncomp] [M] [adcc] [M] +eval echo [flood] [M] [lsay] [M] [nlog] [M] +eval echo [query] [M] [sprot] [M] [aol] [M] +eval echo [bwk] [M] [xy] [M] [shitlist] [M] +eval echo [userlist] [M] [services] [M] +eval echo +eval echo [*] Default [M] Non-default /mhelp for more info. +eval echo ------------------------------------------------------------------- diff -aruN amn.orig/ans/modules.ans amn/ans/modules.ans --- amn.orig/ans/modules.ans Wed Dec 31 19:00:00 1969 +++ amn/ans/modules.ans Fri Sep 16 20:09:44 2005 @@ -0,0 +1,28 @@ +eval echo -----------------= Module Description =------------------- +eval echo [*] Default [M] Non-default /mhelp for more info. +eval echo [abot] - auto-bot [*] +eval echo [away] - away/away-log [*] +eval echo [dict] - dictionary [*] +eval echo [mjoin] - mass join/auto-join [*] +eval echo [oper] - IRC oper/opervision/commands [*] +eval echo [relay] - paste/relm/reln etc.. buffer [*] +eval echo [tab] - extended tab completion [*] +eval echo [netsplit] - netsplit detector [*] +eval echo [orignick] - orignick/jupenick [*] +eval echo [clones] - scan for clones in current chan [M] +eval echo [ncomp] - nick completion [M] +eval echo [adcc] - xdcc/dcc pack/offers [M] +eval echo [flood] - msg flood protection [M] +eval echo [lsay] - leet say, colour say [M] +input_char "menu paused hit the ANY key to continue " +pause +eval echo [nlog] - notify logging [M] +eval echo [query] - auto-query window [M] +eval echo [sprot] - self-protection aka unbanself [M] +eval echo [aol] - aol say [M] +eval echo [bwk] - banwordkick k/bk user on said word [M] +eval echo [xy] - undernet xy services helper [M] +eval echo [shitlist] - shitlist user [M] +eval echo [userlist] - friends/userlist protection [M] +eval echo [services] - nickserv/memoserv/chanserv helper [M] +eval echo ------------------------------------------------------------- diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Fri Sep 9 03:48:48 2005 +++ amn/core/alias.m Fri Sep 16 17:38:24 2005 @@ -1,45 +1,7 @@ subpackage alias -## last modified by crapple 8.30.05 +## last modified by crapple 9.16.05 -## op/oper commands. -alias bki {bk $*;ignore $0 msgs} -alias kbi {kb $*;ignore $0 msgs} -alias bkt {qk $*} -alias ov operview -alias unban ub $* -alias cb ub $* -alias clearbans ub $* -alias not {^topic -$C } -alias untopic not -alias bans banstat -alias alldop mdeop -alias alldeop mdep -alias mdop mdeop -alias dop {deop $*} -alias allop mop -alias dv devoice $* -alias v voice $* -alias t topic $* -alias c {^mode $C $*} -alias i ixs -alias e exs -alias -I {^mode $C -I $*} -alias -E {^mode $C -e $*} -alias +I {^mode $C +I $*} -alias +E {^mode $C +e $*} -alias bk {bankick $*} -alias kb {bankick $*} -alias cmode {c $*} - -## diff ban types. -alias fuckem lban -alias lban mode $C +bbb *!*@0.0.0.0/1 *!*@128.0.0.0/1 *!*@0000::/1 $0 $0 $0 $0 -alias ip6ban {mode $C +b *!*@0000::/1} -alias ip4ban {mode $C +b *!*@0.0.0.0/1} -alias fakeop mode $C +oo-oo $0 $0 $0 $0 $0 $0 $0 $0 -alias hban {mode $C +b <3!<3@<3} - ## various commands. alias sc scan $* alias signoff bye $* @@ -100,12 +62,6 @@ alias abecho xecho -b -- $cparse($*) alias ce echo $cparse("$*") -## chan info. -alias scano sco $* -alias scanv scv $* -alias scann scn $* -alias n ^names $C - ## to be annoying like xavier. alias blinky msg $T $cparse("%F%G$*") @@ -117,9 +73,6 @@ alias p part $* alias k kick $* alias l part $* -alias epart emopart $* -alias dpart emopart $* -alias lall partall alias host //userhost $* alias realname {set realname $*} alias irchost hostname $* @@ -233,24 +186,6 @@ xecho -r $chr(27)\(B } -## timestamps. -alias _timestampsome { - if (_tss==[on]) { - @_timess=[Z] - ^eval timeform.load $timeform - ^assign -zt - }{ - ^assign -_timess - ^assign -format_timestamp_some - ^set input_aliases on - ^assign ZT $(G) - ^set input_aliases off - } -} - -## end timestamp stuff. - - alias cat { if ([$#]) { @:ansifile = open($0 R T) @@ -271,49 +206,12 @@ } } -alias emopart { - part $C $srand$randread($(loadpath)emopart.reasons) -} - -alias cops { - ^on who -* - ^on ^who * { - if ([$[2]2]==[G*] ^^ [$[2]2]==[H*]) { - xecho -w $winchan $cparse($(c1) $[9]0) $cparse($(c2) $[9]1) $cparse($(c1) $[20]5) $(cl)$3$cparse($(c1)@)$(cl)$4 - } - } - who $C - wait - ^on who -* - ^on ^who * { - xecho -w $winchan $cparse($(c1) $[9]0) $cparse($(c2) $[9]1) $cparse($(c1) $[20]5) $(cl)$3$cparse($(c1)@)$(cl)$4 - } -} - -alias partall { - part $sar(g/ /,/$mychannels()) -} - alias fctcp if (![$0]) { xecho -b syn: /fctcp nick/channel }{ notice $0 $chr(1)$1-$chr(1) } -alias sync { - @cmodes=[$M] - /c +m - $cmodes;/c -m + $cmodes - } - -alias omode { - if ([$0]==[on]) { - umode +sckf - } - if ([$0]==[off]) { - umode -sckf - } - } - alias mw { if (![$0]) { xecho -b /mw -hidden|split|kill @@ -347,60 +245,6 @@ msg $T ircII $(J) \($V\) [$info(i)] "$info(r)" client uptime: $tdiff2(${time() - F}) } -alias qk { - if (![$0]) { - xecho -b usage: /qk - will bankick specified nick then unban them after 5 seconds. - }{ - bankick $* - @_bnick=[$0] - ^timer 5 {ub $_bnick} - } -} - -alias unkey (void) -{ - if (match(*k* $chanmode())) { - //mode $C -k - } else { - xecho -b No key on channel $C - } -} - -alias bantype if (![$0]) { - xecho -v [a+c] bantype set to $bt_ - xecho -v [a+c] /bantype - }{ - - switch ($0) { - (normal) {@bt_=[normal];@_bt=6;xecho -v [a+c] bantype set to normal (n!*u@h.d n!*u@d.h)} - (better) {@bt_=[better];@_bt=3;xecho -v [a+c] bantype set to better (*!*u@*.d *!*u@d.*)} - (host) {@bt_=[host];@_bt=2;xecho -v [a+c] bantype set to host (*!*@h.d *!*@d.h)} - (domain) {@bt_=[domain];@_bt=4;xecho -v [a+c] bantype set to domain (*!*@*.d *!*@d.*)} - } - } - - -alias ban if (![$0]) { - xecho -b syn: /ban nick - }{ - if (match(*!*@* $0)) { - //mode $C +b $0 - }{ - if (userhost($0) == [@]) { - ^userhost $0 -cmd { - if ([$3@$4]!=[@]) { - //mode $C +b $mask($_bt $0!$3@$4) - - } - } - }{ - //mode $C +b $mask($_bt $0!$userhost($0)) - - } - - } -} - ## taken from cypress alias _pad { @ function_return = [$1-$repeat(${[$0] - _printlen($1-)} )] @@ -414,26 +258,6 @@ } } -alias inv { - if (![$1]) { - ^invite $0 $C - }{ - ^invite $0 $1 - } -} - -alias kick { - if (numwords($*) == 0) { - xecho -b Usage: /KICK [reason]; - return - } - if ( numwords($*) < 2) { - //kick $C $0 $randread($(loadpath)kick.reasons) - }{ - //kick $C $0 $1- - } -} - alias part { if ([$0]) { switch ($0) { @@ -464,163 +288,6 @@ //ctcp $0 version } } - -alias 4op { - fe ($*) ii { - ^quote mode $C +oooo $ii $ii $ii $ii - } -} - -alias 4v { - fe ($*) ii { - ^quote mode $C +vvvv $ii $ii $ii $ii - } -} - -alias bankick { - if (![$0]) { - xecho -b syn: /bankick nick - }{ - if (userhost($0) == [@]) { - ^userhost $0 -cmd { - if ([$3@$4]!=[@]) { - //mode $C +b $mask($_bt $0!$3@$4) - } - } - }{ - //mode $C -o+b $0 $mask($_bt $0!$userhost($0)) - } - kick $* - } -} - -alias kickban if (![$0]) { - xecho -b usage: /kickban nick - }{ if ( numwords($*) < 2) { - if (![$@1]) { - kick $* - }{ - kick $C $0 $1- - }} - if (userhost($0) == [@]) { - ^userhost $0 -cmd { - - if ([$3@$4]!=[@]) { - //mode $C +b $mask($_bt $0$3@$4) - } - } - }{ - //mode $C +b $mask($_bt $userhost($0)) - } -} - -alias iban if ([$0]) { - if (userhost($0) == [@]) { - ^userhost $0 -cmd { - if ([$3@$4]!=[@]) { - //mode $C +b *!*$3@* - } - } - }{ - //mode $C +b *!*$before(@ $userhost($0))@* - } - kick $* -} - -alias op if (![$0]) { - banner.lchead - banner.mid syn: /op - banner.foot -}{ - if (match(*#* $*)) { - fe ($1-) ii jj kk ll { - //mode $0 +oooo $ii $jj $kk $ll - } - }{ - fe ($*) ii jj kk ll { - //mode $C +oooo $ii $jj $kk $ll - } - } -} - -alias voice { - fe ($*) ii jj kk ll { - //mode $C +vvvv $ii $jj $kk $ll - } -} - -alias devoice { - fe ($*) ii jj kk ll { - //mode $C -vvvv $ii $jj $kk $ll - } -} - -alias deop { - fe ($*) ii jj kk ll { - //mode $C -oooo $ii $jj $kk $ll - } -} - -alias mv { - fe ($nochops()) ii jj kk ll { - //mode $C +vvvv $ii $jj $kk $ll - } -} - -alias mdv { - fe ($msar(g/?//@//.//+//$pattern(*+* $channel()))) ii jj kk ll { - //mode $C -vvvv $ii $jj $kk $ll - } -} - -alias mreop { - fe ($chops()) ii jj kk ll { - //mode $C +oooo $ii $jj $kk $ll - } -} - -alias mop { - fe ($nochops()) ii jj kk ll { - //mode $C +oooo $ii $jj $kk $ll - } -} - -alias mdeop { - if ([$0]) { - @_chanm=sar(g/,/ /$rest(1 $0-)) - fe ($remw($N $remws($_chanm / $chops()))) o1 o2 o3 o4 { - ^quote mode $C -oooo $o1 $o2 $o3 $o4 - } - xecho -b mass deoping $C minus $_chanm - }{ - fe ($remw($N $chops())) o1 o2 o3 o4 { - ^quote mode $C -oooo $o1 $o2 $o3 $o4 - } - xecho -b mass deoping $C - } - -} - -alias cycle { - @:chan=ischannel($0)?[$0]:C - @:key=key($chan) - xecho -b cycling on channel $chan\, one moment... - ^quote part $chan;wait;join $chan $key -} - -alias ecycle { - @:chan=ischannel($0)?[$0]:C - @:key=key($chan) - xecho -b emo cycling on channel $chan\, one moment... - ^emopart $chan;wait;join $chan $key -} - -alias waitop { - timer $srand($time())$rand(10) { - if (! [$ischanop($0 $1)]) { - mode $1 +o $0 } - } - } oof diff -aruN amn.orig/core/channel.m amn/core/channel.m --- amn.orig/core/channel.m Wed Dec 31 19:00:00 1969 +++ amn/core/channel.m Fri Sep 16 17:38:57 2005 @@ -0,0 +1,360 @@ +subpackage channel + +## op/oper commands. +alias bki {bk $*;ignore $0 msgs} +alias kbi {kb $*;ignore $0 msgs} +alias bkt {qk $*} +alias ov operview +alias unban ub $* +alias cb ub $* +alias clearbans ub $* +alias not {^topic -$C } +alias untopic not +alias bans banstat +alias alldop mdeop +alias alldeop mdep +alias mdop mdeop +alias dop {deop $*} +alias allop mop +alias dv devoice $* +alias v voice $* +alias t topic $* +alias c {^mode $C $*} +alias i ixs +alias e exs +alias -I {^mode $C -I $*} +alias -E {^mode $C -e $*} +alias +I {^mode $C +I $*} +alias +E {^mode $C +e $*} +alias bk {bankick $*} +alias kb {bankick $*} +alias cmode {c $*} + +## misc parts. +alias epart emopart $* +alias dpart emopart $* +alias lall partall + +## diff ban types. +alias fuckem lban +alias lban mode $C +bbb *!*@0.0.0.0/1 *!*@128.0.0.0/1 *!*@0000::/1 $0 $0 $0 $0 +alias ip6ban {mode $C +b *!*@0000::/1} +alias ip4ban {mode $C +b *!*@0.0.0.0/1} +alias fakeop mode $C +oo-oo $0 $0 $0 $0 $0 $0 $0 $0 +alias hban {mode $C +b <3!<3@<3} + +## chan info. +alias scano sco $* +alias scanv scv $* +alias scann scn $* +alias n ^names $C + +## misc more complex aliases. + +alias emopart { + part $C $srand$randread($(loadpath)emopart.reasons) +} + +alias partall { + part $sar(g/ /,/$mychannels()) +} + +alias cops { + ^on who -* + ^on ^who * { + if ([$[2]2]==[G*] ^^ [$[2]2]==[H*]) { + xecho -w $winchan $cparse($(c1) $[9]0) $cparse($(c2) $[9]1) $cparse($(c1) $[20]5) $(cl)$3$cparse($(c1)@)$(cl)$4 + } + } + who $C + wait + ^on who -* + ^on ^who * { + xecho -w $winchan $cparse($(c1) $[9]0) $cparse($(c2) $[9]1) $cparse($(c1) $[20]5) $(cl)$3$cparse($(c1)@)$(cl)$4 + } +} + +alias sync { + @cmodes=[$M] + /c +m - $cmodes;/c -m + $cmodes + } + +alias omode { + if ([$0]==[on]) { + umode +sckf + } + if ([$0]==[off]) { + umode -sckf + } + } + +alias qk { + if (![$0]) { + xecho -b usage: /qk - will bankick specified nick then unban them after 5 seconds. + }{ + bankick $* + @_bnick=[$0] + ^timer 5 {ub $_bnick} + } +} + +alias unkey (void) +{ + if (match(*k* $chanmode())) { + //mode $C -k + } else { + xecho -b No key on channel $C + } +} + +alias ban if (![$0]) { + xecho -b syn: /ban nick + }{ + if (match(*!*@* $0)) { + //mode $C +b $0 + }{ + if (userhost($0) == [@]) { + ^userhost $0 -cmd { + if ([$3@$4]!=[@]) { + //mode $C +b $mask($_bt $0!$3@$4) + + } + } + }{ + //mode $C +b $mask($_bt $0!$userhost($0)) + + } + + } +} + +alias inv { + if (![$1]) { + ^invite $0 $C + }{ + ^invite $0 $1 + } +} + +alias kick { + if (numwords($*) == 0) { + xecho -b Usage: /KICK [reason]; + return + } + if ( numwords($*) < 2) { + //kick $C $0 $randread($(loadpath)kick.reasons) + }{ + //kick $C $0 $1- + } +} + +alias 4op { + fe ($*) ii { + ^quote mode $C +oooo $ii $ii $ii $ii + } +} + +alias 4v { + fe ($*) ii { + ^quote mode $C +vvvv $ii $ii $ii $ii + } +} + +alias bankick { + if (![$0]) { + xecho -b syn: /bankick nick + }{ + if (userhost($0) == [@]) { + ^userhost $0 -cmd { + if ([$3@$4]!=[@]) { + //mode $C +b $mask($_bt $0!$3@$4) + } + } + }{ + //mode $C -o+b $0 $mask($_bt $0!$userhost($0)) + } + kick $* + } +} + +alias kickban if (![$0]) { + xecho -b usage: /kickban nick + }{ if ( numwords($*) < 2) { + if (![$@1]) { + kick $* + }{ + kick $C $0 $1- + }} + if (userhost($0) == [@]) { + ^userhost $0 -cmd { + + if ([$3@$4]!=[@]) { + //mode $C +b $mask($_bt $0$3@$4) + } + } + }{ + //mode $C +b $mask($_bt $userhost($0)) + } +} + +alias iban if ([$0]) { + if (userhost($0) == [@]) { + ^userhost $0 -cmd { + if ([$3@$4]!=[@]) { + //mode $C +b *!*$3@* + } + } + }{ + //mode $C +b *!*$before(@ $userhost($0))@* + } + kick $* +} + +alias op if (![$0]) { + banner.lchead + banner.mid syn: /op + banner.foot +}{ + if (match(*#* $*)) { + fe ($1-) ii jj kk ll { + //mode $0 +oooo $ii $jj $kk $ll + } + }{ + fe ($*) ii jj kk ll { + //mode $C +oooo $ii $jj $kk $ll + } + } +} + +alias voice { + fe ($*) ii jj kk ll { + //mode $C +vvvv $ii $jj $kk $ll + } +} + +alias devoice { + fe ($*) ii jj kk ll { + //mode $C -vvvv $ii $jj $kk $ll + } +} + +alias deop { + fe ($*) ii jj kk ll { + //mode $C -oooo $ii $jj $kk $ll + } +} + +alias mv { + fe ($nochops()) ii jj kk ll { + //mode $C +vvvv $ii $jj $kk $ll + } +} + +alias mdv { + fe ($msar(g/?//@//.//+//$pattern(*+* $channel()))) ii jj kk ll { + //mode $C -vvvv $ii $jj $kk $ll + } +} + +alias mreop { + fe ($chops()) ii jj kk ll { + //mode $C +oooo $ii $jj $kk $ll + } +} + +alias mop { + fe ($nochops()) ii jj kk ll { + //mode $C +oooo $ii $jj $kk $ll + } +} + +alias mdeop { + if ([$0]) { + @_chanm=sar(g/,/ /$rest(1 $0-)) + fe ($remw($N $remws($_chanm / $chops()))) o1 o2 o3 o4 { + ^quote mode $C -oooo $o1 $o2 $o3 $o4 + } + xecho -b mass deoping $C minus $_chanm + }{ + fe ($remw($N $chops())) o1 o2 o3 o4 { + ^quote mode $C -oooo $o1 $o2 $o3 $o4 + } + xecho -b mass deoping $C + } + +} + +alias cycle { + @:chan=ischannel($0)?[$0]:C + @:key=key($chan) + xecho -b cycling on channel $chan\, one moment... + ^quote part $chan;wait;join $chan $key +} + +alias ecycle { + @:chan=ischannel($0)?[$0]:C + @:key=key($chan) + xecho -b emo cycling on channel $chan\, one moment... + ^emopart $chan;wait;join $chan $key +} + +alias waitop { + timer $srand($time())$rand(10) { + if (! [$ischanop($0 $1)]) { + mode $1 +o $0 } + } + } + + +alias lk if ([$0]) { + fe ($nochops()) n1 { + if (!ischanvoice($n1)) { + k $n1 $* + } + } +}{ + fe ($nochops()) n1 { + if (!ischanvoice($n1)) { + k $n1 mass kick + } + } +} +alias mko if ([$0]) { + fe ($remw($N $chops())) n1 { + k $n1 $* + } + }{ + fe ($remw($N $chops())) n1 { + k $n1 mass kick + } + } + +alias mkn if ([$0]) { + fe ($remw($N $nochops())) n1 { + k $n1 $* + } + }{ + fe ($remw($N $nochops())) n1 { + k $n1 mass kick + } +} + + +alias massk if (![$0]) { + xecho -b usage: /massk + }{ + @kvar=[$0] + xecho -b kicking all users with $kvar in version reply. + ^ver $C + ^on ^ctcp_reply "% % VERSION *" { + if (ischanop($0 $C)==0 || kickops == [on]) { + if (match(*$kvar* $2-)) { + k $0 $kvar is leet!@#$%^&* + } + } + } + + ^timer 50 ^on ^ctcp_reply -"% % VERSION *" +} + +oof diff -aruN amn.orig/core/config.m amn/core/config.m --- amn.orig/core/config.m Fri Sep 2 17:08:34 2005 +++ amn/core/config.m Fri Sep 16 17:37:37 2005 @@ -32,6 +32,8 @@ # (5) {/savepath_ $choice} (*) {load $(loadpath)core/config;^echo $G usage -> config setting>} }} + +## auto-bot password show toggle. undocumented unless ppl read this. alias bot_tog { if (showtype==1) { @ showtype = 2 @@ -41,7 +43,9 @@ xecho -v (abot).. not showing passwords } } +## end auto-bot pass toggle. +## modular /config output stuff. actually shows options when it does exist. alias osetitem { @aname= [confa$0] @@ -79,6 +83,9 @@ } } +## end /config output. + +## timestamp some. timestamp all has been removed. alias _tsmps { if (![$0]) { xecho -v [a+c] timestamp is set to "$_tss" @@ -88,12 +95,45 @@ _timestampsome $_tss xecho -v [a+c] timestamp msgs,not,walls,pubs,dcc,signoff,oper set to "$_tss" }{ - if ([$0]&&!match($0 on off)) { - xecho -v [a+c] invalid choice - } + if ([$0]&&!match($0 on off)) { + xecho -v [a+c] invalid choice + } } - } + } +alias _timestampsome { + if (_tss==[on]) { + @_timess=[Z] + ^eval timeform.load $timeform + ^assign -zt + }{ + ^assign -_timess + ^assign -format_timestamp_some + ^set input_aliases on + ^assign ZT $(G) + ^set input_aliases off + } +} + +## end timestamp stuff. + +## bantype config. [Norm/Better/Host/Domain] +alias bantype if (![$0]) { + xecho -v [a+c] bantype set to $bt_ + xecho -v [a+c] /bantype + }{ + + switch ($0) { + (normal) {@bt_=[normal];@_bt=6;xecho -v [a+c] bantype set to normal (n!*u@h.d n!*u@d.h)} + (better) {@bt_=[better];@_bt=3;xecho -v [a+c] bantype set to better (*!*u@*.d *!*u@d.*)} + (host) {@bt_=[host];@_bt=2;xecho -v [a+c] bantype set to host (*!*@h.d *!*@d.h)} + (domain) {@bt_=[domain];@_bt=4;xecho -v [a+c] bantype set to domain (*!*@*.d *!*@d.*)} + } + } + +## end bantype set. + +## auto-responses /resp1 /resp2 /resp3 /resp4 alias _pubn { if (![$0]) { xecho -v [a+c] primary auto-response set to "$_pubnick" @@ -135,3 +175,5 @@ alias resp2 _r2 $* alias resp3 _r3 $* alias resp4 _r4 $* + +## end auto-response. diff -aruN amn.orig/core/mod.m amn/core/mod.m --- amn.orig/core/mod.m Sat Sep 3 21:35:53 2005 +++ amn/core/mod.m Fri Sep 16 20:08:08 2005 @@ -1,6 +1,7 @@ subpackage mod -alias vmod {xecho -v valid modules are [$_modules]} +alias emod {/load $(loadpath)ans/modules.ans} +alias vmod {/load $(loadpath)ans/modlist.ans} alias modules listmod alias addmod { @@ -40,7 +41,7 @@ if (numitems(_mods) == 1) { xecho -v [a+c] no modules current on list }{ - eval aecho -------------------------= Amnesiac Modules =-------------------- + eval aecho ----------------------= Modules Loaded =------------------ for (@xx=1, xx= numitems(_mods) ) @@ -52,8 +53,8 @@ } echo $[30]mod1 $mod2 } - eval aecho ------------------------------------------------------------------ - xecho -v [a+c] /vmod to list valid modules + eval aecho ----------------------------------------------------------- + xecho -v [a+c] /vmod to list valid modules /emod view module descriptions } } @@ -131,6 +132,7 @@ echo ---------------------= Module Usage Help =------------------------- echo listmod /listmod will view currently loaded modules. +echo emod /emod will view extended module description. echo vmod /vmod will view loadable modules. echo addmod /addmod module1,module2 etc.. will load specified modules. echo modsave /modsave will save all modules. diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Fri Sep 16 15:35:36 2005 +++ amn/core/sets.m Fri Sep 16 17:48:05 2005 @@ -37,7 +37,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@rel_id=[4] +@rel_id=[5] @a.rel=[1.1d r/$rel_id] @a.date=[20050903] @_ss=[15] diff -aruN amn.orig/kick.reasons amn/kick.reasons --- amn.orig/kick.reasons Tue Aug 30 05:37:07 2005 +++ amn/kick.reasons Fri Sep 16 19:24:15 2005 @@ -1,7 +1,5 @@ -you have the nicest teeth I ever cummed across. remember to take my foot out of your ass later bitch -look at the lost souls, they seem so black. I have enough of it Gotta check the real world too Even good things pass away @@ -10,17 +8,11 @@ Hey, why did I ban ? One day sheep will rule the world They said it'd never come, we knew it was a lie. -Time to kiss your ass goodbye, the end has just begun. -No time to change your fate, no time left, it's too late. -No one will be left to prove the humans existed. -I walk, I walk alone, into the promised land... -But the time has come when all good things shall pass. I'm your little nightmare Eat right, exercise regularly, die anyway. Death to all fanatics! I never forget a face, but in your case I'll make an exception. i would have been your father but the damn dog beat me over the fence! -!!! Weeding out the emo I wish your cliche machine would break. i used to dream about doing this when i was a little boy! diff -aruN amn.orig/mod.defaults amn/mod.defaults --- amn.orig/mod.defaults Fri Sep 2 19:31:03 2005 +++ amn/mod.defaults Fri Sep 16 17:16:10 2005 @@ -1,10 +1,9 @@ @mods.1=[abot] @mods.2=[away] @mods.3=[dict] -@mods.4=[mass] -@mods.5=[mjoin] -@mods.6=[netsplit] -@mods.7=[oper] -@mods.8=[orignick] -@mods.9=[relay] -@mods.10=[tab] +@mods.4=[mjoin] +@mods.5=[netsplit] +@mods.6=[oper] +@mods.7=[orignick] +@mods.8=[relay] +@mods.9=[tab] diff -aruN amn.orig/modules/fake/fake.m amn/modules/fake/fake.m --- amn.orig/modules/fake/fake.m Tue Aug 30 04:13:02 2005 +++ amn/modules/fake/fake.m Wed Dec 31 19:00:00 1969 @@ -1,30 +0,0 @@ -subpackage fake -## pr0pz to shiftee for this, from oscz and codelogic for suggesting fparse :) - -alias frelm { - if ([$2]) { - @ffrom=[$0] - @fto=[$1] - @fmsg=[$2-] - ^userhost $0 -direct -cmd if ([$4]!=[]) { - say $fparse(format_msg $0 $3@$4)$fmsg - }{ - echo $(hblk)$0$(cl) isn't on IRC right now. - } -}{ -echo $(hblk)\($(hwht)usage$(hblk))$(hwht):$(cl) /frelm $(hblk)[$(cl)fake nick$(hblk)] [$(cl)nick$(hblk)/$(cl)channel to send to$(hblk)] [$(cl)fake msg$(hblk)]$(cl)} -} - -alias freln { - if ([$2]) { - @ffrom=[$0] - @fto=[$1] - @fnot=[$2-] - userhost $0 -direct -cmd if ([$4]!=[]) { - say $fparse(format_notice $0 $3@$4 )$fnot - }{ - echo $(hblk)$0$(cl) isn't on IRC right now. - } -}{ -echo $(hblk)\($(hwht)usage$(hblk))$(hwht):$(cl) /freln $(hblk)[$(cl)fake nick$(hblk)] [$(cl)nick$(hblk)/$(cl)channel to send to$(hblk)] [$(cl)fake notice$(hblk)]$(cl)} -} diff -aruN amn.orig/modules/mass/mass.m amn/modules/mass/mass.m --- amn.orig/modules/mass/mass.m Fri Sep 2 18:13:29 2005 +++ amn/modules/mass/mass.m Wed Dec 31 19:00:00 1969 @@ -1,52 +0,0 @@ -subpackage mass - -alias lk if ([$0]) { - fe ($nochops()) n1 { - if (!ischanvoice($n1)) { - k $n1 $* - } - } -}{ - fe ($nochops()) n1 { - if (!ischanvoice($n1)) { - k $n1 mass kick - } - } -} -alias mko if ([$0]) { - fe ($remw($N $chops())) n1 { - k $n1 $* - } - }{ - fe ($remw($N $chops())) n1 { - k $n1 mass kick - } - } - -alias mkn if ([$0]) { - fe ($remw($N $nochops())) n1 { - k $n1 $* - } - }{ - fe ($remw($N $nochops())) n1 { - k $n1 mass kick - } -} - - -alias massk if (![$0]) { - xecho -b usage: /massk - }{ - @kvar=[$0] - xecho -b kicking all users with $kvar in version reply. - ^ver $C - ^on ^ctcp_reply "% % VERSION *" { - if (ischanop($0 $C)==0 || kickops == [on]) { - if (match(*$kvar* $2-)) { - k $0 $kvar is leet!@#$%^&* - } - } - } - - ^timer 50 ^on ^ctcp_reply -"% % VERSION *" -} diff -aruN amn.orig/modules/nlog/config amn/modules/nlog/config --- amn.orig/modules/nlog/config Wed Dec 31 19:00:00 1969 +++ amn/modules/nlog/config Fri Sep 2 17:15:19 2005 @@ -0,0 +1,2 @@ +eval osetitem misc (s) Log notify signoffs: [$nsolog] + diff -aruN amn.orig/modules/nlog/nlog.m amn/modules/nlog/nlog.m --- amn.orig/modules/nlog/nlog.m Wed Dec 31 19:00:00 1969 +++ amn/modules/nlog/nlog.m Fri Sep 16 17:49:59 2005 @@ -0,0 +1,71 @@ +subpackage nlog +@nsolog=[off] +@nfile=[$(savepath).a.notify.save] +@nlogfile=[$(savepath)notify.log] + + +^on #-notify_signon 10 * { + @fd = open($nlogfile W); + @write($fd SIGNON by $0 \($userhost()\) $1- on $strftime(%x at %X)); + @close($fd); + +} + + +^on #-notify_signoff 10 * { + if ( nsolog == [on] ) { + @fd = open($nlogfile W); + @write($fd SIGNOFF by $0 $1- on $strftime(%x at %X)); + @close($fd); + } +} + +alias nsotog { + if ( [$#] ==0) { + xecho -v [a+c] notify signoff log toggle is set to "$nsolog" + } + if (match($0 on off)) { + @nsolog = [$0] + xecho -v [a+c] notify signoff log toggle is set to "$nsolog" + }{ + if ( [$#] &&!match($0 on off)) { + xecho -v [a+c] invalid choice, on or off. + } + } +} + + +#notify aliases. +alias rnlog { + if (fexist($nlogfile) == -1) { + xecho -v -b notify log file does not exist. + }{ + input "remove log? [y|n]: " { + if ([$0]==[y]) { + exec rm $nlogfile + xecho -v -b $nlogfile deleted + }{ + xecho -v -b rnlog canceled + } + } + } +} + + +alias ncache { + more $nlogfile +} + +alias nread ncache +alias nlist ncache +alias rmnlog rnlog + +alias nsave { + @rename($nfile $nfile~) + @savemt = open($nfile W T) + @write($savemt @nsolog=[$nsolog]) + @close($savemt) + xecho -v [mod] (nlog).. notify settings saved to $nfile +} + +^eval load $nfile diff -aruN amn.orig/modules/notifylog/config amn/modules/notifylog/config --- amn.orig/modules/notifylog/config Fri Sep 2 17:15:19 2005 +++ amn/modules/notifylog/config Wed Dec 31 19:00:00 1969 @@ -1,2 +0,0 @@ -eval osetitem misc (s) Log notify signoffs: [$nsolog] - diff -aruN amn.orig/modules/notifylog/notifylog.m amn/modules/notifylog/notifylog.m --- amn.orig/modules/notifylog/notifylog.m Fri Sep 2 17:53:35 2005 +++ amn/modules/notifylog/notifylog.m Wed Dec 31 19:00:00 1969 @@ -1,71 +0,0 @@ -subpackage notifylog -@nsolog=[off] -@nfile=[$(savepath).a.notify.save] -@nlogfile=[$(savepath)notify.log] - - -^on #-notify_signon 10 * { - @fd = open($nlogfile W); - @write($fd SIGNON by $0 \($userhost()\) $1- on $strftime(%x at %X)); - @close($fd); - -} - - -^on #-notify_signoff 10 * { - if ( nsolog == [on] ) { - @fd = open($nlogfile W); - @write($fd SIGNOFF by $0 $1- on $strftime(%x at %X)); - @close($fd); - } -} - -alias nsotog { - if ( [$#] ==0) { - xecho -v [a+c] notify signoff log toggle is set to "$nsolog" - } - if (match($0 on off)) { - @nsolog = [$0] - xecho -v [a+c] notify signoff log toggle is set to "$nsolog" - }{ - if ( [$#] &&!match($0 on off)) { - xecho -v [a+c] invalid choice, on or off. - } - } -} - - -#notify aliases. -alias rnlog { - if (fexist($nlogfile) == -1) { - xecho -v -b notify log file does not exist. - }{ - input "remove log? [y|n]: " { - if ([$0]==[y]) { - exec rm $nlogfile - xecho -v -b $nlogfile deleted - }{ - xecho -v -b rnlog canceled - } - } - } -} - - -alias ncache { - more $nlogfile -} - -alias nread ncache -alias nlist ncache -alias rmnlog rnlog - -alias nsave { - @rename($nfile $nfile~) - @savemt = open($nfile W T) - @write($savemt @nsolog=[$nsolog]) - @close($savemt) - xecho -v [mod] (notifylog).. notify settings saved to $nfile -} - -^eval load $nfile diff -aruN amn.orig/modules/relay/relay.m amn/modules/relay/relay.m --- amn.orig/modules/relay/relay.m Fri Sep 9 03:23:34 2005 +++ amn/modules/relay/relay.m Fri Sep 16 18:20:26 2005 @@ -1,6 +1,6 @@ subpackage relay -#modified by crapple for the far greater good on 7/31/05! BYE BYE POISON! +## last modified by crapple 9.16.05 - merged fake/cleanups. alias lpaste msg $T $line(${[$0]?[$0]:1}) alias lp lpaste @@ -86,11 +86,10 @@ on #-msg 33 * if (relayw==[ON]) { if (numitems(rmesg) >=15) { @delitem(rmesg 0) - } + } @setitem(rmesg $numitems(rmesg) $fparse(format_msg $0 $userhost() $1-)) -} +} - alias relm { if (![$0]) { ^local yy @@ -159,8 +158,6 @@ } } - - ^on #-send_msg 33 * if (relayw ==[ON]) { if (numitems(smsg) >=10) { @delitem(smsg 0) @@ -168,8 +165,6 @@ @setitem(smsg $numitems(smsg) $fparse(format_send_msg $0 $1-)) } - - alias relsm { if (![$0]) { ^local zz @@ -206,8 +201,6 @@ @setitem(snot $numitems(snot) $fparse(format_send_notice $0 $1-)) } - - alias relsn { if (![$0]) { ^local zz @@ -236,6 +229,40 @@ @relayw=[ON] } } + +## fake say stuff here. +## taken from oblivion slight mods by crapple. +## pr0pz to shiftee for this, from oscz and codelogic. + +alias frelm { + if ([$2]) { + @ffrom=[$0] + @fto=[$1] + @fmsg=[$2-] + ^userhost $0 -direct -cmd if ([$4]!=[]) { + msg $T $fparse(format_msg $0 $3@$4)$fmsg + }{ + echo $0 isn't on IRC right now. + } +}{ +echo usage : /frelm [fake nick] [nick/channel to send to] [fake msg]} +} + +alias freln { + if ([$2]) { + @ffrom=[$0] + @fto=[$1] + @fnot=[$2-] + userhost $0 -direct -cmd if ([$4]!=[]) { + msg $T $fparse(format_notice $0 $3@$4 )$fnot + }{ + echo $0 isn't on IRC right now. + } +}{ +echo usage: /freln [fake nick] [nick/channel to send to] [fake notice]} +} + +## end fake stuff. alias rhelp { if (!$[0]) { Date: Sun, 18 Sep 2005 01:17:27 -0400 (EDT) From: zak@ircii.org (Zak) -split off alias.m for dcc functions and hooks to dcc.m to simplify the code some and actually add a couple missing $* to make the aliases work. -added ryan to greets! -add new /dcchelp menu. -some other small changes. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Fri Sep 16 20:14:17 2005 +++ amn/CHANGES Sun Sep 18 01:07:06 2005 @@ -107,3 +107,11 @@ -sync TODO-BUGS to reality. Note: PLEASE READ THE UPGRADE FOR REMOVING 2 SAVEFILES BEFORE LOADING. [increment version to development rel 5] +-sync EPIC-BUGS i've ran into, and document it more thoroughly. +9.18.05 +-create core/dcc.m (since we've been making a lot of dcc stuff lately) + sync bindctl for dcc to reality, move dcc aliases from alias.m to dcc.m //zak +-add a dcchelp menu. /dcchelp see /ehelp as well. //zak +-mention dcchelp on startup. //zak +-add ryan to teh greets, as he has helped out. //zak +-sync TODO-BUGS list to reality //zak diff -aruN amn.orig/EPIC-BUGS amn/EPIC-BUGS --- amn.orig/EPIC-BUGS Tue Aug 30 19:53:17 2005 +++ amn/EPIC-BUGS Fri Sep 16 20:55:01 2005 @@ -1,18 +1,49 @@ -ircII EPIC5-0.0.5 (Commit id: 1252) (Date of release: 20050420) -there appears to be some issues with nonblocking connects on some -servers irc.homelien.no appears to be one such and possibly -irc.efnet.nl...these are just some of the ones that have been -reported to me while using IPv6, however i have not heard any -reports on the IPv4 side of things. - ircII EPIC5-0.0.6 (Commit id: 1288) (Date of release: 20050809) --some interesting bugs i've noticed in this version and lesser releases -are weird ctcp over dcc issues hopefully we have fixed them now, remember -this is not an amnesiac bug, it's something to do with how epic handles -ctcp requests it seems to be a bug on their part not mine, although -hop seems to disagree with that notion. --another bug is similar to the one reported at the top even /window server - some.nonexistent.host or accidental typing of a server that doesnt - exist can cause the client to go into a fd loop. +-/window server some.nonexistent.host or accidental typing of a server + that doesnt exist can throw the client into a fd loop. + ^^ can be reproduceable on netbsd/dragonflybsd/openbsd with any dual stack + hosts i.e; irc.homelien.no has address 195.159.0.90 + irc.homelien.no has IPv6 address 2001:840:0:1000:1::1 + this might be an error with something to do with how epic uses getaddrinfo(3) + some info i notice on this can be found at: + http://www.mail-archive.com/ipng@sunroof.eng.sun.com/msg02754.html + even tho itojun wrote the document and does a lot of the netbsd/openbsd kame + stuff, experimenting with binding to null() or requesting a return on + AF_UNSPEC seems to only return :: not :: 0.0.0.0 i think the specified + behavior is supposed to return both :: 0.0.0.0 anything except for AF_UNIX + anyways ;) + this is not reproduceable on ircII EPIC5-0.0.5 (Commit id: 1217) (Date of + release: 20050420) the problem appears to have started shortly after the + release + +ircII EPIC5-0.0.6 (Commit id: 1292) (Date of release: 20050809) +-finditem() seems to be broken, however the behavior seems hard to reproduce + among the different commit id and release versions of epic5, sample code + that usually guarantees a reproduce. +alias addcountry { + @:i = numitems(countryIndex) + @setitem(countryIndex $i $toupper($0)) + @setitem(countryName $i $1-) +} + +alias country { + @:i= finditem(countryIndex $toupper($0)) + if ( i > -1) { + @function_return=getitem(countryName $i) + } { + @function_return =[Unknown] + } +} + +@addcountry(ZR Zaire) +@addcountry(ZW Zimbabwe) +@addcountry(COM Internic Commercial) +@addcountry(EDU Educational Institution) +@addcountry(ARPA Reverse DNS) + +/eval echo $country (ZR) <-- works +/eval echo $country (COM) <-- 3/4 letter finds don't seem to work. +^^ fix i did for the above in amnesiac is to use matchitem() instead of + finditem() //zak diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Fri Sep 16 19:12:02 2005 +++ amn/TODO-BUGS Sun Sep 18 01:06:42 2005 @@ -17,7 +17,6 @@ @ make a toggle for whether we want window double on/off so we don't hardcode /wc /wj etc.. to window double per default. @ add a topiclock alias (like bitchx) for xavier. -@ make a dcc help menu. ## Procrastinated requests. @ rewrite topwin (removed to pasture). @@ -47,21 +46,24 @@ NONE for 'some bugs' ## bugs fixed. / projects done. +9.18.05 - finished. /dcchelp for info //zak +! make a dcc help menu. + 9.16.05 - fixed a bug with kickform not existing per default. //zak - !kickform default used to echo the kick not showing an actual format - this was a problem for several development releases it should now - be fixed without requiring one to set one in /format 4. +! kickform default used to echo the kick not showing an actual format + this was a problem for several development releases it should now + be fixed without requiring one to set one in /format 4. 9.9.05 - good enough for now. will make /relm -l in the future. //zak - !added a /rel alias see /rhelp or /ehelp for more info on this. - and the CHANGES. might not be exactly to xaviers satisfaction. - add a /relm -l alias to redirect to relm for dumb bitchx users. +! added a /rel alias see /rhelp or /ehelp for more info on this. + and the CHANGES. might not be exactly to xaviers satisfaction. + add a /relm -l alias to redirect to relm for dumb bitchx users. 9/2/05 finally done this bit, /addbwk for the syntax or /bwhelp. //kreca. -!toggle for kickban or just kick for the bwk module. +! toggle for kickban or just kick for the bwk module. 9/2/05 done and cleaned up the hard coded default of on. //kreca -!add toggle for notify logging types; on/off signon/signoffs. +! add toggle for notify logging types; on/off signon/signoffs. 9/2/05 fixed now. //zak ! format timestamps which uses seconds do not update time. @@ -81,8 +83,8 @@ 8/30/05 yay finally fixed by kreca... //zak. ! delword # does not work. workaround... /delword word #channel - should make it so one can do /delword #. else what's the point of - having the numerics there? + should make it so one can do /delword #. else what's the point of + having the numerics there? 8/30/05 - has been verified and indeedy it works and as annoying as before! //zak diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Sep 16 18:00:39 2005 +++ amn/amn.epic Sun Sep 18 01:01:40 2005 @@ -1,7 +1,7 @@ /* amnesiac by crapple mods/bugfixes by kreca pr0pz and thanks go to void!, xavier!, fudd, BlackJac, hop, criminal, krimson, -twez, azel, violence, whitney, skullY, Alien88, kreca, eater, grimzy, adam and -any others out there who have helped out. +twez, azel, violence, whitney, skullY, Alien88, kreca, eater, grimzy, adam, +ryan, and any others out there who have helped out. */ package amnesiac diff -aruN amn.orig/ans/about.ans amn/ans/about.ans --- amn.orig/ans/about.ans Sat Sep 3 21:44:12 2005 +++ amn/ans/about.ans Sun Sep 18 01:00:32 2005 @@ -6,11 +6,11 @@ Grtz To: void, Xavier, fudd, BlackJac, hop, criminal, krimson, twez, azel, - violence, whitney, skullY, Alien88, eater, grimzy, kreca, adam + violence, whitney, skullY, Alien88, eater, grimzy, kreca, adam, ryan IRC: #amnesiac@efnet Web: http://amnesiac.ircii.org Email: zak@ircii.org(author), kreca@ircii.org(mods/bugfixes) -Main Commands: /config /format /theme /ahelp /ehelp /winhelp /mhelp +Main Commands: /config /format /theme /ahelp /ehelp /winhelp /mhelp /dcchelp diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Fri Sep 16 17:38:24 2005 +++ amn/core/alias.m Sun Sep 18 00:08:01 2005 @@ -1,6 +1,6 @@ subpackage alias -## last modified by crapple 9.16.05 +## last modified by crapple 9.18.05 ## various commands. alias sc scan $* @@ -79,28 +79,11 @@ alias unset set -$* alias unalias alias -$* -## dcc stuff. -alias dcg dcc close get $* -alias dcs dcc close send $* -alias dcx dcc close chat $* -alias dcxa dcc close chat $* -alias dcsa dcc close send $* -alias dcga dcc close get $* -alias dca dcc closeall -alias dcn {dcc close * $0} -alias dkill dcn -alias nochat dcx $* -alias chat dcc chat $* -alias send dcc send $* -alias get dcc get $* -alias uldir cd $* - ## help shortcuts. alias a ahelp $* alias about {more $(loadpath)ans/about.ans} ## amnesiac configuration cmd's can be saved with /save -alias autoget {config m $*} alias cumode {config f $*} alias autoaway {config g $*} alias kickonban {config i $*} diff -aruN amn.orig/core/bind.m amn/core/bind.m --- amn.orig/core/bind.m Fri Sep 9 03:51:52 2005 +++ amn/core/bind.m Sun Sep 18 00:09:23 2005 @@ -20,10 +20,6 @@ @ bindctl(sequence ^Z set parse_command switchtarget) @ bindctl(sequence ^Wd set next_window) -## dcc... -@ bindctl(sequence ^T set parse_command dcc.get) -@ bindctl(sequence ^R set parse_command dcc.reject) - ## home/end on some terms. @ bindctl(sequence ^[[1~ set scroll_start) @ bindctl(sequence ^[[4~ set scroll_end) diff -aruN amn.orig/core/dcc.m amn/core/dcc.m --- amn.orig/core/dcc.m Wed Dec 31 19:00:00 1969 +++ amn/core/dcc.m Sun Sep 18 00:55:04 2005 @@ -0,0 +1,113 @@ +subpackage dcc + +## binds. +@ bindctl(sequence ^[t set parse_command dcc chat $pop(dccchats)) +@ bindctl(sequence ^[r set parse_command dcc close chat $pop(dccchats)) +@ bindctl(sequence ^T set parse_command dcc.get) +@ bindctl(sequence ^R set parse_command dcc.reject) + +## aliases. +alias dcg dcc close get $* +alias dcs dcc close send $* +alias dcx dcc close chat $* +alias dcxa dcc close chat $* +alias dcsa dcc close send $* +alias dcga dcc close get $* +alias dca dcc closeall +alias dcn {dcc close * $0} +alias dkill dcn $* +alias nochat dcx $* +alias chat dcc chat $* +alias send dcc send $* +alias get dcc get $* +alias uldir cd $* + +## config alias. +alias autoget {config m $*} + +## hooks. +on ^211 * { + xecho -v -b $1: Sent: ${[$4]/1024}MB Received: ${[$6]/1024}MB SendQ: $2 Connected for: $tdiff2($7) Idle: $8 [$9-] +} + +^on #-leave 123 "% % *" { + if ([$0] != servernick() && remw($0 $chanusers($1)) == servernick()) { + timer 1 xecho -b You are the only user left on $1 + } +} + +on -dcc_request "% CHAT *" { + push dccchats $0 + xecho -v [a+c] DCC $0 has sent a dcc chat request. + xecho -v [a+c] DCC Press alt-T to respond or alt-R to reject from $0. +} + +alias dcc.get { + dcc get $dccnick +} + +alias dcc.reject { + dcc close get $dccnick +} + +on #-dcc_request 22 "% SEND*" { + @dccnick = [$0] + @dccfile = [$5] + xecho -v [a+c] press ctrl-T to accept file or ctrl-R to reject +} + +on #-dcc_request 23 "% SEND*" { + @dccnick = [$0] + @dccfile = [$5] + if (autoget == [on]) { + ^dcc get $dccnick + xecho -v [a+c] autogetting dcc $dccfile from $dccnick + } +} + +on #-connect 50 * { + if (!_pubnick) { + @_pubnick=N + } +} + +alias dccag { + if (![$0]) { + xecho -v [a+c] dcc autoget set to $toupper($autoget) + } + if (match($0 on off)) { + @autoget = [$0] + xecho -v [a+c] dcc autoget set to $toupper($autoget) + }{ + if ([$0]&&!match($0 on off)) { + xecho -v [a+c] invalid choice + } + } +} + +## dcc menu help. +alias dcchelp { + if (!$[0]) { + +echo ---------------------= Dcc Help =------------------------------ +echo chat /chat [-p portnum] will send or accept a dcc chat +echo to specified nick -p port is optional. +echo nochat /nochat will close/deny a dcc chat session to +echo specified nick. +echo send /send will send specified nick specified +echo filename. +echo get /get will grab file from specified nick. +echo dcc /dcc will list current dcc sessions if any. +echo dca /dca will kill all dcc sessions. +echo dcs /dcs will close file transfer from specified nick. +echo dcx /dcx will close chat session to specified nick. +echo dcn /dcn will close any dcc sessions to specified nick. +echo ---------------------= dcc keybinds =---------------------------- +echo alt-r : will reject dcc chat request. +echo alt-t : will accept dcc chat request. +echo ctrl-t : will accept dcc file/send request. +echo ctrl-r : will reject dcc file/send request. +echo ------------------------------------------------------------------ + + } +} diff -aruN amn.orig/core/ehelp.m amn/core/ehelp.m --- amn.orig/core/ehelp.m Fri Sep 16 19:51:33 2005 +++ amn/core/ehelp.m Sun Sep 18 00:57:28 2005 @@ -15,6 +15,7 @@ echo ghelp <general help> general client/user cmds help. [core] echo mhelp <module help> module help menu. [core] echo winhelp <window help> window shortcuts help menu. [core] + echo dcchelp <dcc help> dcc usage/binds help menu. [core] echo smhelp <special modes> exempt modes cmds help menu. [core] echo thelp <trickle help> the irc swiss army knife menu. [core] echo ---------------------------------------------------------------------- diff -aruN amn.orig/core/help.m amn/core/help.m --- amn.orig/core/help.m Sat Sep 3 21:41:33 2005 +++ amn/core/help.m Sun Sep 18 00:18:07 2005 @@ -35,7 +35,7 @@ @ :dldir=[%Wu%nsage%K:%n /dldir sets download path. @ :partall=[%Wu%nsage%K:%n /partall will part all current channels. @ :not=[%Wu%nsage%K:%n /not will unset topic on current channel. -@ :nops=[%Wu%nsage%K:%n /nops will display all nonops on current channel. +@ :nops=[%Wu%nsage%K:%n /nops will display all nonops on current channel. @ :vocs=[%Wu%nsage%K:%n /vocs will display all voiced members on current channel. @ :mw=[%Wu%nsage%K:%n /mw -hidden|split|kill @ :mv=[%Wu%nsage%K:%n /mv will mass voice everyone on current channel diff -aruN amn.orig/core/hooks.m amn/core/hooks.m --- amn.orig/core/hooks.m Sat Sep 3 23:00:27 2005 +++ amn/core/hooks.m Sun Sep 18 00:05:56 2005 @@ -7,76 +7,26 @@ xecho -v -b signoff: $N \($*\) } -on ^211 * { - xecho -v -b $1: Sent: ${[$4]/1024}MB Received: ${[$6]/1024}MB SendQ: $2 Connected for: $tdiff2($7) Idle: $8 [$9-] -} - ^on #-leave 123 "% % *" { if ([$0] != servernick() && remw($0 $chanusers($1)) == servernick()) { timer 1 xecho -b You are the only user left on $1 } } -on -dcc_request "% CHAT *" { - push dccchats $0 - xecho -v [a+c] DCC $0 has sent a dcc chat request. - xecho -v [a+c] DCC Press alt-T to respond or alt-R to reject from $0. -} -bind ^[t parse_command dcc chat $pop(dccchats) -bind ^[r parse_command dcc close chat $pop(dccchats) - -alias dcc.get { - dcc get $dccnick -} - -alias dcc.reject { - dcc close get $dccnick -} - -on #-dcc_request 22 "% SEND*" { - @dccnick = [$0] - @dccfile = [$5] - xecho -v [a+c] press ctrl-T to accept file or ctrl-R to reject -} - -on #-dcc_request 23 "% SEND*" { - @dccnick = [$0] - @dccfile = [$5] - if (autoget == [on]) { - ^dcc get $dccnick - xecho -v [a+c] autogetting dcc $dccfile from $dccnick - } -} - +## umode hook on #-connect 50 * { if (!_pubnick) { @_pubnick=N } } -## umode hook - on -connect * { _orb.relag ^timer 1 ^mode $N +$getumode ^qsbar $after(. $statbar) } -alias dccag { - if (![$0]) { - xecho -v [a+c] dcc autoget set to $toupper($autoget) - } - if (match($0 on off)) { - @autoget = [$0] - xecho -v [a+c] dcc autoget set to $toupper($autoget) - }{ - if ([$0]&&!match($0 on off)) { - xecho -v [a+c] invalid choice - } - } -} - ## server hooks. #connect notice. ^on ^server_notice "% % % connect to*" { Date: Tue, 20 Sep 2005 20:02:58 -0400 (EDT) From: zak@ircii.org (Zak) -fix 2 bindings. 'hack' //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sun Sep 18 01:07:06 2005 +++ amn/CHANGES Tue Sep 20 20:01:36 2005 @@ -115,3 +115,6 @@ -mention dcchelp on startup. //zak -add ryan to teh greets, as he has helped out. //zak -sync TODO-BUGS list to reality //zak + +9.20.05 +-fix binding of alt-r alt-t the old way for now. //zak diff -aruN amn.orig/core/dcc.m amn/core/dcc.m --- amn.orig/core/dcc.m Sun Sep 18 00:55:04 2005 +++ amn/core/dcc.m Tue Sep 20 20:00:09 2005 @@ -1,8 +1,10 @@ subpackage dcc ## binds. -@ bindctl(sequence ^[t set parse_command dcc chat $pop(dccchats)) -@ bindctl(sequence ^[r set parse_command dcc close chat $pop(dccchats)) +#@ bindctl(sequence ^[t set parse_command dcc chat $pop(dccchats)) +#@ bindctl(sequence ^[r set parse_command dcc close chat $pop(dccchats)) +^bind ^[t parse_command dcc chat $pop(dccchats) +^bind ^[r parse_command dcc close chat $pop(dccchats) @ bindctl(sequence ^T set parse_command dcc.get) @ bindctl(sequence ^R set parse_command dcc.reject) Date: Sat, 24 Sep 2005 03:04:51 -0400 (EDT) From: zak@ircii.org (Zak) -sync epic-knownbugs docs to reality. from -HEAD. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Tue Sep 20 20:01:36 2005 +++ amn/CHANGES Sat Sep 24 03:02:59 2005 @@ -118,3 +118,6 @@ 9.20.05 -fix binding of alt-r alt-t the old way for now. //zak + +9.24.05 +-sync E5-KNOWNBUGS to reality. //zak diff -aruN amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Tue Aug 30 23:58:56 2005 +++ amn/docs/E5-KNOWNBUGS Sat Sep 24 03:02:07 2005 @@ -6,6 +6,10 @@ * /CTCPs over /DCCs don't match up with their queries very well. * Revamp of /who -realname * alias foo {package x;load script} carries 'x' into 'script' ??? +* $stripc() should use mangle_line(), not strcpy_nocolorcodes() +* strcpy_nocolorcodes() needs to die +* mangle_line() should use read_color_seq, not skip_ctl_c_seq +* skip_ctl_c_seq needs to die. LOOK FOR IN THE FUTURE ----------------------- @@ -756,3 +760,5 @@ * Whack support for 7 bit terminals (8 bit support is now assumed) * Whack support for /set eight_bit_characters * Whack support for /set beep_max, tab, tab_max, and nd_space_max +* A new $mask() from jm, who needs to write an UPDATES entry for me. =) +* Split handling of ESC seqs out of normalize_string() into skip_esc_seq(). Date: Fri, 30 Sep 2005 03:22:10 -0400 (EDT) From: zak@ircii.org (Zak) -fair bit of changes mostly documentation updates/menu help systems, removed/fixed some aliases, removed a bunch of stuff from compat.m *gulp* hopefully it doesn't break anything our goal is to rely on the builtins stuff as little as possible, feedback would be appreciated. everyone please test this snapshot as were hopefully nearing an upcoming release.. thanks. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Sep 24 03:02:59 2005 +++ amn/CHANGES Fri Sep 30 03:14:59 2005 @@ -108,6 +108,7 @@ Note: PLEASE READ THE UPGRADE FOR REMOVING 2 SAVEFILES BEFORE LOADING. [increment version to development rel 5] -sync EPIC-BUGS i've ran into, and document it more thoroughly. + 9.18.05 -create core/dcc.m (since we've been making a lot of dcc stuff lately) sync bindctl for dcc to reality, move dcc aliases from alias.m to dcc.m //zak @@ -118,6 +119,20 @@ 9.20.05 -fix binding of alt-r alt-t the old way for now. //zak - 9.24.05 -sync E5-KNOWNBUGS to reality. //zak + +9.30.05 +-change topic formats to be like how ryan likes it, and i think i prefer + the green over the magenta myself as well, and ripped it from him without + his knowledge ;D //zak +-sync E5-KNOWNBUGS document from -HEAD. //zak +-add help menu! /fhelp format/look and feel help see /ehelp and + /fhelp. //zak +-add help menu! /chelp configuration shortcuts see /ehelp and /chelp //zak +-add more material into /ghelp general user help. see /ghelp //zak +-fix a couple of broken aliases, remove a few nonessential aliases //zak +-remove a lot more stuff from compat.m hopefully i didn't break anything + the less stuff i need to rely on from builtins/compat etc.. the + happier i am. //zak +-increment development version to 1.1d r/6 //zak diff -aruN amn.orig/UPGRADE amn/UPGRADE --- amn.orig/UPGRADE Fri Sep 16 18:58:58 2005 +++ amn/UPGRADE Fri Sep 30 03:17:17 2005 @@ -12,6 +12,10 @@ rm -rf /path/to/amn rm -rf ~/.amn/.mod.save rm -rf ~/.amn/.a.fsetsave + +## 1.1d r/5 > r/6 +rm -rf /path/to/amn + tar zxvf newver.tgz (in your home dir or dir you want it) or tar zxvf newver.tgz -C /path/to/where/you/want/it diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sun Sep 18 01:01:40 2005 +++ amn/amn.epic Fri Sep 30 03:04:07 2005 @@ -46,7 +46,7 @@ set show_channel_names off set mode_stripper on set client_information I get my kicks on channel six -set user_information Are you from the FBI ? +set user_information Are you from the FBI? set notify_on_termination off set new_server_lastlog_level none set switch_channels_between_windows off diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Sun Sep 18 00:08:01 2005 +++ amn/core/alias.m Fri Sep 30 03:02:00 2005 @@ -4,12 +4,10 @@ ## various commands. alias sc scan $* -alias signoff bye $* alias quit bye $* alias ismask {return ${pass(!@ $0) ? 1 : 0}} alias recho eval echo $* alias save saveall -alias rsay eval say $* alias settings config $* ## more/less info from server. @@ -22,8 +20,6 @@ alias smsg quote server :$* alias svrtime time $S alias disco disconnect $* -alias rwhois quote whois $0 $1 -alias sctime echo you have been connected to $S for $tdiff2(${time() - F}) alias sb bans ## cid(+g) @@ -94,7 +90,7 @@ alias protect {config w $*} alias otime {config p $*} alias extpub {config h $*} -alias tform {config 3 $*} +alias tform {format 3 $*} ## compat aliases from other irc clients to emulate the same thing. alias awayt awaytime $* @@ -133,12 +129,14 @@ ## so ppl can choose their poison on output_rewrite now that we don't have ## static timestamping format. +alias indent orw alias orw { ^set -output_rewrite ^set output_rewrite $_paste($1-)$1- xecho -v [a+c] output indent set to "on" } +alias wrap orww alias orww { ^set -output_rewrite ^set output_rewrite $_paste($1-) $$1- diff -aruN amn.orig/core/channel.m amn/core/channel.m --- amn.orig/core/channel.m Fri Sep 16 17:38:57 2005 +++ amn/core/channel.m Fri Sep 30 02:58:51 2005 @@ -6,7 +6,6 @@ alias bkt {qk $*} alias ov operview alias unban ub $* -alias cb ub $* alias clearbans ub $* alias not {^topic -$C } alias untopic not diff -aruN amn.orig/core/compat.m amn/core/compat.m --- amn.orig/core/compat.m Thu Sep 8 18:30:28 2005 +++ amn/core/compat.m Fri Sep 30 03:11:15 2005 @@ -96,17 +96,6 @@ return $windowctl(get $windowctl(refnum $winnum) window_level); }; -alias winline (linenum, winnum default 0, void) { - if ((:line = windowctl(get $windowctl(get refnum $winnum) line $linenum)) >= -1) { - return $line; - }; - return -1; -}; - -alias winnam (winnum default 0, void) { - return $windowctl(get $windowctl(refnum $winnum) name); -}; - alias winnicklist (winnum default 0, void) { return $windowctl(get $windowctl(refnum $winnum) nicklist); }; @@ -118,10 +107,6 @@ return -1; }; -alias winquery (winnum default 0, void) { - return $windowctl(get $windowctl(refnum $winnum) query); -}; - alias winrefs (void) { return $windowctl(refnums); }; @@ -260,12 +245,6 @@ }; }; }; -}; - -addset verbose_ctcp bool; - -^on ?ctcp "*" { - return ${getset(verbose_ctcp) == [on] ? 0 : 1}; }; ## nasty hack at making a auto-reconnect //zak diff -aruN amn.orig/core/ehelp.m amn/core/ehelp.m --- amn.orig/core/ehelp.m Sun Sep 18 00:57:28 2005 +++ amn/core/ehelp.m Fri Sep 30 02:51:32 2005 @@ -12,6 +12,8 @@ echo ohelp <oper help> operview/oper help menu [module] echo rhelp <relay help> relay/paste help menu. [module] echo svhelp <services help> nserv/cserv/etc.. help menu. [module] + echo chelp <config help> config shortcut help menu. [core] + echo fhelp <look/feel help> amnesiac look/feel help menu. [core] echo ghelp <general help> general client/user cmds help. [core] echo mhelp <module help> module help menu. [core] echo winhelp <window help> window shortcuts help menu. [core] @@ -33,6 +35,10 @@ echo tig /tig # removes specified ignore. echo cig /cig to ignore public from current or specified channel. echo umode /umode changes user mode. +echo ircname /ircname will change your realname on next connect. +echo arejoin /arejoin will toggle auto_rejoin on/off +echo aww /aww will toggle auto_whowas on/off +echo topic /topic will insert current topic for editing. echo away /away set yourself away. echo back /back set yourself back. echo readlog /readlog reads away msgs. [requires away module] @@ -41,6 +47,63 @@ echo every 3 seconds(default) unless you specify time in /config. [orignick module] echo staynick /staynick will cancel /orignick [orignick module] echo --------------------------------------------------------------------- + + } +} + +alias fhelp lfhelp +alias lfhelp { + if (!$[0]) { + +echo --------------------= Amnesiac Look/Feel Help =--------------------------- +echo config /config will list currently available configuration options +echo /config will change the specified option. +echo theme /theme will display available themes and you can choose which +echo one you want syn: /theme +echo format /format will display available format +echo /format will choose the specified format +echo sbcolor /sbcolor changes sbar colors +echo to desired colors. +echo color /color changes color to +echo desired colors. +echo tsave /tsave will create a theme. +echo untheme /untheme will make amnesiac revert back to the default theme. +input_char "menu paused hit the ANY key to continue " +pause +echo fset /fset format_choice will change specified format. +echo fkeys /fkeys shows which fkeys are bound to which and can be changed by +echo by /fkey 1 /fkey 2 +echo sbar /sbar changes sbar to desired number. +echo mw /mw -hidden|split|kill +echo extpub /extpub and <+nick> in public. +echo indent /indent will indent on newline as opposed to linewrap. +echo wrap /wrap will linewrap msgs/publics etc.. on newline <-- this is +echo the default behavior. +echo ---------------------------------------------------------------------------- + + } +} + +alias chelp { + if (!$[0]) { + +echo ---------------------= Amnesiac Config Shortcuts =----------------------- +echo cumode /cumode will set default usermode on connect. +echo stamp /stamp +echo modeshow /modeshow and <+nick> in public. +echo extpub /extpub same as /modeshow +echo resp /resp will highlight nick when specified word is said in +echo public. /resp /resp2 /resp3 /resp4 +echo kops /kops +echo kob /kob +echo otime /otime +echo awayt /awayt +echo tform /tform will display available timestamp formats and you can +echo choose which one you want syn: /tform +echo autoget /autoget will attempt to grab files sent to you automatically. +echo bantype /bantype when a ban is done on a nick +echo it uses +echo ------------------------------------------------------------------------- } } diff -aruN amn.orig/core/fsets.m amn/core/fsets.m --- amn.orig/core/fsets.m Fri Sep 16 15:28:35 2005 +++ amn/core/fsets.m Fri Sep 30 00:27:03 2005 @@ -142,8 +142,8 @@ } ## topic stuff -^on ^332 * abecho $(mag)\($(cl)$(wht)t$(cl)opic/$1$(mag)\)$(cl) $2- -^on ^333 * abecho $(mag)\($(cl)$(wht)s$(cl)et$(mag)\)$(cl) by $2 at $strftime($3 %a %b %d %T %Z) +^on ^332 * abecho $(grn)\($(cl)$(wht)t$(cl)opic/$1$(grn)\)$(cl) $2- +^on ^333 * abecho $(grn)\($(cl)$(wht)s$(cl)et$(grn)\)$(cl) by $2 at $strftime($3 %a %b %d %T %Z) ^on ^315 * # ^on ^305 * # ^on ^topic * { diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Fri Sep 16 17:48:05 2005 +++ amn/core/sets.m Fri Sep 30 03:05:03 2005 @@ -37,7 +37,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@rel_id=[5] +@rel_id=[6] @a.rel=[1.1d r/$rel_id] @a.date=[20050903] @_ss=[15] diff -aruN amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Sat Sep 24 03:02:07 2005 +++ amn/docs/E5-KNOWNBUGS Fri Sep 30 00:40:58 2005 @@ -6,10 +6,7 @@ * /CTCPs over /DCCs don't match up with their queries very well. * Revamp of /who -realname * alias foo {package x;load script} carries 'x' into 'script' ??? -* $stripc() should use mangle_line(), not strcpy_nocolorcodes() -* strcpy_nocolorcodes() needs to die -* mangle_line() should use read_color_seq, not skip_ctl_c_seq -* skip_ctl_c_seq needs to die. +* Unify mangle_line() and normalize_string(). LOOK FOR IN THE FUTURE ----------------------- @@ -762,3 +759,28 @@ * Whack support for /set beep_max, tab, tab_max, and nd_space_max * A new $mask() from jm, who needs to write an UPDATES entry for me. =) * Split handling of ESC seqs out of normalize_string() into skip_esc_seq(). +* Remove some now unused xdebugs, fix compile warnings. +* Fix $stripc() to be a clone of $stripcrap(), just to strip colors +* Nix the now unused strcpy_nocolorcodes(). +* Fix up read_color_seq() to return an offset, not ptr, a la skip_ctl_c_seq(). +* Fix mangle_line() to use read_color_seq instead of skip_ctl_c_seq +* Nix the now unused skip_ctl_c_seq(). Only one thing now reads ^C's! HUZZAH. +* Rename skip_esc_seq() to read_esc_seq() just because. +* Begin moving logic|display_attributes towards a change model system +* Begin a radical change on how characters are given "state" (see source) +* Basically 8 bit chars (except c1 chars) are treated as "always printable" now +* Mangle a few other callers to logic_attributes, i'm sure these are b0rked. +* Fix some bugs, naturally. +* Nix the (apparantly) unused normalize_never_xlate global variable. +* Add function comments to some stuff in screen.c (comments! the horor!) +* Move read_esc_seq so it's closer to read_color_seq. +* State 1 chars (C1 chars) are stripped unless /set allow_c1_chars +* State 6 chars (Control chars) are stripped unless TERM_CAN_GCHAR is set +* State 4 chars (Highlight chars) are handled singly +* Plus, ALL_OFF is not generated unless you do an ALL_OFF! HUZZAH! +* Nix the last vestiges of the unsupported ROM_CHAR feature. +* Nix some now unused function decls in screen.h +* Add new_normalize_line, which is a unified normalizer/mangler (*gulp*) +* Cut over $stripcrap() to use new_normalize_line (*double gulp*) +* Rename "ANSI" mangle type to "NORMALIZE", but still accept "ANSI" +* Nix the gxlate table, and change ^T from State 4 to State 6 character. From: Kreca Date: Sun, 2 Oct 2005 02:37:14 +0200 (CEST) -Make /dns output look nicer //kreca -Make window doubles automatic depending on what statbar we use //kreca diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Fri Sep 30 09:14:59 2005 +++ /home/kreca/cvs/amn/CHANGES Sun Oct 2 02:35:12 2005 @@ -136,3 +136,7 @@ the less stuff i need to rely on from builtins/compat etc.. the happier i am. //zak -increment development version to 1.1d r/6 //zak + +10.02.05 +-Make /dns output look nicer //kreca +-Make window doubles automatic depending on what statbar we use //kreca diff -aruN /home/kreca/cvs/amn.orig/core/exec.m /home/kreca/cvs/amn/core/exec.m --- /home/kreca/cvs/amn.orig/core/exec.m Tue Aug 30 06:21:04 2005 +++ /home/kreca/cvs/amn/core/exec.m Sat Oct 1 15:15:22 2005 @@ -14,20 +14,23 @@ alias nslookup dns - ^on ^exec "dns *" { if ([$1] == [Non-authoritative]) { - xecho -b -c Non-authoritative answer for $_dnst + xecho -c [dns] Non-authoritative answer for $_dnst }{ - if ([$1] == [Server:]) { - xecho -b -c System Name Server: $2- - }{ - xecho -c -b $1- - } + if ([$1] == [Server:]) { + xecho -c [dns] ----------------------------------------- + xecho -c [dns] System Name Server: $2- + } else if ([$1-] ==[]) { + /* Do nothing */ + } { + xecho -c [dns] $1- + } } - } -^on ^exec_exit "dns % %" # +^on ^exec_exit "dns % %" { + xecho -c [dns] ----------------------------------------- +} ## edit topic stuff from the epic5 source tree.. used for the /topic_input ## by kreca. diff -aruN /home/kreca/cvs/amn.orig/core/window.m /home/kreca/cvs/amn/core/window.m --- /home/kreca/cvs/amn.orig/core/window.m Fri Sep 9 01:00:34 2005 +++ /home/kreca/cvs/amn/core/window.m Sun Oct 2 02:18:33 2005 @@ -9,12 +9,12 @@ if (![$0]) { xecho -b usage: /wj [key] } - { ^window new channel "$channame($0) $1-" hide swap last double on + { ^window new channel "$channame($0) $1-" hide swap last } } alias winmsg { - ^window new double on + ^window new ^window level msgs ^window size 5 ^window refnum 1 @@ -26,7 +26,7 @@ alias wq { if (#) { - window new_hide swap last double on query $0 + window new_hide swap last query $0 } elsif (Q) { query ^window $winnum() kill @@ -38,7 +38,7 @@ ## multiserv stuff. alias wcs if ([$0]) { - ^window new server $0 double on hide swap last channel "$channame($1) $2-" + ^window new server $0 hide swap last channel "$channame($1) $2-" }{ xecho -b usage: /wcs server channel key } @@ -61,7 +61,7 @@ }; ## shortend aliases. -alias wc {^window new hide swap last double on} +alias wc {^window new hide swap last} alias msgwin {wc;wsl;window level msgs,notices;window name messages} alias wsa ^_wsact alias wlk {part $C;wk} @@ -73,7 +73,7 @@ alias clsa {clear -ALL} ## for Alien88 -alias wnc2 {window new hide swap last double on split off channel $0 $1 $2} +alias wnc2 {window new hide swap last split off channel $0 $1 $2} ## misc query qwin/name aliases. alias qw wq $* @@ -139,6 +139,13 @@ ^window swap $number } } + } +} + +on #-window_create 123 "*" +{ + if ( windowdoubles == [ON] ) { + window $0 double on; } } diff -aruN /home/kreca/cvs/amn.orig/stats/stat.1 /home/kreca/cvs/amn/stats/stat.1 --- /home/kreca/cvs/amn.orig/stats/stat.1 Tue Aug 30 09:22:02 2005 +++ /home/kreca/cvs/amn/stats/stat.1 Sun Oct 2 02:22:40 2005 @@ -23,5 +23,6 @@ ^set REVERSE_STATUS_LINE off } stat1 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.10 /home/kreca/cvs/amn/stats/stat.10 --- /home/kreca/cvs/amn.orig/stats/stat.10 Tue Aug 30 09:22:39 2005 +++ /home/kreca/cvs/amn/stats/stat.10 Sun Oct 2 02:29:00 2005 @@ -26,5 +26,6 @@ ^set REVERSE_STATUS_LINE off } stat10 -^window double on +@windowdoubles=[ON] +^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.11 /home/kreca/cvs/amn/stats/stat.11 --- /home/kreca/cvs/amn.orig/stats/stat.11 Tue Aug 30 09:26:19 2005 +++ /home/kreca/cvs/amn/stats/stat.11 Sun Oct 2 02:29:28 2005 @@ -30,4 +30,6 @@ ^set REVERSE_STATUS_LINE on } stat11 +@windowdoubles=[OFF] +^window double off ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.12 /home/kreca/cvs/amn/stats/stat.12 --- /home/kreca/cvs/amn.orig/stats/stat.12 Tue Aug 30 09:22:54 2005 +++ /home/kreca/cvs/amn/stats/stat.12 Sun Oct 2 02:29:43 2005 @@ -23,5 +23,6 @@ ^set REVERSE_STATUS_LINE off } stat12 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.13 /home/kreca/cvs/amn/stats/stat.13 --- /home/kreca/cvs/amn.orig/stats/stat.13 Tue Aug 30 09:26:56 2005 +++ /home/kreca/cvs/amn/stats/stat.13 Sun Oct 2 02:30:09 2005 @@ -1,7 +1,6 @@ subpackage stat13 alias stat13 { -^window double off ^set status_format %T [%R] %*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L %D %W ^set status_format1 %T [%R] +%*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L ^set status_format2 (ops:%Y) (non:%X) (voc:%Z) %U %> @@ -31,5 +30,7 @@ ^set REVERSE_STATUS_LINE on } stat13 +@windowdoubles=[OFF] +^window double off ^timer -del 13 ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.14 /home/kreca/cvs/amn/stats/stat.14 --- /home/kreca/cvs/amn.orig/stats/stat.14 Tue Aug 30 09:27:40 2005 +++ /home/kreca/cvs/amn/stats/stat.14 Sun Oct 2 02:30:23 2005 @@ -30,5 +30,6 @@ ^set reverse_status_line off } stat14 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.2 /home/kreca/cvs/amn/stats/stat.2 --- /home/kreca/cvs/amn.orig/stats/stat.2 Tue Aug 30 09:23:31 2005 +++ /home/kreca/cvs/amn/stats/stat.2 Sun Oct 2 02:22:55 2005 @@ -22,5 +22,6 @@ ^set REVERSE_STATUS_LINE off } stat2 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.3 /home/kreca/cvs/amn/stats/stat.3 --- /home/kreca/cvs/amn.orig/stats/stat.3 Tue Aug 30 19:12:28 2005 +++ /home/kreca/cvs/amn/stats/stat.3 Sun Oct 2 02:23:10 2005 @@ -21,5 +21,6 @@ ^set REVERSE_STATUS_LINE off } stat3 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.4 /home/kreca/cvs/amn/stats/stat.4 --- /home/kreca/cvs/amn.orig/stats/stat.4 Sat Sep 10 08:01:47 2005 +++ /home/kreca/cvs/amn/stats/stat.4 Sun Oct 2 02:23:21 2005 @@ -23,5 +23,6 @@ ^set REVERSE_STATUS_LINE off } stat4 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.5 /home/kreca/cvs/amn/stats/stat.5 --- /home/kreca/cvs/amn.orig/stats/stat.5 Tue Aug 30 09:24:39 2005 +++ /home/kreca/cvs/amn/stats/stat.5 Sun Oct 2 02:23:33 2005 @@ -23,5 +23,6 @@ } stat5 ^timer -del 14 +@windowdoubles=[ON] ^window double on ^timer -window -1 -refnum 14 -rep -1 60 ^set status_user6 $sar(g/ //$(sc1)up$(hblk)\($(sc1)$before(m $tdiff2(${time() - F}))m)$(hblk)) diff -aruN /home/kreca/cvs/amn.orig/stats/stat.6 /home/kreca/cvs/amn/stats/stat.6 --- /home/kreca/cvs/amn.orig/stats/stat.6 Tue Aug 30 09:24:54 2005 +++ /home/kreca/cvs/amn/stats/stat.6 Sun Oct 2 02:23:46 2005 @@ -25,5 +25,6 @@ ^set REVERSE_STATUS_LINE off } stat6 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.7 /home/kreca/cvs/amn/stats/stat.7 --- /home/kreca/cvs/amn.orig/stats/stat.7 Tue Aug 30 09:25:12 2005 +++ /home/kreca/cvs/amn/stats/stat.7 Sun Oct 2 02:23:58 2005 @@ -22,5 +22,6 @@ ^set REVERSE_STATUS_LINE off } stat7 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.8 /home/kreca/cvs/amn/stats/stat.8 --- /home/kreca/cvs/amn.orig/stats/stat.8 Tue Aug 30 09:25:35 2005 +++ /home/kreca/cvs/amn/stats/stat.8 Sun Oct 2 02:24:06 2005 @@ -21,5 +21,6 @@ ^set REVERSE_STATUS_LINE off } stat8 +@windowdoubles=[ON] ^window double on ^timer -del 14 diff -aruN /home/kreca/cvs/amn.orig/stats/stat.9 /home/kreca/cvs/amn/stats/stat.9 --- /home/kreca/cvs/amn.orig/stats/stat.9 Tue Aug 30 09:25:54 2005 +++ /home/kreca/cvs/amn/stats/stat.9 Sun Oct 2 02:28:50 2005 @@ -22,5 +22,6 @@ ^set REVERSE_STATUS_LINE off } stat9 -^window double on +@windowdoubles=[ON] +^window double on ^timer -del 14 Date: Sat, 1 Oct 2005 21:02:25 -0400 (EDT) From: zak@ircii.org (Zak) -add configuration option for force-set of fixed window doubles and a few other minor changes involving window doubles. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Oct 1 20:35:12 2005 +++ amn/CHANGES Sat Oct 1 21:00:37 2005 @@ -139,4 +139,8 @@ 10.02.05 -Make /dns output look nicer //kreca --Make window doubles automatic depending on what statbar we use //kreca \ No newline at end of file +-Make window doubles automatic depending on what statbar we use //kreca +-Add a save toggle and /config option as well as /dstat alias to manually + choose fixed window doubles on overiding the default statbar setting if + needed //zak +-fix one missing window double i saw. //zak diff -aruN amn.orig/core/alias.m amn/core/alias.m --- amn.orig/core/alias.m Fri Sep 30 03:02:00 2005 +++ amn/core/alias.m Sat Oct 1 20:55:46 2005 @@ -1,6 +1,6 @@ subpackage alias -## last modified by crapple 9.18.05 +## last modified by crapple 10.1.05 ## various commands. alias sc scan $* @@ -91,6 +91,7 @@ alias otime {config p $*} alias extpub {config h $*} alias tform {format 3 $*} +alias dstat {config z $*} ## compat aliases from other irc clients to emulate the same thing. alias awayt awaytime $* @@ -198,7 +199,7 @@ xecho -b /mw -hidden|split|kill } switch ($0) { - (-hidden) {^window new hide swap last double on level msgs name msgs} + (-hidden) {^window new hide swap last level msgs name msgs} (-split) {^window new fixed on size 7 level msgs status_format %>$(hblk)[$(cl)msgs$(hblk)]$(cl) name msgs;^window back} (-kill) {^window msgs kill} } diff -aruN amn.orig/core/config amn/core/config --- amn.orig/core/config Fri Sep 2 17:15:09 2005 +++ amn/core/config Sat Oct 1 20:51:33 2005 @@ -12,7 +12,7 @@ eval osetitem misc (t) Timestamps: [$_tss] eval osetitem misc (m) Dcc autoget: [$(autoget)] eval osetitem misc (r) Pubstring: [$_pubnick] - +eval osetitem misc (z) Double fixed window: [$(windowdoubles)] fe ($listarray(_mods)) n1 { if (n1 != [!] && fexist($(loadpath)modules/$(n1)/config)) { diff -aruN amn.orig/core/config.m amn/core/config.m --- amn.orig/core/config.m Fri Sep 16 17:37:37 2005 +++ amn/core/config.m Sat Oct 1 20:49:18 2005 @@ -29,6 +29,7 @@ (w) {_selfban $choice} (x) {bantype $choice} (y) {/logd $choice} + (z) {_double $choice} # (5) {/savepath_ $choice} (*) {load $(loadpath)core/config;^echo $G usage -> config setting>} }} @@ -44,6 +45,21 @@ } } ## end auto-bot pass toggle. + +## window double toggle. +alias _double { + if (![$0]) { + xecho -v [a+c] double fixed window set to $toupper($windowdoubles) + } + if (match($0 on off)) { + @windowdoubles = [$0] + xecho -v [a+c] double fixed window set to $toupper($windowdoubles) + }{ + if ([$0]&&!match($0 on off)) { + xecho -v [a+c] invalid choice + } + } +} ## modular /config output stuff. actually shows options when it does exist. alias osetitem diff -aruN amn.orig/core/save.m amn/core/save.m --- amn.orig/core/save.m Fri Sep 16 15:24:45 2005 +++ amn/core/save.m Sat Oct 1 20:47:49 2005 @@ -36,6 +36,7 @@ @write($savemt @togaway = [$togaway]) @write($savemt @autoget = [$autoget]) @write($savemt @togpager = [$togpager]) + @write($savemt @windowdoubles = [$windowdoubles]) @write($savemt @bt_ = [$bt_]) @write($savemt @_bt = [$_bt]) @write($savemt @_ss = [$_ss]) Date: Sat, 1 Oct 2005 21:19:21 -0400 (EDT) From: zak@ircii.org (Zak) -sync documents to reality. //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Oct 1 21:00:37 2005 +++ amn/CHANGES Sat Oct 1 21:16:31 2005 @@ -144,3 +144,4 @@ choose fixed window doubles on overiding the default statbar setting if needed //zak -fix one missing window double i saw. //zak +-sync TODO-BUGS to reality. //zak diff -aruN amn.orig/TODO-BUGS amn/TODO-BUGS --- amn.orig/TODO-BUGS Sun Sep 18 01:06:42 2005 +++ amn/TODO-BUGS Sat Oct 1 21:16:07 2005 @@ -14,8 +14,6 @@ colors. but not inline nick colors. found by adam. thanks!. ## Higher priority requests. -@ make a toggle for whether we want window double on/off so we don't -hardcode /wc /wj etc.. to window double per default. @ add a topiclock alias (like bitchx) for xavier. ## Procrastinated requests. @@ -46,6 +44,10 @@ NONE for 'some bugs' ## bugs fixed. / projects done. +10.1.05 - finished thanks to kreca getting off his slackass //zak/kreca. +! make a toggle for whether we want window double on/off so we don't + hardcode /wc /wj etc.. to window double per default. + 9.18.05 - finished. /dcchelp for info //zak ! make a dcc help menu. Date: Sat, 1 Oct 2005 21:31:56 -0400 (EDT) From: zak@ircii.org (Zak) -some sublter changes.... //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sat Oct 1 21:16:31 2005 +++ amn/CHANGES Sat Oct 1 21:29:29 2005 @@ -145,3 +145,7 @@ needed //zak -fix one missing window double i saw. //zak -sync TODO-BUGS to reality. //zak +-change the UPPERCASE to lowercase of on/off toggles for doubles //zak +-remove/change some default sets on startup //zak +-increment development version to 1.1d r/7 //zak +-fix a couple more hardcoded window doubles in modules. //zak diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Fri Sep 30 03:04:07 2005 +++ amn/amn.epic Sat Oct 1 21:23:38 2005 @@ -35,7 +35,6 @@ set -continued_line set dcc_sliding_window 1024 set dcc_timeout 600 -set verbose_ctcp off set auto_rejoin on set auto_rejoin_delay 5 set auto_reconnect off @@ -56,7 +55,6 @@ set quit_message $tolower($J) - $randread($(loadpath)quit.reasons) window 1 level none -window 1 double on window 1 name - ## hack to not break URLS. eval set word_break $strip(. $word_break) diff -aruN amn.orig/core/window.m amn/core/window.m --- amn.orig/core/window.m Sat Oct 1 20:18:33 2005 +++ amn/core/window.m Sat Oct 1 21:27:04 2005 @@ -144,7 +144,7 @@ on #-window_create 123 "*" { - if ( windowdoubles == [ON] ) { + if ( windowdoubles == [on] ) { window $0 double on; } } diff -aruN amn.orig/modules/query/query.m amn/modules/query/query.m --- amn.orig/modules/query/query.m Sat Apr 30 17:18:12 2005 +++ amn/modules/query/query.m Sat Oct 1 21:30:04 2005 @@ -10,7 +10,7 @@ /****** CONFIG SECTION ******/ assign AUTO_QUERY 1 -assign AUTO_QUERY_WINDOW_ARGS double on hide +assign AUTO_QUERY_WINDOW_ARGS hide on #-msg 835 "*" { _autoquery $0 $userhost(); } on #-send_msg 835 "*" { _autoquery $0 $userhost(); } diff -aruN amn.orig/stats/stat.1 amn/stats/stat.1 --- amn.orig/stats/stat.1 Sat Oct 1 20:22:40 2005 +++ amn/stats/stat.1 Sat Oct 1 21:24:08 2005 @@ -23,6 +23,6 @@ ^set REVERSE_STATUS_LINE off } stat1 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.10 amn/stats/stat.10 --- amn.orig/stats/stat.10 Sat Oct 1 20:29:00 2005 +++ amn/stats/stat.10 Sat Oct 1 21:25:28 2005 @@ -26,6 +26,6 @@ ^set REVERSE_STATUS_LINE off } stat10 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.11 amn/stats/stat.11 --- amn.orig/stats/stat.11 Sat Oct 1 20:29:28 2005 +++ amn/stats/stat.11 Sat Oct 1 21:25:40 2005 @@ -30,6 +30,6 @@ ^set REVERSE_STATUS_LINE on } stat11 -@windowdoubles=[OFF] +@windowdoubles=[off] ^window double off ^timer -del 14 diff -aruN amn.orig/stats/stat.12 amn/stats/stat.12 --- amn.orig/stats/stat.12 Sat Oct 1 20:29:43 2005 +++ amn/stats/stat.12 Sat Oct 1 21:25:57 2005 @@ -23,6 +23,6 @@ ^set REVERSE_STATUS_LINE off } stat12 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.13 amn/stats/stat.13 --- amn.orig/stats/stat.13 Sat Oct 1 20:30:09 2005 +++ amn/stats/stat.13 Sat Oct 1 21:26:06 2005 @@ -30,7 +30,7 @@ ^set REVERSE_STATUS_LINE on } stat13 -@windowdoubles=[OFF] +@windowdoubles=[off] ^window double off ^timer -del 13 ^timer -del 14 diff -aruN amn.orig/stats/stat.14 amn/stats/stat.14 --- amn.orig/stats/stat.14 Sat Oct 1 20:30:23 2005 +++ amn/stats/stat.14 Sat Oct 1 21:26:18 2005 @@ -30,6 +30,6 @@ ^set reverse_status_line off } stat14 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.2 amn/stats/stat.2 --- amn.orig/stats/stat.2 Sat Oct 1 20:22:55 2005 +++ amn/stats/stat.2 Sat Oct 1 21:24:17 2005 @@ -22,6 +22,6 @@ ^set REVERSE_STATUS_LINE off } stat2 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.3 amn/stats/stat.3 --- amn.orig/stats/stat.3 Sat Oct 1 20:23:10 2005 +++ amn/stats/stat.3 Sat Oct 1 21:24:25 2005 @@ -21,6 +21,6 @@ ^set REVERSE_STATUS_LINE off } stat3 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.4 amn/stats/stat.4 --- amn.orig/stats/stat.4 Sat Oct 1 20:23:21 2005 +++ amn/stats/stat.4 Sat Oct 1 21:24:34 2005 @@ -23,6 +23,6 @@ ^set REVERSE_STATUS_LINE off } stat4 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.5 amn/stats/stat.5 --- amn.orig/stats/stat.5 Sat Oct 1 20:23:33 2005 +++ amn/stats/stat.5 Sat Oct 1 21:24:43 2005 @@ -23,6 +23,6 @@ } stat5 ^timer -del 14 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -window -1 -refnum 14 -rep -1 60 ^set status_user6 $sar(g/ //$(sc1)up$(hblk)\($(sc1)$before(m $tdiff2(${time() - F}))m)$(hblk)) diff -aruN amn.orig/stats/stat.6 amn/stats/stat.6 --- amn.orig/stats/stat.6 Sat Oct 1 20:23:46 2005 +++ amn/stats/stat.6 Sat Oct 1 21:24:51 2005 @@ -25,6 +25,6 @@ ^set REVERSE_STATUS_LINE off } stat6 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.7 amn/stats/stat.7 --- amn.orig/stats/stat.7 Sat Oct 1 20:23:58 2005 +++ amn/stats/stat.7 Sat Oct 1 21:25:00 2005 @@ -22,6 +22,6 @@ ^set REVERSE_STATUS_LINE off } stat7 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.8 amn/stats/stat.8 --- amn.orig/stats/stat.8 Sat Oct 1 20:24:06 2005 +++ amn/stats/stat.8 Sat Oct 1 21:25:09 2005 @@ -21,6 +21,6 @@ ^set REVERSE_STATUS_LINE off } stat8 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 diff -aruN amn.orig/stats/stat.9 amn/stats/stat.9 --- amn.orig/stats/stat.9 Sat Oct 1 20:28:50 2005 +++ amn/stats/stat.9 Sat Oct 1 21:25:19 2005 @@ -22,6 +22,6 @@ ^set REVERSE_STATUS_LINE off } stat9 -@windowdoubles=[ON] +@windowdoubles=[on] ^window double on ^timer -del 14 Date: Sat, 1 Oct 2005 21:34:54 -0400 (EDT) From: zak@ircii.org (Zak) -oops also synched to the website now that i verified the last 5 or so commits which seem to be working ok. should be updated in 2 mins. //zak diff -aruN amn.orig/core/sets.m amn/core/sets.m --- amn.orig/core/sets.m Fri Sep 30 03:05:03 2005 +++ amn/core/sets.m Sat Oct 1 21:33:13 2005 @@ -37,7 +37,7 @@ @awayl=[on] @awayr=[Not Here] @a.ver=[amnesiac] -@rel_id=[6] +@rel_id=[7] @a.rel=[1.1d r/$rel_id] @a.date=[20050903] @_ss=[15] From: Kreca Date: Sun, 2 Oct 2005 04:26:31 +0200 (CEST) -make /relm -l behave exactly like /relm. diff -aruN /home/kreca/cvs/amn.orig/CHANGES /home/kreca/cvs/amn/CHANGES --- /home/kreca/cvs/amn.orig/CHANGES Sun Oct 2 03:29:29 2005 +++ /home/kreca/cvs/amn/CHANGES Sun Oct 2 04:25:00 2005 @@ -149,3 +149,4 @@ -remove/change some default sets on startup //zak -increment development version to 1.1d r/7 //zak -fix a couple more hardcoded window doubles in modules. //zak +-make /relm -l behave exactly like /relm. Now users with this defect will be happy *cough* //kreca diff -aruN /home/kreca/cvs/amn.orig/modules/relay/relay.m /home/kreca/cvs/amn/modules/relay/relay.m --- /home/kreca/cvs/amn.orig/modules/relay/relay.m Sat Sep 17 00:20:26 2005 +++ /home/kreca/cvs/amn/modules/relay/relay.m Sun Oct 2 04:19:13 2005 @@ -91,7 +91,11 @@ } alias relm { - if (![$0]) { + if ([$0] == [-l] ) + { + /* hack to make output of relm -l -> relm */ + return $relm($1-); + } else if (![$0]) { ^local yy @relayw=[OFF] for (@yy=0, yy about a error msg if i have seen. + 00:01|-> (hop) yep requested 8 bytes or something and got 1 + 00:01|(hop!jnelson@epic.user) oh! well, that would cause the crash then. + 00:01|(hop!jnelson@epic.user) that's one of the things i haven't yet +finished implementing. + 00:02|(hop!jnelson@epic.user) ok. well, fair enough. i'm glad i asked. + 00:02|(hop!jnelson@epic.user) see, let me tell you what is the problem. + 00:02|(hop!jnelson@epic.user) it's really simple to conceptualize, but it's +a challenge to implement (icky) + 00:02|(hop!jnelson@epic.user) when i do a getaddrinfo(), getaddrinfo() + mallocs of memory, and puts it in many different addresses + 00:03|(hop!jnelson@epic.user) but my task is to copy it into one big buffer + that i can send over a socket, that allows me to do nonblocking dns +lookups. + 00:03|(hop!jnelson@epic.user) so i send two pieces of information -- "how +big is the data i am sending" and then the data itself. + 00:03|(hop!jnelson@epic.user) now i wrote the code, as a proof of concept, + and didn't owry about what would happen if the "how big is the data iam + sending?" data didn't get transferred all at once + 00:04|(hop!jnelson@epic.user) rather, i just write() it and read() it and +if there is a shortage (ie, 1 byte read instead of 8) i jsut put out the + debugging message, and then i'd deal with that later. + 00:04|(hop!jnelson@epic.user) and you, unfortunately. :/ have been bit by + that. + 00:04|(hop!jnelson@epic.user) therefore, i shall make it a high priority to + finish that part of the code right away, so you can continue testing. =) +^^ so hopefully a fix regarding this will come soon ;) + +discussed the below with hop somewhat on 10.2.05 +it's kinda hard to reproduce.. i will update more on this when i get time. + ircII EPIC5-0.0.6 (Commit id: 1292) (Date of release: 20050809) -finditem() seems to be broken, however the behavior seems hard to reproduce among the different commit id and release versions of epic5, sample code @@ -41,9 +78,69 @@ @addcountry(EDU Educational Institution) @addcountry(ARPA Reverse DNS) -/eval echo $country (ZR) <-- works -/eval echo $country (COM) <-- 3/4 letter finds don't seem to work. +/eval echo $country(ZR) <-- works +/eval echo $country(COM) <-- 3/4 letter finds don't seem to work. ^^ fix i did for the above in amnesiac is to use matchitem() instead of finditem() -//zak +## proposals on the ugly getaddrinfo(3) and other things for epic itself. +## this is just here for reference material at this time, no it doesn't mean +## that it will actually happen, or that the code itself is that dirty. +## epic5 is still alpha software so some things are going to be non-complete +## and probably find bugs. see the discussion at the first of this txtfile +## regarding most of the nonblocking dns. + +rewrite the grab_server_address() + +* Grab_server_address -- look up all of the addresses for a hostname and +* save them in the Server data for later use. Someone must free +* the results when they're done using the data (usually when we +* successfully connect, or when we run out of addrs) +so that function's responsible for hostname resolving, be it IPv4 or IPv6 +AND it looks like that it caches already resolved hostnames nice abstraction +but i don't like the code in it myself personally. + +some proposals mebe. +-> remove deps to obsolete stuff like AI, getaddrinfo +-> first thing to rewrite? + if (s->addrs) + { + if (x_debug & DEBUG_SERVER_CONNECT) + yell("This server still has addresses left over from" + "last time. Starting over anyways..."); + new_open(xvfd[1], do_server, NEWIO_READ, 1); + ^^- ??? +-> do_server rewrite and server struct as well due to lots of obsoleted + stuff. +-> possibly look at. grab_server_address() + return -1; /* XXXX */ + /* Freeaddrinfo(s->addrs); */ + if (x_debug & DEBUG_SERVER_CONNECT) + yell("This server still has addresses left over from" + "last time. Starting over anyways..."); + hints.ai_flags = AI_ADDRCONFIG; +^^ ancient looked at an old sun doc for info. +http://www.mail-archive.com/wget@sunsite.dk/msg07488.html +-> not sure what these are for. + * XXX -- Support getaddrinfo()s that want an AF_UNIX path to + * be the second argument and not the first one. Bleh. + getaddrinfo freeaddrinfo, gai_strerror - nodename-to-address + translation in protocol-independent manner +^^ the only thing we ever use is IP/IP6 mebe you mean AF_UNSPEC? + AF_PASSIVE mebe?? +i'm not sure of the purpose of that wrapper... used to wrap around +the problem of non thread safe implementations on some OS? +however i saw some usages of AF_UNSPEC in the code which confuses me +so i really don't know what to do here ;) +-> get rid of all the obsoleted. AI_* +% grep AI_ADDRCONFIG * | wc -l + 9 + + 23:43|<@lart> you might add the obsolete stuff in the Server struct + 23:44|<@lart> and possible degree of higher modularization + +some contributors. +//zak zak@ircii.org +//kreca kreca@ircii.org +//skullY zwhite@ircii.org +//lart lart@ircii.org diff -aruN amn.orig/modules/relay/relay.m amn/modules/relay/relay.m --- amn.orig/modules/relay/relay.m Sat Oct 1 22:19:13 2005 +++ amn/modules/relay/relay.m Sun Oct 2 00:49:17 2005 @@ -1,6 +1,6 @@ subpackage relay -## last modified by crapple 9.16.05 - merged fake/cleanups. +## last modified by crapple 10.2.05 - added /rel(smn) -l hacks for xavier. alias lpaste msg $T $line(${[$0]?[$0]:1}) alias lp lpaste @@ -133,7 +133,11 @@ } alias reln { - if (![$0]) { + if ([$0] == [-l] ) + { + /* hack to make output of reln -l -> reln */ + return $reln($1-); + } else if (![$0]) { ^local yy @relayw=[OFF] for (@yy=0, yy relsm */ + return $relsm($1-); + } else if (![$0]) { ^local zz @relayw=[OFF] for (@zz=0, zz relsn */ + return $relsn($1-); + } else if (![$0]) { ^local zz @relayw=[OFF] for (@zz=0, zz r/6 +## 1.1d r/5 > r/7 rm -rf /path/to/amn - +rm -rf ~/.amn/.mod.save tar zxvf newver.tgz (in your home dir or dir you want it) or tar zxvf newver.tgz -C /path/to/where/you/want/it diff -aruN amn.orig/amn.epic amn/amn.epic --- amn.orig/amn.epic Sat Oct 1 21:23:38 2005 +++ amn/amn.epic Sun Oct 2 13:39:28 2005 @@ -67,7 +67,7 @@ } #supported modules -@_modules=[ncomp flood abot lsay sprot aol query away dict mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy nlog services] +@_modules=[ncomp flood abot sprot aol query away dict mjoin netsplit adcc oper orignick relay shitlist tab userlist bwk clones vanilla xy nlog services] ## poor mans THUTTUP on file not found loader. ^on ^yell * # diff -aruN amn.orig/ans/modlist.ans amn/ans/modlist.ans --- amn.orig/ans/modlist.ans Fri Sep 16 20:01:28 2005 +++ amn/ans/modlist.ans Sun Oct 2 13:41:02 2005 @@ -3,10 +3,10 @@ eval echo [mjoin] [*] [oper] [*] [relay] [*] eval echo [tab] [*] [netsplit] [*] [orignick] [*] eval echo [clones] [M] [ncomp] [M] [adcc] [M] -eval echo [flood] [M] [lsay] [M] [nlog] [M] -eval echo [query] [M] [sprot] [M] [aol] [M] -eval echo [bwk] [M] [xy] [M] [shitlist] [M] -eval echo [userlist] [M] [services] [M] +eval echo [flood] [M] [nlog] [M] [query] [M] +eval echo [sprot] [M] [aol] [M] [bwk] [M] +eval echo [xy] [M] [shitlist] [M] [userlist] [M] +eval echo [services] [M] eval echo eval echo [*] Default [M] Non-default /mhelp for more info. eval echo ------------------------------------------------------------------- diff -aruN amn.orig/ans/modules.ans amn/ans/modules.ans --- amn.orig/ans/modules.ans Fri Sep 16 20:09:44 2005 +++ amn/ans/modules.ans Sun Oct 2 13:41:53 2005 @@ -13,7 +13,6 @@ eval echo [ncomp] - nick completion [M] eval echo [adcc] - xdcc/dcc pack/offers [M] eval echo [flood] - msg flood protection [M] -eval echo [lsay] - leet say, colour say [M] input_char "menu paused hit the ANY key to continue " pause eval echo [nlog] - notify logging [M] diff -aruN amn.orig/core/lusers.m amn/core/lusers.m --- amn.orig/core/lusers.m Tue Aug 30 01:15:28 2005 +++ amn/core/lusers.m Sun Oct 2 13:09:28 2005 @@ -1,9 +1,10 @@ subpackage lusers ## last modified by skullY on 2005 Aug 11. +## modded a bit to remove cruft by crapple on 2005 Oct 2 ## stolen from argon cause of sheer leetness. ## fixed by skullY because it was broked with the new math parser. ## It's still all ugly and there's at least one new hack, but really, who -## cares that much about lusers? +## cares that much about lusers? <-- Alien88 does apparently ;( -crapple. on ^001 * # on ^002 * # @@ -40,20 +41,7 @@ ^on ^raw_irc -"$S % $N :Highest connection count*" # @ _lu.um = [$2] ^assign _lu.umd $2, - #echo _lu.u: $_lu.u - #echo _lu.um: $_lu.um - #echo _lu.i $_lu.i - #echo _lu.s $_lu.s - #echo _lu.o $_lu.o - #echo _lu.c $_lu.c - #echo _lu.ls $_lu.ls - #echo _lu.lu $_lu.lu - #echo _lu.lum $_lu.lum ^set floating_point_math on - # FIXME: $_lu.umd and $_lu.lumd are really cheap hacks so I don't have to - # figure out how to parse things for the stupid lined up columns people - # seem to like when I've been up for 34 hours without aid of any drugs - # that can't be found in your 7-11's fridge. But at least now the # next two lines don't make the new math parser bitch. -skullY xecho -v $(hblk)[$cparse($(c2)³)$(hblk)] $cparse($(c2)g)$cparse($(c1)lobal users)$(hblk).. $(cl)$[6]_lu.u max$(c.hk) $(cl)$[7]_lu.umd $cparse($(c1)\()$(cl)$_lu.i invisible, $_lu.o operators$cparse($(c1)\)) xecho -v $(hblk)[$cparse($(c1)³)$(hblk)] $cparse($(c2)l)$cparse($(c1)ocal users)$(hblk)... $(cl)$[6]_lu.lu max$(c.hk) $(cl)$[7]_lu.lumd $cparse($(c1)\()$(cl)$trunc(5 ${100 * (_lu.lu / _lu.u)})\%$cparse($(c1)\)) diff -aruN amn.orig/docs/E5-KNOWNBUGS amn/docs/E5-KNOWNBUGS --- amn.orig/docs/E5-KNOWNBUGS Sun Oct 2 01:40:59 2005 +++ amn/docs/E5-KNOWNBUGS Sun Oct 2 13:43:25 2005 @@ -787,3 +787,4 @@ * Add support for dgets buffer type -2 (only return full buffers) * Use buffer type -2 for reading nonblocking dns addrs, fixes probs on solaris. * Fix alignment issues on sparc. Thanks to crapple for his assistance! +* Convert the other users of mangle_line() to new_normalize_string (*gulp!*) diff -aruN amn.orig/modules/aol/aol.m amn/modules/aol/aol.m --- amn.orig/modules/aol/aol.m Fri Apr 29 04:15:11 2005 +++ amn/modules/aol/aol.m Sun Oct 2 13:33:24 2005 @@ -1,7 +1,7 @@ subpackage aol # nutbar # elite aol text stuff - +# moved lsay here on 10.2.05 - crapple @ setitem(aol 0 ALL OREAND THE GIFCHERRY BUSH DA BOON CHASED DA WHEASELGIFPASTECLITNUGGET SHIT) @ setitem(aol 1 WH0A WHUT W00D PEEPUHL THEEENK IF DAY GN00 EYE WUZ A JEEEZUS FREEEK?!) @ setitem(aol 2 EYE WENT TO THE TRAK TO WAATCH THE PONYNUGGETS RHUN AROUND THE GIFPASTE) @@ -226,3 +226,19 @@ alias randaol {@ function_return = getitem(aol $rand($numitems(aol)))} eval xecho $fparse(format_usage aol [|<#channel>]) + +## drendite wrote it, or roque one, duno, just don't complain to me about it +alias lsay { + @ :ee = [] + @ :aa = [abcdefghijklmnopqrstuvwxyz] + @ :bb = [ayh bee sea dee ee eff gee aych eye jay kay ell ehm in oh pea que are ess tea you vee doubleu ex why zee] + fec ($tolower($*)) cc { + @ :dd = index($cc $aa) + if (dd > -1) { + push ee $word($dd $bb) + } else { + push ee $cc + } + } + //send $ee + } diff -aruN amn.orig/modules/lsay/lsay.m amn/modules/lsay/lsay.m --- amn.orig/modules/lsay/lsay.m Thu Sep 8 18:43:42 2005 +++ amn/modules/lsay/lsay.m Wed Dec 31 19:00:00 1969 @@ -1,70 +0,0 @@ -subpackage lsay -## text fades, filters, fun, etc.. -## taken from cypress -## i worked hard on this, thanks to RoboHak(improvements) and shade(suggestions) -## optimized by Rain -## optimized again by ttb - -alias fade { @ :output=[];@ :xx=0 - fe ($3-) wd { ${xx % 2==1?{@fc1=[$0];@fc2=[$1];@fc3=[$2]}:{@fc1=[$2];@fc2=[$1];@fc3=[$0]}} - switch ($strlen($wd)) { - (1) {@push(output $(fc1)$wd)} - (2) {@push(output $(fc1)$left(1 $wd)$(fc2)$right(1 $wd))} - (3) {@push(output $(fc1)$left(1 $wd)$(fc2)$mid(1 1 $wd)$(fc3)$right(1 $wd))} - (4) {@push(output $(fc1)$left(1 $wd)$(fc2)$mid(1 2 $wd)$(fc3)$right(1 $wd))} - (5) {@push(output $(fc1)$left(2 $wd)$(fc2)$mid(2 1 $wd)$(fc3)$right(2 $wd))} - (6) {@push(output $(fc1)$left(2 $wd)$(fc2)$mid(2 2 $wd)$(fc3)$right(2 $wd))} - (7) {@push(output $(fc1)$left(2 $wd)$(fc2)$mid(2 3 $wd)$(fc3)$right(2 $wd))} - (*) {@push(output $(fc1)$left(3 $wd)$(fc2)$mid(3 ${strlen($wd) - 6} $wd)$(fc3)$right(3 $wd))}} - @xx++} - @ function_return = cparse("$output") - ^assign -fc1;^assign -fc2;^assign -fc3} - - -alias ifunky {if (strlen($0)>1) {@:strlenofword=strlen($0) - 2;return $(cyn)$left(1 $0)$(cl)$mid(1 $strlenofword $0)$(hwht)$right(1 $0)$(cl)}{return $(cl)$0}} -alias grfade {if (strlen($0)>1) {return $left(1 $0)$mid(1 ${strlen($0) - 1} $0)}{return $(cl)$0$(cl)}} - -alias csay { -@ :flag = [$0] -switch ($flag) { - (-w) {//say $fade(%K %w %W $1-)} - (-m) {//say $fade(%K %m %M $1-)} - (-c) {//say $fade(%K %c %C $1-)} - (-g) {//say $fade(%K %g %G $1-)} - (-y) {//say $fade(%K %y %Y $1-)} - (-r) {//say $fade(%K %r %R $1-)} - (-b) {//say $fade(%K %b %B $1-)} - (*) {//say $0-} -}} - -alias cmsg { -@ :flag = [$1] -switch ($flag) { - (-w) {//msg $0 $fade(%K %w %W $2-)} - (-m) {//msg $0 $fade(%K %m %M $2-)} - (-c) {//msg $0 $fade(%K %c %C $2-)} - (-g) {//msg $0 $fade(%K %g %G $2-)} - (-y) {//msg $0 $fade(%K %y %Y $2-)} - (-r) {//msg $0 $fade(%K %r %R $2-)} - (-b) {//msg $0 $fade(%K %b %B $2-)} - (*) {//msg $0 $1-} -}} - -alias usay { csay $usayfunct($*) } -# .:. clogic '98 - -## drendite wrote it, or roque one, duno, just don't complain to me about it -alias lsay { - @ :ee = [] - @ :aa = [abcdefghijklmnopqrstuvwxyz] - @ :bb = [ayh bee sea dee ee eff gee aych eye jay kay ell ehm in oh pea que are ess tea you vee doubleu ex why zee] - fec ($tolower($*)) cc { - @ :dd = index($cc $aa) - if (dd > -1) { - push ee $word($dd $bb) - } else { - push ee $cc - } - } - //send $ee - } Date: Sun, 2 Oct 2005 14:22:49 -0400 (EDT) From: zak@ircii.org (Zak) -add more debugging info regarding $finditem() during a bit of spare time this morning. to EPIC-BUGS //zak diff -aruN amn.orig/CHANGES amn/CHANGES --- amn.orig/CHANGES Sun Oct 2 13:43:58 2005 +++ amn/CHANGES Sun Oct 2 14:20:18 2005 @@ -162,3 +162,5 @@ //zak -sync UPGRADE doc to reality. //zak -sync E5-KNOWNBUGS from -HEAD //zak +-update EPIC-BUGS info after having some time to debug the $finditem() problems + this morning a bit. //zak diff -aruN amn.orig/EPIC-BUGS amn/EPIC-BUGS --- amn.orig/EPIC-BUGS Sun Oct 2 01:40:31 2005 +++ amn/EPIC-BUGS Sun Oct 2 14:19:20 2005 @@ -78,6 +78,148 @@ ^^ fix i did for the above in amnesiac is to use matchitem() instead of finditem() +-> debug 7 output for broken $finditem() +-> even more confusing/unpredictable as of 10.2.05 //zak +## test .com //works oddly. + +Executing [0] /eval echo $country(com) +Expanded [com] to [com] +Expanded [@:i= finditem(countryIndex $toupper($0));if ( i > -1) ++{@function_return=getitem(countryName $i)} {@function_return =[Unknown]}] +to ++[@:i= finditem(countryIndex $toupper($0))] +Executing [1] @:i= finditem(countryIndex $toupper($0)) +Expanded [:i] to [:i] +Expanded [finditem(countryIndex $toupper($0))] to [finditem(countryIndex ++$toupper($0))] +Expanded [$0] to [com] +Function TOUPPER(com) returned COM +Expanded [countryIndex $toupper($0)] to [countryIndex COM] +Function FINDITEM(countryIndex COM) returned 2 +Expanded [if ( i > -1) {@function_return=getitem(countryName $i)} ++{@function_return =[Unknown]}] to [if ( i > -1) ++{@function_return=getitem(countryName $i)} {@function_return =[Unknown]}] +Executing [1] if ( i > -1) {@function_return=getitem(countryName $i)} ++{@function_return =[Unknown]} +Expanded [-1] to [-1] +Expanded [i] to [i] +Expanded [1] to [1] +IF expression expands to: (1) +IF expression expands to: (1) +Expanded [@function_return=getitem(countryName $i)] to ++[@function_return=getitem(countryName $i)] +Executing [2] @function_return=getitem(countryName $i) +Expanded [function_return] to [function_return] +Expanded [getitem(countryName $i)] to [getitem(countryName $i)] +Expanded [countryName $i] to [countryName 2] +Function GETITEM(countryName 2) returned Internic Commercial +Function COUNTRY(com) returned Internic Commercial +Expanded [echo $country(com)] to [echo Internic Commercial] +Executing [1] echo Internic Commercial +Internic Commercial + +## testing arpa. //broken. +Executing [0] /eval echo $country(arpa) +Expanded [arpa] to [arpa] +Expanded [@:i= finditem(countryIndex $toupper($0));if ( i > -1) ++{@function_return=getitem(countryName $i)} {@function_return =[Unknown]}] +to ++[@:i= finditem(countryIndex $toupper($0))] +Executing [1] @:i= finditem(countryIndex $toupper($0)) +Expanded [:i] to [:i] +Expanded [finditem(countryIndex $toupper($0))] to [finditem(countryIndex ++$toupper($0))] +Expanded [$0] to [arpa] +Function TOUPPER(arpa) returned ARPA +Expanded [countryIndex $toupper($0)] to [countryIndex ARPA] +Function FINDITEM(countryIndex ARPA) returned -2 +Expanded [if ( i > -1) {@function_return=getitem(countryName $i)} ++{@function_return =[Unknown]}] to [if ( i > -1) ++{@function_return=getitem(countryName $i)} {@function_return =[Unknown]}] +Executing [1] if ( i > -1) {@function_return=getitem(countryName $i)} ++{@function_return =[Unknown]} +Expanded [-1] to [-1] +Expanded [i] to [i] +Expanded [0] to [0] +IF expression expands to: (0) +Expanded [@function_return =[Unknown]] to [@function_return =[Unknown]] +Executing [2] @function_return =[Unknown] +Expanded [function_return] to [function_return] +Expanded [Unknown] to [Unknown] +Function COUNTRY(arpa) returned Unknown +Expanded [echo $country(arpa)] to [echo Unknown] +Executing [1] echo Unknown +Unknown + +## test .edu //works. +Executing [0] /eval echo $country(edu) +Expanded [edu] to [edu] +Expanded [@:i= finditem(countryIndex $toupper($0));if ( i > -1) ++{@function_return=getitem(countryName $i)} {@function_return =[Unknown]}] +to ++[@:i= finditem(countryIndex $toupper($0))] +Executing [1] @:i= finditem(countryIndex $toupper($0)) +Expanded [:i] to [:i] +Expanded [finditem(countryIndex $toupper($0))] to [finditem(countryIndex ++$toupper($0))] +Expanded [$0] to [edu] +Function TOUPPER(edu) returned EDU +Expanded [countryIndex $toupper($0)] to [countryIndex EDU] +Function FINDITEM(countryIndex EDU) returned 3 +Expanded [if ( i > -1) {@function_return=getitem(countryName $i)} ++{@function_return =[Unknown]}] to [if ( i > -1) ++{@function_return=getitem(countryName $i)} {@function_return =[Unknown]}] +Executing [1] if ( i > -1) {@function_return=getitem(countryName $i)} ++{@function_return =[Unknown]} +Expanded [-1] to [-1] +Expanded [i] to [i] +Expanded [1] to [1] +IF expression expands to: (1) +Expanded [@function_return=getitem(countryName $i)] to ++[@function_return=getitem(countryName $i)] +Executing [2] @function_return=getitem(countryName $i) +Expanded [function_return] to [function_return] +Expanded [getitem(countryName $i)] to [getitem(countryName $i)] +Expanded [countryName $i] to [countryName 3] +Function GETITEM(countryName 3) returned Educational Institution +Function COUNTRY(edu) returned Educational Institution +Expanded [echo $country(edu)] to [echo Educational Institution] +Executing [1] echo Educational Institution +Educational Institution + +## test .zw //broken this is confusing. +Executing [0] /eval echo $country(zw) +Expanded [zw] to [zw] +Expanded [@:i= finditem(countryIndex $toupper($0));if ( i > -1) ++{@function_return=getitem(countryName $i)} {@function_return =[Unknown]}] +to ++[@:i= finditem(countryIndex $toupper($0))] +Executing [1] @:i= finditem(countryIndex $toupper($0)) +Expanded [:i] to [:i] +Expanded [finditem(countryIndex $toupper($0))] to [finditem(countryIndex ++$toupper($0))] +Expanded [$0] to [zw] +Function TOUPPER(zw) returned ZW +Expanded [countryIndex $toupper($0)] to [countryIndex ZW] +Function FINDITEM(countryIndex ZW) returned -2 +Expanded [if ( i > -1) {@function_return=getitem(countryName $i)} ++{@function_return =[Unknown]}] to [if ( i > -1) ++{@function_return=getitem(countryName $i)} {@function_return =[Unknown]}] +Executing [1] if ( i > -1) {@function_return=getitem(countryName $i)} ++{@function_return =[Unknown]} +Expanded [-1] to [-1] +Expanded [i] to [i] +Expanded [0] to [0] +IF expression expands to: (0) +Expanded [@function_return =[Unknown]] to [@function_return =[Unknown]] +Executing [2] @function_return =[Unknown] +Expanded [function_return] to [function_return] +Expanded [Unknown] to [Unknown] +Function COUNTRY(zw) returned Unknown +Expanded [echo $country(zw)] to [echo Unknown] +Executing [1] echo Unknown +Unknown + ## proposals on the ugly getaddrinfo(3) and other things for epic itself. ## this is just here for reference material at this time, no it doesn't mean ## that it will actually happen, or that the code itself is that dirty.