home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / 05_02.iso / macos / net / files / Snak 4.8.2 For OS X.sit / Snak 4.8.2 / UserScripts / RepeatingMessage < prev    next >
MacBinary  |  2000-05-02  |  1.9 KB  |  [TEXT/R*ch]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: RepeatingMessage

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue May 2 01:00:27 2000, modified Tue May 2 01:00:27 2000, creator BBEdit, type ASCII, 1241 bytes "RepeatingMessage" , at 0x559 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[R*ch]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 52 65 70 65 61 74 | 69 6e 67 4d 65 73 73 61 |..Repeat|ingMessa|
|00000010| 67 65 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ge......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 52 2a 63 | 68 01 00 00 00 00 00 00 |.TEXTR*c|h.......|
|00000050| 00 00 00 00 00 04 d9 00 | 00 01 9a b5 34 11 6b b5 |........|....4.k.|
|00000060| 34 11 6b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |4.k.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c6 a7 00 00 |........|........|
|00000080| 23 20 4c 69 6e 65 73 20 | 77 69 74 68 20 27 23 27 |# Lines |with '#'|
|00000090| 20 61 72 65 20 63 6f 6d | 6d 65 6e 74 73 20 74 68 | are com|ments th|
|000000a0| 61 74 20 61 72 65 20 6e | 6f 74 20 65 78 65 63 75 |at are n|ot execu|
|000000b0| 74 65 64 0d 0d 23 20 54 | 68 69 73 20 66 69 6c 65 |ted..# T|his file|
|000000c0| 20 63 6f 6e 74 61 69 6e | 73 20 61 6e 20 65 78 61 | contain|s an exa|
|000000d0| 6d 70 6c 65 20 6f 66 20 | 68 6f 77 20 74 6f 20 61 |mple of |how to a|
|000000e0| 64 64 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 66 75 |dd addit|ional fu|
|000000f0| 6e 63 74 69 6f 6e 61 6c | 69 74 79 20 74 6f 20 53 |nctional|ity to S|
|00000100| 6e 61 6b 2e 20 0d 23 20 | 54 68 69 73 20 65 78 61 |nak. .# |This exa|
|00000110| 6d 70 6c 65 20 73 68 6f | 77 73 20 68 6f 77 20 74 |mple sho|ws how t|
|00000120| 6f 20 70 65 72 69 6f 64 | 69 63 61 6c 6c 79 20 73 |o period|ically s|
|00000130| 65 6e 64 20 61 20 6d 65 | 73 73 61 67 65 20 74 6f |end a me|ssage to|
|00000140| 20 61 20 74 68 65 20 63 | 68 61 6e 6e 65 6c 2e 0d | a the c|hannel..|
|00000150| 0d 23 20 54 6f 20 61 75 | 74 6f 6d 61 74 69 63 61 |.# To au|tomatica|
|00000160| 6c 6c 79 20 6c 6f 61 64 | 20 74 68 69 73 20 69 6e |lly load| this in|
|00000170| 74 6f 20 61 20 63 6f 6e | 6e 65 63 74 69 6f 6e 2c |to a con|nection,|
|00000180| 20 61 64 64 20 22 2f 6c | 6f 61 64 20 72 65 70 65 | add "/l|oad repe|
|00000190| 61 74 69 6e 67 6d 65 73 | 73 61 67 65 22 20 74 6f |atingmes|sage" to|
|000001a0| 20 74 68 65 20 73 74 61 | 72 74 75 70 20 61 63 74 | the sta|rtup act|
|000001b0| 69 6f 6e 73 0d 0d 23 20 | 54 68 65 20 72 65 70 65 |ions..# |The repe|
|000001c0| 61 74 69 6e 67 20 6d 65 | 73 73 61 67 65 20 63 61 |ating me|ssage ca|
|000001d0| 6e 20 62 65 20 74 75 72 | 6e 65 64 20 6f 6e 20 61 |n be tur|ned on a|
|000001e0| 6e 64 20 6f 66 66 0d 0d | 23 20 54 68 69 73 20 66 |nd off..|# This f|
|000001f0| 6c 61 67 20 74 75 72 6e | 73 20 74 68 65 20 6d 65 |lag turn|s the me|
|00000200| 73 73 61 67 65 20 6f 6e | 20 61 6e 64 20 6f 66 66 |ssage on| and off|
|00000210| 0d 61 73 73 69 67 6e 20 | 64 6f 5f 72 65 70 65 61 |.assign |do_repea|
|00000220| 74 69 6e 67 6d 65 73 73 | 61 67 65 5f 66 6c 61 67 |tingmess|age_flag|
|00000230| 20 59 0d 0d 0d 23 20 54 | 68 69 73 20 69 73 20 74 | Y...# T|his is t|
|00000240| 68 65 20 61 6c 69 61 73 | 20 74 68 61 74 20 69 73 |he alias| that is|
|00000250| 20 72 75 6e 20 65 76 65 | 72 79 20 35 20 73 65 63 | run eve|ry 5 sec|
|00000260| 6f 6e 64 73 20 61 73 20 | 6c 6f 6e 67 20 61 73 20 |onds as |long as |
|00000270| 74 68 65 20 66 6c 61 67 | 20 69 73 20 6f 6e 2e 0d |the flag| is on..|
|00000280| 23 20 49 74 20 6f 75 74 | 70 75 74 73 20 61 20 6d |# It out|puts a m|
|00000290| 65 73 73 61 67 65 20 22 | 68 65 6c 6c 6f 22 20 61 |essage "|hello" a|
|000002a0| 6e 64 20 74 68 65 6e 20 | 73 74 61 72 74 73 20 61 |nd then |starts a|
|000002b0| 20 74 69 6d 65 72 20 74 | 68 61 74 20 35 20 73 65 | timer t|hat 5 se|
|000002c0| 63 6f 6e 64 73 20 6c 61 | 74 65 72 20 77 69 6c 6c |conds la|ter will|
|000002d0| 20 0d 23 20 72 75 6e 20 | 74 68 65 20 61 6c 69 61 | .# run |the alia|
|000002e0| 73 20 61 67 61 69 6e 2e | 20 0d 0d 23 20 54 68 65 |s again.| ..# The|
|000002f0| 20 22 65 63 68 6f 20 68 | 65 6c 6c 6f 22 20 6f 6e | "echo h|ello" on|
|00000300| 6c 79 20 64 69 73 70 6c | 61 79 73 20 74 68 65 20 |ly displ|ays the |
|00000310| 74 65 78 74 20 6c 6f 63 | 61 6c 6c 79 2e 20 54 68 |text loc|ally. Th|
|00000320| 69 73 20 6c 65 74 73 20 | 79 6f 75 20 65 78 70 65 |is lets |you expe|
|00000330| 72 69 6d 65 6e 74 0d 23 | 20 77 69 74 68 6f 75 74 |riment.#| without|
|00000340| 20 61 6e 6e 6f 79 69 6e | 67 20 6f 74 68 65 72 20 | annoyin|g other |
|00000350| 70 65 6f 70 6c 65 20 69 | 6e 20 74 68 65 20 63 68 |people i|n the ch|
|00000360| 61 6e 6e 65 6c 2e 20 0d | 0d 23 20 57 68 65 6e 20 |annel. .|.# When |
|00000370| 79 6f 75 20 61 72 65 20 | 72 65 61 64 79 2c 20 72 |you are |ready, r|
|00000380| 65 70 6c 61 63 65 20 74 | 68 65 20 22 65 63 68 6f |eplace t|he "echo|
|00000390| 22 20 77 69 74 68 20 22 | 73 61 79 22 20 74 6f 20 |" with "|say" to |
|000003a0| 72 65 61 6c 6c 79 20 73 | 65 6e 64 20 74 68 65 20 |really s|end the |
|000003b0| 74 65 78 74 20 74 6f 20 | 74 68 65 20 63 68 61 6e |text to |the chan|
|000003c0| 6e 65 6c 2e 0d 0d 61 6c | 69 61 73 20 72 65 70 65 |nel...al|ias repe|
|000003d0| 61 74 69 6e 67 6d 65 73 | 73 61 67 65 20 7b 0d 0d |atingmes|sage {..|
|000003e0| 09 69 66 20 28 5b 24 64 | 6f 5f 72 65 70 65 61 74 |.if ([$d|o_repeat|
|000003f0| 69 6e 67 6d 65 73 73 61 | 67 65 5f 66 6c 61 67 5d |ingmessa|ge_flag]|
|00000400| 20 3d 3d 20 5b 59 5d 29 | 20 7b 0d 09 09 65 63 68 | == [Y])| {...ech|
|00000410| 6f 20 68 65 6c 6c 6f 0d | 09 09 74 69 6d 65 72 20 |o hello.|..timer |
|00000420| 35 20 72 65 70 65 61 74 | 69 6e 67 6d 65 73 73 61 |5 repeat|ingmessa|
|00000430| 67 65 0d 09 7d 0d 7d 0d | 0d 23 20 54 68 65 73 65 |ge..}.}.|.# These|
|00000440| 20 61 6c 69 61 73 65 73 | 20 73 74 61 72 74 20 61 | aliases| start a|
|00000450| 6e 64 20 73 74 6f 70 20 | 74 68 65 20 72 65 70 65 |nd stop |the repe|
|00000460| 61 74 69 6e 67 20 6d 65 | 73 73 61 67 65 20 62 79 |ating me|ssage by|
|00000470| 20 73 65 74 74 69 6e 67 | 20 74 68 65 20 66 6c 61 | setting| the fla|
|00000480| 67 20 74 6f 20 59 20 6f | 72 20 4e 0d 23 20 54 68 |g to Y o|r N.# Th|
|00000490| 65 20 5e 20 69 6e 20 66 | 72 6f 6e 74 20 6f 66 20 |e ^ in f|ront of |
|000004a0| 74 68 65 20 61 73 73 69 | 67 6e 20 6d 61 6b 65 73 |the assi|gn makes|
|000004b0| 20 69 74 20 22 73 69 6c | 65 6e 74 22 0d 0d 61 6c | it "sil|ent"..al|
|000004c0| 69 61 73 20 53 74 61 72 | 74 52 65 70 65 61 74 69 |ias Star|tRepeati|
|000004d0| 6e 67 4d 65 73 73 61 67 | 65 20 7b 0d 09 5e 61 73 |ngMessag|e {..^as|
|000004e0| 73 69 67 6e 20 64 6f 5f | 72 65 70 65 61 74 69 6e |sign do_|repeatin|
|000004f0| 67 6d 65 73 73 61 67 65 | 5f 66 6c 61 67 20 59 0d |gmessage|_flag Y.|
|00000500| 09 72 65 70 65 61 74 69 | 6e 67 6d 65 73 73 61 67 |.repeati|ngmessag|
|00000510| 65 0d 7d 0d 0d 0d 61 6c | 69 61 73 20 53 74 6f 70 |e.}...al|ias Stop|
|00000520| 52 65 70 65 61 74 69 6e | 67 4d 65 73 73 61 67 65 |Repeatin|gMessage|
|00000530| 20 7b 0d 09 5e 61 73 73 | 69 67 6e 20 64 6f 5f 72 | {..^ass|ign do_r|
|00000540| 65 70 65 61 74 69 6e 67 | 6d 65 73 73 61 67 65 5f |epeating|message_|
|00000550| 66 6c 61 67 20 4e 0d 7d | 0d 00 00 00 00 00 00 00 |flag N.}|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000590| 69 63 73 38 00 01 07 5e | 69 63 73 23 00 01 07 76 |ics8...^|ics#...v|
|000005a0| 69 63 73 34 00 01 07 8e | 46 52 45 46 00 01 07 a6 |ics4....|FREF....|
|000005b0| 42 4e 44 4c 00 00 07 be | 47 4e 52 4c 00 01 07 ca |BNDL....|GNRL....|
|000005c0| 53 54 52 20 00 5d 07 e2 | 43 43 49 aa 00 00 0c 4a |STR .]..|CCI....J|
|000005d0| 6e 72 63 74 00 00 0c 56 | 73 79 73 7a 00 00 0c 62 |nrct...V|sysz...b|
|000005e0| 4d 49 4e 48 00 01 0c 6e | 44 46 4c 47 00 02 0c 86 |MINH...n|DFLG....|
|000005f0| 44 41 54 41 00 04 0c aa | 44 41 54 42 00 14 0c e6 |DATA....|DATB....|
|00000600| 44 41 54 43 00 01 0d e2 | 44 69 79 73 00 00 0d fa |DATC....|Diys....|
|00000610| 63 66 72 67 00 00 0e 06 | 76 65 72 73 00 01 0e 12 |cfrg....|vers....|
|00000620| 66 74 61 67 00 00 0e 2a | 00 09 00 00 30 00 00 00 |ftag...*|....0...|
|00000630| 00 00 00 00 00 0a 00 0d | 30 00 02 16 00 00 00 00 |........|0.......|
|00000640| 00 0b 00 1c 30 00 08 fc | 00 00 00 00 f0 00 00 2c |....0...|.......,|
|00000650| 30 00 0b 2a 00 00 00 00 | 07 09 00 34 30 00 f0 b4 |0..*....|...40...|
|00000660| 00 00 00 00 c5 20 00 44 | 40 01 24 52 00 00 00 00 |..... .D|@.$R....|
|00000670| 00 29 00 51 50 01 b5 6e | 00 00 00 00 00 20 00 61 |.).QP..n|..... .a|
|00000680| 00 00 00 04 00 01 00 00 | 00 00 00 48 00 09 4d 6f |........|...H..Mo|
|00000690| 6e 61 63 6f 00 4b a8 4c | 00 00 00 26 00 00 00 3a |naco.K.L|...&...:|
|000006a0| 2b c6 03 00 05 54 df d4 | 05 4a ff ce 05 4b 00 06 |+....T..|.J...K..|
|000006b0| 00 04 00 7b 01 61 03 47 | 04 f0 00 7b 01 61 03 47 |...{.a.G|...{.a.G|
|000006c0| 04 f0 b5 33 cb 1b 00 00 | 03 bc 00 00 03 bc 00 00 |...3....|........|
|000006d0| 00 00 01 00 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000006e0| 00 00 00 46 05 4b aa 1c | 45 0a 00 00 00 1c 00 46 |...F.K..|E......F|
|000006f0| 00 01 4d 57 42 42 00 00 | 00 12 4d 50 53 52 00 00 |..MWBB..|..MPSR..|
|00000700| 00 1e 03 f0 ff ff 00 00 | 00 00 00 00 00 00 03 ed |........|........|
|00000710| ff ff 00 00 00 08 05 4b | a8 bc 00 00 00 00 00 00 |.......K|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+