; 末末末末末末末末末末末末末末末末末末末末 ; NoNameScript v4.01 - setup - coded by greeny ; Don't edit anything in here unless you REALLY know what you're doing! ; 末末末末末末末末末末末末末末末末末末末末 dialog settings { title "settings" size -1 -1 510 360 option pixels icon script\pics\nntray.ico tab "script", 1000, -88 -100 1088 784 box "NoNameScript settings", 269, 140 4 364 318, tab 1000 icon 137, 156 24 330 246, script\pics\nnscript.jpg, 0, tab 1000 icon 824, 156 278 330 30, script\pics\xlhost.png, 0, tab 1000 tab "auth", 900 box "Q settings", 45, 140 80 364 96, tab 900 text "Nickname", 613, 150 24 46 14, tab 900 text "Password", 614, 150 46 50 14, tab 900 edit %q.auth.nick, 17, 290 20 206 22, tab 900 autohs limit 30 edit $decode(%pass.q), 18, 290 42 206 22, tab 900 pass autohs limit 60 check "&Auth automatically if connected to a QuakeNet Server", 15, 150 96 280 18, tab 900 check "&Hide hostmask (usermode +x, authnick.users.quakenet.org)", 825, 168 114 316 18, tab 900 check "O&nly when not connected to a bouncer", 127, 186 132 212 18, tab 900 check "A&uto-request op/voice from Q on deop/devoice", 615, 150 150 254 18, tab 900 box "Q data", 16, 140 4 364 70, tab 900 box "General information", 76, 140 182 364 96, tab 900 text "If you need help regarding the Q bot on QuakeNet, you can visit the QuakeNet Q FAQ website:", 46, 150 198 326 28, tab 900 link "http://www.quakenet.org/faq/faq.php?c=1", 47, 150 226 214 16, tab 900 text "A general QuakeNet FAQ is available here:", 48, 150 242 208 14, tab 900 link "http://www.quakenet.org/faq/faq.php?c=4", 49, 150 256 214 16, tab 900 tab "unetx", 987 box "X settings", 1543, 140 80 364 96, tab 987 text "Login", 1313, 150 24 28 14, tab 987 text "Password", 1314, 150 46 50 14, tab 987 edit %x.auth.nick, 1317, 290 20 206 22, tab 987 autohs limit 30 edit $decode(%pass.x), 1318, 290 42 206 22, tab 987 pass autohs limit 60 check "&Identify automatically if connected to an UnderNet server", 1315, 150 96 300 18, tab 987 check "&Hide hostmask (usermode +x, nick.users.undernet.org)", 826, 168 114 290 18, tab 987 check "O&nly when not connected to a bouncer", 126, 186 132 212 18, tab 987 check "A&uto-request op/voice from X on deop/devoice", 1551, 150 150 254 18, tab 987 box "X data", 31, 140 4 364 70, tab 987 box "General information", 1452, 140 182 364 96, tab 987 text "If you need help regarding the X bot on UnderNet, you can visit the UnderNet channel service website:", 13, 150 198 326 28, tab 987 link "http://cservice.undernet.org/", 50, 150 226 148 16, tab 987 text "The main UnderNet homepage can be reached at:", 51, 150 242 240 14, tab 987 link "http://www.undernet.org/", 52, 150 256 132 16, tab 987 tab "awlog", 1263 box "Away log", 84, 140 4 364 234, tab 1263 box "Away pager", 86, 140 244 364 42, tab 1263 check "Enable a&way log", 87, 150 20 104 18, tab 1263 check "Log channel &highlights", 351, 168 38 140 18, tab 1263 check "&Log channel kicks and topic changes in channels you're opped", 617, 168 56 318 18, tab 1263 text "Add your other away log triggers here:", 1513, 188 76 192 14, tab 1263 list 85, 186 92 152 134, tab 1263 sort size extsel vsbar button "&Add", 2001, 342 94 80 24, tab 1263 button "&Edit", 205, 342 126 80 24, tab 1263 button "&Remove", 2002, 342 158 80 24, tab 1263 button "&Clear", 156, 342 182 80 24, tab 1263 check "Enable awa&y pager (/ctcp page )", 130, 150 260 274 18, tab 1263 tab "awmsg", 1264 box "Away message settings", 619, 140 4 364 270, tab 1264 check "E&nable public away messages", 631, 150 20 164 18, tab 1264 radio "In &active channel only", 89, 168 38 128 18, tab 1264 radio "In all &channels", 93, 168 56 92 18, tab 1264 check "A&lso send away messages to query/queries", 635, 168 74 234 18, tab 1264 check "Don'&t message these channels[/queries]:", 630, 168 92 220 18, tab 1264 list 632, 186 110 152 134, tab 1264 sort size extsel vsbar button "&Add", 633, 342 112 80 24, tab 1264 button "&Edit", 208, 342 144 80 24, tab 1264 button "&Remove", 634, 342 176 80 24, tab 1264 button "&Clear", 157, 342 200 80 24, tab 1264 check "&Remind users of my away status when they highlight me", 636, 150 248 300 18, tab 1264 tab "awmisc", 1265 text "Network", 32, 150 24 44 14, tab 1265 box "Nicknames", 80, 140 4 364 92, tab 1265 text "Default nickname", 637, 150 46 130 14, tab 1265 text "Away nickname", 638, 150 68 78 14, tab 1265 combo 1579, 292 20 148 156, tab 1265 sort drop button "&+", 306, 442 20 26 20, tab 1265 button "&-", 135, 468 20 26 20, disable tab 1265 edit %nick.def, 81, 290 42 206 22, tab 1265 autohs limit 30 edit %nick.away, 83, 290 64 206 22, tab 1265 autohs limit 30 box "Miscellaneous", 88, 140 102 364 188, tab 1265 check "&Hide other users' away messages", 1234, 150 136 184 18, tab 1265 check "&Retain away status when reconnecting", 138, 150 154 210 18, tab 1265 check "Set back on keyboard &input", 1238, 150 172 154 18, tab 1265 check "&Set yourself away after idling for more than", 1235, 150 190 232 18, tab 1265 edit $calc(%auto.awaytime /60), 1236, 386 188 46 22, tab 1265 center text "minutes", 1237, 438 192 40 14, tab 1265 check "&Don't message channels on auto-away", 640, 168 208 210 18, tab 1265 check "&Warn before setting auto-away", 641, 168 226 176 18, tab 1265 text "When coming back, use:", 639, 170 248 122 14, tab 1265 radio "Defa&ult nick", 1432, 294 246 82 18, tab 1265 radio "Old &nick", 1433, 294 264 62 18, tab 1265 check "&Add local time to away reasons", 177, 150 118 182 18, tab 1265 tab "fkeys", 903 box "Bindings (doubleclick to change)", 19, 140 4 364 318, tab 903 list 79, 148 20 262 292, tab 903 size button "&Unset", 777, 414 22 80 24, disable tab 903 button "Unset &all", 20, 414 46 80 24, tab 903 button "&Reset default", 536, 414 78 80 24, tab 903 tab "m1", 1921 box "Query options", 1923, 140 4 364 120, tab 1921 check "Close que&ries after idling for more than", 1914, 150 22 210 14, tab 1921 edit $calc(%qcls.secs /60), 1915, 366 18 40 22, tab 1921 center check "Show statisti&cs in query windows", 2089, 150 38 180 14, tab 1921 check "Show the following channel e&vents in query windows too:", 73, 150 54 300 14, tab 1921 check "&Joins", 1924, 168 70 46 14, tab 1921 check "&Nicks", 1928, 258 70 46 14, tab 1921 check "&Parts", 1926, 346 70 46 14, tab 1921 check "&Kicks", 1927, 168 86 44 14, tab 1921 check "O&wn nicks", 1931, 258 86 70 14, tab 1921 check "&Quits", 1925, 346 86 46 14, tab 1921 check "&Show notification in active window when a query is opened", 178, 150 100 310 18, tab 1921 text "minutes", 533, 414 22 42 14, tab 1921 box "Nick completer", 563, 140 128 364 88, tab 1921 text "Triggers (multiple chars possible):", 42, 170 166 168 14, tab 1921 check "Enable nick co&mpleter (be sure to specify in the format)", 601, 150 146 322 14, tab 1921 edit %nick.comp.chr, 603, 348 162 148 22, tab 1921 autohs limit 20 text "Format:", 40, 170 190 40 14, tab 1921 edit %nickcomp.format, 41, 224 186 122 22, tab 1921 autohs limit 50 box "Window options", 220, 140 220 364 102, tab 1921 check "Show &highlights in active", 1385, 150 236 144 14, tab 1921 check "Show h&ighlights in own window", 1351, 150 252 170 14, tab 1921 check "Show I&AL updates in status window", 132, 150 268 194 14, tab 1921 check "Show ne&tsplits not in channel but in own window", 133, 150 284 258 14, tab 1921 check "Show notices in own win&dow", 143, 150 300 162 14, tab 1921 button "", 43, 350 186 146 20, disable tab 1921 tab "m2", 1993 box "Miscellaneous", 1994, 140 4 364 186, tab 1993 check "&Automatically save channel keys", 131, 150 22 182 14, tab 1993 check "C&heck for updates on startup", 155, 150 38 166 14, tab 1993 check "&Enable anti-idle, maximum idle time:", 2024, 150 54 194 14, tab 1993 edit %aidle.max, 2982, 348 50 42 22, tab 1993 center text "seconds", 2981, 396 54 44 14, tab 1993 check Enable kickco&unter display, 2025, 150 70 150 14, tab 1993 check "&Get addresses if there are less than", 239, 150 86 196 14, tab 1993 edit %maxwhousers, 279, 348 82 42 22, tab 1993 center text "users in the channel", 280, 396 86 98 16, tab 1993 check "Ge&t external IP on connect", 148, 150 102 154 14, tab 1993 check "&Show amount and nicknames of users affected by a ban", 1375, 150 118 294 14, tab 1993 check "Show D&CC info when a get/send is finished/cancelled", 34, 150 134 276 14, tab 1993 check "Sho&w splash screen at startup", 437, 150 150 166 14, tab 1993 check "Show ti&p of the day at startup", 1464, 150 166 168 14, tab 1993 box "Public message formatting", 300, 140 196 364 48, tab 1993 edit %sbr.format, 2901, 150 212 140 22, tab 1993 autohs limit 100 button "", 2902, 294 212 200 20, disable tab 1993 box "Mask settings", 298, 140 250 364 70, tab 1993 text "Ban mask", 1379, 150 270 52 14, tab 1993 text "Ignore mask", 1378, 150 294 68 14, tab 1993 combo 1376, 298 290 198 140, tab 1993 drop combo 1377, 298 266 198 140, tab 1993 drop tab "cprot", 910 box "Channel protections", 140, 140 4 364 64, tab 910 text "Select a channel", 111, 168 24 84 16, tab 910 combo 112, 300 20 140 156, tab 910 size drop button "&+", 113, 442 20 26 20, tab 910 button "&-", 114, 468 20 26 20, disable tab 910 check "&Use preset settings in all channels", 35, 150 42 188 18, tab 910 box "Protection settings", 36, 140 74 364 184, tab 910 list 115, 148 90 348 132, tab 910 size button "&Load default", 147, 150 226 80 24, tab 910 button "&Change", 117, 414 226 80 24, disable tab 910 box "General settings", 141, 140 264 364 58, tab 910 check "U&se preset settings in this channel", 144, 150 280 190 18, tab 910 text "Punish:", 37, 168 300 40 16, tab 910 check "O&ps/Help-ops", 145, 220 298 90 18, tab 910 check "&Voiced users", 146, 322 298 84 18, tab 910 tab "pprot", 911 box "Personal protections", 301, 140 4 364 236, tab 911 list 110, 148 20 348 184, tab 911 size button "&Load default", 118, 150 208 80 24, tab 911 button "&Change", 116, 414 208 80 24, disable tab 911 box "Miscellaneous settings", 1988, 140 246 364 42, tab 911 check "&Send NoNameScript VERSION reply", 60, 150 262 192 18, tab 911 tab "excludes", 1992 box "Protection excludes", 328, 140 4 364 318, tab 1992 list 332, 148 20 262 274, tab 1992 sort size extsel vsbar button "&Add", 329, 414 22 80 24, tab 1992 button "&Edit", 210, 414 54 80 24, tab 1992 button "&Remove", 330, 414 86 80 24, tab 1992 button "&Clear", 158, 414 110 80 24, tab 1992 check "A&lso exclude users who are on the mIRC protect list", 1990, 150 298 270 18, tab 1992 tab "servcon", 956 box "Favorite networks", 958, 140 4 364 158, tab 956 list 960, 150 40 130 112, tab 956 sort size button "4", 962, 286 70 32 24, disable tab 956 button "3", 963, 286 102 32 24, disable tab 956 list 961, 324 40 132 112, tab 956 size text "Available networks", 964, 150 22 130 14, tab 956 center text "Favorite networks", 965, 324 22 130 14, tab 956 center button "5", 971, 462 70 32 24, disable tab 956 button "6", 972, 462 102 32 24, disable tab 956 box "Network data", 71, 140 170 364 152, tab 956 text "Full Name", 91, 150 212 50 14, tab 956 text "Email Address", 75, 150 234 68 14, tab 956 text "Nickname", 72, 150 256 48 14, tab 956 text "Alternative", 74, 150 278 56 14, tab 956 text "Pref. server", 134, 150 190 64 14, tab 956 combo 136, 230 186 264 160, tab 956 sort size drop edit "", 92, 228 208 122 22, tab 956 autohs limit 50 edit "", 120, 228 230 122 22, tab 956 autohs limit 50 edit "", 121, 228 252 122 22, tab 956 autohs limit 30 edit "", 122, 228 274 122 22, tab 956 autohs limit 30 check "&Connect at startup", 123, 362 216 116 18, tab 956 check "&Disable perform/join", 125, 362 252 124 18, tab 956 check "&Show in toolbar popup", 124, 362 270 130 18, tab 956 text "Note: you may leave an editbox empty for its default value!", 128, 150 300 294 16, tab 956 check "&Use SSL", 324, 362 234 66 18, tab 956 tab "kickmsg", 982 button "", 2335, 150 292 344 20, disable tab 982 box "Kick messages", 2332, 140 4 364 266, tab 982 list 2333, 148 20 264 242, tab 982 sort size extsel vsbar button "&Add", 2336, 416 22 80 24, tab 982 button "&Edit", 163, 416 54 80 24, tab 982 button "&Remove", 2337, 416 86 80 24, tab 982 button "&Clear", 159, 416 110 80 24, tab 982 box "Preview", 2334, 140 276 364 46, tab 982 button "&Load default", 207, 416 236 80 24, tab 982 tab "quitmsg", 983 button "", 2325, 150 292 344 20, disable tab 983 box "Note", 2320, 140 4 364 62, tab 983 text "In order to use these random quit messages, you have to set your quit message in the mIRC options to '$quit.msg' (without quotes). To do so press ALT+O and go to IRC - Messages.", 2321, 150 18 346 40, tab 983 box "Quit messages", 2322, 140 72 364 198, tab 983 list 2323, 148 88 264 174, tab 983 sort size extsel vsbar button "&Add", 2326, 416 90 80 24, tab 983 button "&Edit", 165, 416 122 80 24, tab 983 button "&Remove", 2327, 416 154 80 24, tab 983 button "&Clear", 164, 416 178 80 24, tab 983 box "Preview", 2324, 140 276 364 46, tab 983 button "&Load default", 209, 416 236 80 24, tab 983 tab "titlebar", 984 box "Titlebar", 2360, 140 4 364 318, tab 984 check "&Refresh titlebar every", 169, 150 20 134 18, tab 984 edit %titlebar.cint, 172, 286 18 50 22, tab 984 limit 3 center text "second(s)", 173, 344 22 54 14, tab 984 text "Here you can enter a titlebar format. You can use the following identifiers in addition to all default mIRC $identifiers:", 2361, 150 42 310 28, tab 984 list 26, 148 72 348 216, tab 984 size edit "", 2380, 148 292 290 22, tab 984 autohs limit 300 button "&Apply", 68, 442 292 54 22, tab 984 tab "cnserv", 986 box "NickServ data", 513, 140 56 364 124, tab 986 text "Nickname", 523, 150 76 48 14, tab 986 text "Password", 524, 150 98 50 14, tab 986 combo 54, 292 20 148 144, tab 986 sort size drop button "&+", 311, 442 20 26 20, tab 986 button "&-", 335, 468 20 26 20, disable tab 986 edit "", 517, 290 72 206 22, tab 986 autohs limit 30 edit "", 518, 290 94 206 22, tab 986 pass autohs limit 60 radio "&Use '/nickserv identify '", 55, 150 118 198 18, tab 986 radio "U&se '/msg nickserv identify '", 56, 150 136 220 18, tab 986 check "Enable auto-&ghosting when nickname is in use", 69, 150 154 244 18, tab 986 box "ChanServ", 529, 140 186 364 136, tab 986 check "&Identify to these chans", 535, 150 202 134 18, tab 986 list 211, 290 200 136 114, tab 986 sort size extsel vsbar button "&Add", 593, 430 202 66 24, tab 986 button "&Edit", 212, 430 230 66 24, tab 986 button "&Remove", 534, 430 258 66 24, tab 986 button "&Clear", 166, 430 282 66 24, tab 986 box "Network", 33, 140 4 364 46, tab 986 text "Select a network", 288, 150 24 86 16, tab 986 tab "ticker", 1812 box "Newstickers", 1813, 140 4 364 216, tab 1812 check "&Enable newstickers", 2074, 150 20 116 18, tab 1812 text "More RSS feeds:", 278, 308 22 82 14, tab 1812 link "syndic8", 58, 392 22 38 16, tab 1812 text "or", 283, 432 22 12 14, tab 1812 link "feedroom", 284, 446 22 50 16, tab 1812 list 224, 166 38 330 146, tab 1812 size button "&Add", 225, 168 188 72 24, tab 1812 button "E&dit", 227, 248 188 72 24, tab 1812 button "&Remove", 226, 328 188 72 24, tab 1812 button "&Clear", 241, 400 188 72 24, tab 1812 box "Options", 1814, 140 226 364 96, tab 1812 text "Poll delay:", 1827, 170 244 52 14, tab 1812 edit %nwstick.mins, 1828, 224 240 40 22, tab 1812 center text "minutes (10 or more recommended)", 1829, 270 244 176 14, tab 1812 check "&Show news in seperate window", 1830, 150 262 176 18, tab 1812 check "&Use separate window for each newsticker", 57, 170 280 226 18, tab 1812 check "S&how error messages", 70, 150 298 128 18, tab 1812 tab "slaps", 139 box "Slaps", 654, 140 4 364 266, tab 139 list 653, 148 20 264 242, tab 139 sort size extsel vsbar button "&Add", 656, 416 22 80 24, tab 139 button "&Edit", 204, 416 54 80 24, tab 139 button "&Remove", 655, 416 86 80 24, tab 139 button "&Clear", 203, 416 110 80 24, tab 139 button "&Load default", 213, 416 236 80 24, tab 139 button "", 658, 150 292 344 20, disable tab 139 box "Preview", 657, 140 276 364 46, tab 139 tab "blnset", 247 box "General settings", 930, 140 4 364 170, tab 247 check "Enable balloon ti&ps", 931, 150 20 114 18, tab 247 text "Display time (0 for infinite)", 228, 168 44 132 16, tab 247 edit %balloon.delay, 229, 318 40 116 22, tab 247 limit 3 center text "seconds", 261, 440 44 44 16, tab 247 text "Balloon tip width", 235, 168 66 84 16, tab 247 edit %balloon.width, 236, 318 62 116 22, tab 247 limit 4 center check "&Enable transparency:", 244, 168 86 122 18, tab 247 edit "", 245, 318 84 116 22, tab 247 limit 3 center text "%", 246, 440 88 14 16, tab 247 check "&Fade balloon tips", 243, 168 102 106 18, tab 247 check "Only show if &mIRC is not the active window", 932, 168 118 234 18, tab 247 check "Only show if &you are not away", 142, 168 134 172 18, tab 247 check "Beep &whenever a balloon tip appears", 320, 168 150 204 18, tab 247 box "Position", 362, 140 176 364 82, tab 247 text "Show balloons at", 313, 170 194 86 14, tab 247 radio "&top left", 314, 274 192 58 18, tab 247 left radio "top &right", 316, 336 192 68 18, tab 247 radio "&bottom left", 315, 258 210 74 18, tab 247 left radio "bottom ri&ght", 317, 336 210 84 18, tab 247 check "&Add a custom offset", 3, 170 232 124 18, tab 247 text "X:", 4, 300 234 12 16, tab 247 edit %bln.xoffset, 5, 318 230 52 22, tab 247 limit 5 center text "Y:", 6, 378 234 12 16, tab 247 edit %bln.yoffset, 129, 396 230 52 22, tab 247 limit 5 center text "pixels", 262, 440 66 32 16, tab 247 box "Colors", 361, 140 260 364 62, tab 247 text "Back", 232, 170 276 30 16, tab 247 edit "", 234, 368 292 60 22, disable tab 247 button "&...", 289, 230 292 28 22, tab 247 text "Border", 230, 270 276 38 16, tab 247 edit "", 233, 168 292 60 22, disable tab 247 button "&...", 291, 330 292 28 22, tab 247 text "Text", 231, 370 276 28 16, tab 247 edit "", 249, 268 292 60 22, disable tab 247 button "&...", 290, 430 292 28 22, tab 247 button "Preview", 238, 338 330 80 24, tab 247 tab "blnev", 248 box "Show balloon tips for the following events", 154, 140 4 364 304, tab 248 button "&All", 254, 414 22 80 24, tab 248 button "&None", 255, 414 46 80 24, tab 248 check "Channel protection", 242, 150 20 120 16, tab 248 check "Connecting to a server", 380, 150 36 138 16, tab 248 check "CTCP requests/replies", 379, 150 52 134 16, tab 248 check "DCC sends/gets/chats", 378, 150 68 136 16, tab 248 check "Disconnecting from a server", 377, 150 84 162 16, tab 248 check "Highlights", 376, 150 100 72 16, tab 248 check "Invites", 375, 150 116 60 16, tab 248 check "Kicks/bans", 373, 150 132 76 16, tab 248 check "Netsplits", 374, 150 148 68 16, tab 248 check "New mails", 372, 150 164 72 16, tab 248 check "Newstickers", 371, 150 180 84 16, tab 248 check "Notices", 370, 150 196 60 16, tab 248 check "Notifies", 368, 150 212 62 16, tab 248 check "Personal protections", 369, 150 228 124 16, tab 248 check "Queries", 367, 150 244 62 16, tab 248 check "Custom text triggers (comma separated list):", 285, 150 260 248 16, tab 248 edit "", 323, 168 276 328 22, tab 248 tab "tbedit", 263 box "Customize your toolbar", 265, 140 4 364 318, tab 263 list 266, 148 20 262 294, tab 263 size button "&Add item", 268, 414 22 80 24, tab 263 button "Add &separator", 277, 414 46 80 24, tab 263 button "&Edit", 274, 414 78 80 24, tab 263 button "&Remove", 275, 414 110 80 24, tab 263 button "&Clear", 276, 414 134 80 24, tab 263 button "5", 281, 414 196 80 24, tab 263 button "6", 282, 414 220 80 24, tab 263 button "&Presets...", 267, 414 288 80 24, tab 263 tab "tbsettings", 264 box "General toolbar options", 2308, 140 4 364 100, tab 264 check "&Enable custom toolbar", 2309, 150 20 130 18, tab 264 check "E&nable lag and network info display", 1354, 168 38 194 18, tab 264 text "Lag update delay", 1535, 188 60 90 14, tab 264 edit %lag.chk.delay, 77, 348 56 50 22, tab 264 center text "seconds", 78, 404 60 44 14, tab 264 check "En&able visual lagbar", 44, 186 78 120 18, tab 264 box "Visual lagbar options", 250, 140 110 364 70, tab 264 text "Style", 334, 150 130 30 16, tab 264 combo 222, 348 126 146 160, tab 264 size drop text "Peak of graph", 223, 150 152 74 16, tab 264 edit %lag.chk.len, 1340, 348 148 54 22, tab 264 center text "milliseconds", 1341, 406 152 62 14, tab 264 box "Visual lagbar colors", 333, 140 186 364 120, tab 264 radio "&Theme colors", 286, 148 202 106 18, tab 264 radio "Green/yellow/red (lag &specific)", 287, 148 220 172 18, tab 264 radio "&Custom colors", 251, 148 238 92 18, tab 264 button "&...", 270, 228 274 28 22, tab 264 button "&...", 253, 328 274 28 22, tab 264 button "&...", 252, 428 274 28 22, tab 264 edit "", 271, 166 274 60 22, disable tab 264 edit "", 272, 266 274 60 22, disable tab 264 text "Low", 293, 268 258 26 16, tab 264 text "High", 294, 368 258 28 16, tab 264 edit "", 273, 366 274 60 22, disable tab 264 text "Back", 292, 168 258 30 16, tab 264 tab "mail", 237 check "&Enable e-mail checker", 39, 150 20 130 18, tab 237 check "&Beep when you receive a new e-mail", 2311, 168 38 198 18, tab 237 check "E&cho information when you receive a new e-mail", 67, 168 56 256 18, tab 237 check "&Replace network display in toolbar with e-mail checker", 2010, 168 74 284 18, tab 237 text "Check delay:", 2303, 186 96 64 14, tab 237 edit $calc(%mail.delay /60), 2307, 306 92 50 22, tab 237 autohs limit 3 center box "General settings", 2312, 140 4 364 116, tab 237 text "minutes", 59, 362 96 44 16, tab 237 text "Username", 2301, 150 212 52 14, tab 237 text "Password", 61, 150 234 50 14, tab 237 combo 29, 288 142 150 118, tab 237 sort size drop button "&+", 53, 442 142 26 20, tab 237 button "&-", 30, 468 142 26 20, tab 237 radio "&POP3", 65, 288 166 50 18, tab 237 radio "&IMAP", 66, 350 166 50 18, tab 237 edit , 2304, 288 186 151 22, tab 237 autohs limit 100 edit , 2305, 288 208 208 22, tab 237 autohs limit 100 edit , 2306, 288 230 208 22, tab 237 pass autohs limit 60 box "Account data", 27, 140 126 364 134, tab 237 text "Mail account", 28, 150 146 64 14, tab 237 text "Server[:port]", 63, 150 190 68 14, tab 237 text "Type", 64, 150 168 28 14, tab 237 check "SSL", 62, 442 188 44 18, tab 237 tab "gsurge", 90 box "AuthServ data", 94, 140 4 364 70, tab 90 text "Nickname", 95, 150 24 46 14, tab 90 edit %gs.auth.nick, 96, 290 20 206 22, tab 90 autohs limit 30 edit $decode(%pass.gs), 97, 290 42 206 22, tab 90 pass autohs limit 60 text "Password", 98, 150 46 50 14, tab 90 box "AuthServ settings", 99, 140 80 364 114, tab 90 check "&Auth automatically if connected to a GameSurge server", 100, 150 96 290 18, tab 90 check "&Hide hostmask (usermode +x, authnick.user.gamesurge)", 101, 168 114 298 18, tab 90 check "O&nly when not connected to a bouncer", 102, 186 132 212 18, tab 90 check "A&uto-request op/voice from ChanServ on deop/devoice", 103, 150 150 290 18, tab 90 check "&Enable auto-ghosting when nickname is in use", 109, 150 168 244 18, tab 90 box "General information", 104, 140 202 364 96, tab 90 text "If you need help regarding the GameSurge IRC network or any of its services, try to visit the official GameSurge homepage:", 105, 150 218 338 28, tab 90 link "http://www.gamesurge.net/", 106, 150 246 142 16, tab 90 text "A general GameSurge FAQ is available here:", 107, 150 262 216 14, tab 90 link "http://www.gamesurge.net/faq/", 108, 150 276 162 16, tab 90 tab "cfltr", 149 box "Content filter", 152, 140 4 364 318, tab 149 list 150, 148 78 262 234, tab 149 sort size extsel vsbar button "&Add", 162, 414 80 80 24, tab 149 button "&Edit", 161, 414 112 80 24, tab 149 button "&Remove", 160, 414 144 80 24, tab 149 button "&Clear", 153, 414 168 80 24, tab 149 check "C&hannel messages", 167, 170 38 116 18, tab 149 check "&Query messages", 151, 170 56 106 18, tab 149 text "Filter content from:", 168, 150 22 98 16, tab 149 tab "Tab 29", 1001 text "", 190, 178 116 288 50, tab 1001 center text "Please choose a subcategory", 171, 178 166 288 36, tab 1001 center tab "swbar", 119 box "Switchbar options", 180, 140 4 364 152, tab 119 check "&Enable custom treeview switchbar", 179, 150 20 190 18, tab 119 check "E&nable icons", 198, 168 40 82 18, tab 119 combo 185, 290 38 172 160, tab 119 size drop button "&...", 184, 464 37 28 22, tab 119 button "&Preset...", 318, 412 61 80 24, tab 119 check "Use &theme font", 196, 168 58 98 18, tab 119 check "Use '&modern' style", 197, 168 76 112 18, tab 119 check "Bold entr&ies", 174, 168 94 80 18, tab 119 check "&When highlighted", 188, 186 112 110 18, tab 119 check "When me&ssaged", 256, 186 130 104 18, tab 119 box "Colors", 359, 140 162 364 123, tab 119 radio "&Theme colors", 360, 148 178 92 18, group tab 119 radio "&Default windows colors", 201, 148 196 138 18, tab 119 radio "&Custom colors", 182, 148 214 96 18, tab 119 check "&Back", 319, 168 234 46 18, tab 119 edit "", 192, 364 252 60 22, disable tab 119 button "&...", 200, 228 252 28 22, tab 119 edit "", 195, 266 252 60 22, disable tab 119 button "&...", 194, 328 252 28 22, tab 119 edit "", 199, 166 252 60 22, disable tab 119 button "&...", 193, 426 252 28 22, tab 119 text "Text", 202, 268 236 26 16, tab 119 text "Lines", 221, 366 236 28 16, tab 119 button "", 321, 387 62 22 22, tab 119 tab "themes", 308 box "Theme setup", 309, 140 4 364 318, tab 308 text "For your convenience, the theme setup is located in a seperate dialog. Click the button below to open the theme setup!", 310, 208 118 232 40, tab 308 center button "&Theme setup", 312, 272 164 100 28, tab 308 tab "pasting", 82 box "Pasting delay", 2, 140 4 364 148, tab 82 radio "Don't &allow multiline pastes", 8, 150 20 150 18, tab 82 radio "Delay &multiline pastes for", 10, 150 40 144 18, tab 82 edit %pastedelay.ms, 11, 300 38 42 22, disable tab 82 limit 4 center check "&If there are more than", 14, 168 62 128 18, disable tab 82 edit %pasteminlinedelay.num, 21, 300 60 42 22, disable tab 82 limit 4 center edit %pasteminlinedelay.bytes, 23, 300 82 42 22, disable tab 82 limit 5 center check "No&tify when pasting is delayed", 25, 168 106 170 18, disable tab 82 radio "Do&n't delay pastes at all", 9, 150 126 136 18, tab 82 box "Other options", 240, 140 158 364 98, tab 82 check "&Break up lines after more than", 214, 150 174 168 18, tab 82 edit %paste.breaklines.bytes, 216, 320 172 50 22, tab 82 limit 3 center check "&Strip codes from pastes", 218, 150 192 138 18, tab 82 check "Onl&y when channel mode +c is set", 219, 168 210 188 18, tab 82 check "&Paste single line to editbox", 215, 150 228 152 20, tab 82 text "bytes", 217, 376 176 32 16, tab 82 text "lines or", 22, 348 64 36 14, disable tab 82 text "bytes in CB", 24, 348 86 54 14, disable tab 82 text "ms per line", 12, 348 42 54 14, tab 82 tab "Tab 33", 326 box "Games", 327, 140 4 364 50, tab 326 combo 331, 150 22 292 182, tab 326 sort size drop button "&+", 336, 446 22 24 20, tab 326 button "&-", 337, 470 22 24 20, tab 326 box "Options", 338, 140 60 364 262, tab 326 text "Game title", 342, 150 80 54 16, tab 326 edit "", 343, 242 76 254 22, tab 326 text "File path", 339, 150 104 46 16, tab 326 edit "", 344, 242 100 220 22, tab 326 autohs limit 500 button "&...", 353, 464 100 30 22, tab 326 text "Command line", 340, 150 128 72 16, tab 326 edit "", 345, 242 124 220 22, tab 326 autohs limit 500 button "&...", 354, 464 124 30 22, tab 326 check "&Set away when playing:", 355, 150 150 138 18, tab 326 text "Nick", 341, 290 152 30 16, tab 326 edit "", 346, 342 148 154 22, tab 326 autohs limit 30 text "Message", 356, 290 176 48 16, tab 326 edit "", 357, 342 172 154 22, tab 326 autohs limit 30 text "Favorite servers", 347, 150 200 86 16, tab 326 list 348, 242 196 168 118, tab 326 sort size extsel vsbar button "&Add", 349, 414 198 80 24, tab 326 button "&Edit", 358, 414 230 80 24, tab 326 button "&Remove", 350, 414 262 80 24, tab 326 button "&Clear", 352, 414 286 80 24, tab 326 list 1, 4 6 132 318, size button "&Ok", 7, 424 330 80 24, ok } on *:dialog:settings:*:*:{ if ($devent == init) { mdx SetControlMDX $dname 224 ListView report noheader showsel checkboxes sortascending labeltip rowselect > script\dlls\views.mdx mdx SetControlMDX $dname 79 ListView report nosortheader showsel single rowselect editlabels > script\dlls\views.mdx mdx SetControlMDX $dname 266 ListView report nosortheader showsel infotip rowselect multiselect > script\dlls\views.mdx mdx SetControlMDX $dname 26 ListView report showsel single rowselect infotip > script\dlls\views.mdx mdx SetControlMDX $dname 1 TreeView hasbuttons haslines showsel nohscroll > script\dlls\views.mdx mdx SetControlMDX $dname 110,115 ListView report rowselect showsel single checkboxes infotip > script\dlls\views.mdx var %y = $var(%mailacc.*,0) if (!%y) { did -b $dname 2304,2305,2306,2301,61,63,64,65,66,30,62 } elseif (!$sslready) { did -b $dname 62 } while (%y) { did -a $dname 29 $gettok($var(%mailacc.*,%y),2-,46) dec %y } didtok $dname 185 44 Channel branches,Channel windows,Channel windows (event),Channel windows (highlighted),Channel windows (messaged),DCC branch,DCC chat branch,DCC chats,DCC chats (event),DCC chats (highlighted),DCC chats (messaged),DCC get branch,DCC gets,DCC send branch,DCC sends,Newstickers branch,Newstickers,Newstickers (new),Query branches,Query windows,Query windows (event),Query windows (highlighted),Query windows (messaged),Status Windows,Status Windows (event),@Window branch,@Windows,@Windows (event),@Windows (highlighted),@Windows (messaged) did -c $dname 29,185 1 settings.drawicon 321 %tview.icon.Channel_branches mail.setload mdx SetFont $dname 962,963,971,972,281,282 24 300 Webdings mdx SetFont $dname 171 20 700 Tahoma mdx SetFont $dname 190 40 700 Tahoma did -i $dname 266 1 headerdims 110:1 120:2 did -i $dname 266 1 headertext + 0 Name + 0 Command tbedit.reflist if ($did(266).lines == 1) { did -b $dname 276 } did -i $dname 79 1 headerdims 115:1 115:2 did -i $dname 110 1 headerdims 100:1 40:2 40:3 150:4 did -i $dname 110 1 headertext + 0 Protection +c 0 Times +c 0 Seconds + 0 Action(s) did -i $dname 79 1 headertext + 0 Command +r 0 Key/Action did -i $dname 224 1 headerdims 130:1 170:2 did -i $dname 26 1 headerdims 80:1 240:2 did -i $dname 26 1 headertext +r 0 Identifier + 0 Description loadidents $dname 26 if (c isin %nntray) { did -c $dname 242 } if (o isin %nntray) { did -c $dname 380 } if (t isin %nntray) { did -c $dname 379 } if (d isin %nntray) { did -c $dname 378 } if (i isin %nntray) { did -c $dname 377 } if (w isin %nntray) { did -c $dname 376 } if (v isin %nntray) { did -c $dname 375 } if (k isin %nntray) { did -c $dname 373 } if (m isin %nntray) { did -c $dname 372 } if (s isin %nntray) { did -c $dname 374 } if (e isin %nntray) { did -c $dname 371 } if (n isin %nntray) { did -c $dname 370 } if (f isin %nntray) { did -c $dname 368 } if (p isin %nntray) { did -c $dname 369 } if (q isin %nntray) { did -c $dname 367 } if (u isin %nntray) { did -c $dname 285 } else { did -b $dname 323 } if (%balloon.ctrig) { did -a $dname 323 $mkregex($v1).re } did -i $dname 224,266 1 settxt bgcolor none did -i $dname 1 1 cb root did -a $dname 1 +fseb 1 1 0 0 0 Settings did -i $dname 1 1 cb last did -a $dname 1 + 1 1 0 0 0 Auth settings did -i $dname 1 1 cb last did -a $dname 1 + 1 1 0 0 0 C/NServ did -a $dname 1 + 1 1 0 0 0 GameSurge did -a $dname 1 + 1 1 0 0 0 QuakeNet did -a $dname 1 + 1 1 0 0 0 UnderNet did -i $dname 1 1 cb up did -a $dname 1 + 1 1 0 0 0 Awaysystem did -i $dname 1 1 cb last did -a $dname 1 + 1 1 0 0 0 Log/Pager did -a $dname 1 + 1 1 0 0 0 Messages did -a $dname 1 + 1 1 0 0 0 Misc. did -i $dname 1 1 cb up did -a $dname 1 + 1 1 0 0 0 Balloon tips did -i $dname 1 1 cb last did -a $dname 1 + 1 1 0 0 0 Settings did -a $dname 1 + 1 1 0 0 0 Events did -i $dname 1 1 cb up did -a $dname 1 + 1 1 0 0 0 Bindings did -a $dname 1 + 1 1 0 0 0 Content filter did -a $dname 1 + 1 1 0 0 0 Favorite nets did -a $dname 1 + 1 1 0 0 0 Games did -a $dname 1 + 1 1 0 0 0 Lag/Toolbar did -i $dname 1 1 cb last did -a $dname 1 + 1 1 0 0 0 General did -a $dname 1 + 1 1 0 0 0 Customize did -i $dname 1 1 cb up did -a $dname 1 + 1 1 0 0 0 Mail-check did -a $dname 1 + 1 1 0 0 0 Messages did -i $dname 1 1 cb last did -a $dname 1 + 1 1 0 0 0 Kicks did -a $dname 1 + 1 1 0 0 0 Quits did -a $dname 1 + 1 1 0 0 0 Slaps did -i $dname 1 1 cb up did -a $dname 1 + 1 1 0 0 0 Miscellaneous did -i $dname 1 1 cb last did -a $dname 1 + 1 1 0 0 0 Part I did -a $dname 1 + 1 1 0 0 0 Part II did -i $dname 1 1 cb up did -a $dname 1 + 1 1 0 0 0 Newstickers did -a $dname 1 + 1 1 0 0 0 Pasting options did -a $dname 1 + 1 1 0 0 0 Protections did -i $dname 1 1 cb last did -a $dname 1 + 1 1 0 0 0 Channel did -a $dname 1 + 1 1 0 0 0 Personal did -a $dname 1 + 1 1 0 0 0 Excludes did -i $dname 1 1 cb up did -a $dname 1 + 1 1 0 0 0 Switchbar did -a $dname 1 + 1 1 0 0 0 Themes did -a $dname 1 + 1 1 0 0 0 Titlebar did -ac $dname 112 Preset didtok $dname 112 44 %cprot.channels did -i $dname 115 1 headerdims 110:1 40:2 40:3 120:4 did -i $dname 115 1 headertext + 0 Protection +c 0 Times +c 0 Seconds + 0 Action(s) did -i $dname 115 1 settxt bgcolor none cprot.setload did -f $dname 1 did -ca $dname 1579 > All other networks var %& = 0,%i = 1,%; = 6,%n = $hget(rss,0).item,%c = $hget(pexclude,0).item,%nn,%xs = $var(%nsset.*,0),%tgd = $var(%game.*.added,0) while (%& < 10) { did -a $dname 1377,1376 $+([,%&,]) $mask(nick!ident@some.host.com,%&) inc %& } if (!%n) { did -b $dname 241 } while (%n) { did -a $dname 224 1 + 0 0 $iif($wd($hget(rss,%n).data,1),2,1) $wd($hget(rss,%n).data,2-) $+ 0 0 0 $hget(rss,%n).item dec %n } while (%tgd) { did -a $dname 331 $decode($gettok($var(%game.*.added,%tgd),2,46),m) dec %tgd } if ($did(331).lines) { did -c $dname 331 1 } else { did -b $dname 337 } games.loadsettings did -c $dname 1377 $calc(%ban.mask +1) did -c $dname 1376 $calc(%ignore.mask +1) while (%;) { if ($mid(jqpkn,%;,1) isin %qrytypes) { did -c $dname $calc(%; +1923) } dec %; } if (o isin %qrytypes) { did -c $dname 1931 } if (!%c) { did -b $dname 158 } while (%c) { did -a $dname 332 $hget(pexclude,%c).item dec %c } fkey.ref if (!$osgen) { unset %balloon.transp.en unset %balloon.fade set %balloon.transp 255 did -b $dname 243,244,245,246 } var %vc,%vg = 1,%vi = cprot.presetonly bln.beep getexternalip tview.icons tview.bold contentfilter.chans $& contentfilter.queries chanpasses.save dcc.sinfo gs.autoghost gs.autorecmode gs.hosthide.nbnc mail.echo notice.sepwin balloon.fade balloon.naw $& nwstick.serror awretain ssplash splitwin showialupd x.hosthide.nbnc q.hosthide.nbnc news.sepwinall sendversion chanserv.id x.autorecmode away.hllog $& hlown pastenotify pasteminlinedelay showhla away.ad.queries away.auto.nomsg away.auto.warn away.ipback away.log.events away.msghide away.remind $& excl.prot kickcounter mail.beep news.awin nntray.act q.autorecmode querystats strictadprot totd bndsp paste.stripcodes.mode paste.singleeditbox $& tview.modern tview.thmfont tview.bldhl tview.bldmsg checkver.startup away.atime query.notify var %vn = 35 320 148 198 174 167 151 131 34 109 103 102 67 143 243 142 70 138 437 133 132 126 127 57 60 535 1551 351 1351 25 14 1385 635 640 $& 641 1238 617 1234 636 1990 2025 2311 1830 932 615 2089 545 1464 1375 219 215 197 196 188 256 155 177 178 while ($wd(%vi,%vg)) { if (% [ $+ [ $v1 ] ]) { did -c $dname $wd(%vn,%vg) } inc %vg } while (%xs) { did -a $dname 54 $mid($var(%nsset.*,%xs),8) dec %xs } if ($did(54).lines) { did -c $dname 54 1 did -e $dname 335 } if (%tview.nobg) { did -b $dname 199,200 } else { did -c $dname 319 } if (%tview.colors == 1) { did -c $dname 360 } elseif (%tview.colors == 2) { did -c $dname 201 } if (%tview.colors == 3) { did -c $dname 182 if ($group(#tview) == on) { if (!%tview.nobg) { chgedcol $dname 199 %tview.color.back } chgedcol $dname 195 %tview.color.text chgedcol $dname 192 %tview.color.lines } } else { did -b $dname 202,221,193,194,200,319 } if ($group(#tview) == on) { did -c $dname 179 if (!%tview.icons) { did -b $dname 184,185 } if (!%tview.bold) { did -b $dname 188,256 } } else { did -b $dname 174,182,185,184,188,196,197,198,256,193,194,200,202,221,318,319,359,360,201 } pprot.setload sns.load if (%ialupdate) { did -c $dname 239 } else { did -b $dname 279 } if (%balloon.transp.en) { did -c $dname 244 } else { did -b $dname 245,246 } did -ra $dname 245 $int($calc(100- %balloon.transp /2.55)) if (%paste.nodelay) { did -c $dname 9 } elseif (%nopaste) { did -c $dname 8 } elseif (%pastedelay) { did -c $dname 10 did -e $dname 11,14,25,22,24 if (%pasteminlinedelay) { did -e $dname 21,23 } } if (%titlebar.cref) { did -c $dname 169 } else { did -b $dname 172 } if (%paste.breaklines) { did -c $dname 214 } else { did -b $dname 216 } if (%paste.stripcodes) { did -c $dname 218 } else { did -b $dname 219 } if (%q.hosthide) { did -c $dname 825 } else { did -b $dname 127 } if (%x.hosthide) { did -c $dname 826 } else { did -b $dname 126 } if (%gs.hosthide) { did -c $dname 101 } else { did -b $dname 102 } if (%q.auth.auto) { did -c $dname 15 if (!%q.hosthide) { did -b $dname 127 } } else { did -b $dname 825,127 } if (%x.auth.auto) { did -c $dname 1315 if (!%x.hosthide) { did -b $dname 126 } } else { did -b $dname 826,126 } if (%gs.auth.auto) { did -c $dname 100 if (!%gs.hosthide) { did -b $dname 102 } } else { did -b $dname 101,102 } if (!%news.awin) { did -b $dname 57 } if (%qcls.auto) { did -c $dname 1914 } else { did -b $dname 1915 } if (%lb.bar) { did -c $dname 1354 } else { did -b $dname 2010,1340,1341,76,77,78,1535,44,286,287,222,223,288,251,270,253,252,292,293,294,333,250,334 } if (%email.bar) { did -c $dname 2010 } if (%email.checker) { did -c $dname 39 } else { did -b $dname 2311,67,2010,2303,2307,59,27,28,29,30,53,65,66,2304,2305,2306,63,64,61,2301,62 } if (%rssticker) { did -c $dname 2074 } else { did -b $dname 57,1828,1830,1827,1829,224,225,226,227,1814,241,70 } if (%anti.idle) { did -c $dname 2024 } else { did -b $dname 2982 } if (%nick.comp) { did -c $dname 601 } else { did -b $dname 42,40,41,603 } if (%qryevent) { did -c $dname 73 } else { did -b $dname 1924,1925,1926,1927,1928,1931 } if (%balloons.enabled) { did -c $dname 931 chgedcol $dname 234 %balloon.txtrgb chgedcol $dname 233 %balloon.bgrgb chgedcol $dname 249 %balloon.brdrgb if (!%bln.offset) { did -b $dname 4,5,6,129 } } else { did -b $dname 323,242,380,379,378,377,376,375,373,372,374,371,370,368,369,367,285,320,261,262,932,142,228,229,230,232,233,289,291,290,231,234,235,236,238,254,255,244,243,249,245,246,313,314,315,316,317,3,4,5,6,129,362,361 } if (%bln.offset) { did -c $dname 3 } if (%lb.enabled) { did -c $dname 2309 } else { did -b $dname 2010,288,287,286,223,44,222,1354,1340,1341,76,77,78,1535,251,292,293,294,270,253,252,292,293,294,333,250,334,266,268,277,274,275,276,281,282,267 } if (%contentfilter) { didtok $dname 150 44 $mkregex($v1).re } var %cfr = $var(%contentfilter.regex.*,0) while (%cfr) { var %cfrt = [ [ $var(%contentfilter.regex.*,%cfr) ] ] did -a $dname 150 $+(%cfrt (Regular expression),$str($chr(160),200),$cr,%cfr,$cr,%cfrt) dec %cfr } if (!$did(150).lines) { did -b $dname 153 } if (!%contentfilter.queries) && (!%contentfilter.chans) { did -b $dname 150,162,161,160,153 } did -a $dname 2380 %titlebar.edit prevbmp $dname 43 146 own 2 $replace(%nickcomp.format,,$randnick) sample text if ($isfile(script\txt\quitmsg.txt)) { loadbuf -o $dname 2323 script\txt\quitmsg.txt } if (!$did(2323).lines) { did -b $dname 164 } if ($isfile(script\txt\kickmsg.txt)) { loadbuf -o $dname 2333 script\txt\kickmsg.txt } if (!$did(2333).lines) { did -b $dname 159 } loadslaps if (!$did(653).lines) { did -b $dname 203 } prevbmp $dname 2325 344 quit 2 prevbmp $dname 2335 344 kick 2 prevbmp $dname 658 344 action 2 prevbmp $dname 2902 200 own 2 $replace($did(settings,2901),,OS) Windows $os did -r $dname 960,961 didtok $dname 961 32 %autoconservs did -b $dname 324,163,2337,165,2327,204,655,92,120,121,122,123,124,125,91,75,72,74,71,134,136,128,210,330,226,227,274,275,281,282,160,161 if ($ini($serversini,servers,0)) { window -h @loadnets _hmake servtmp loadbuf -tservers @loadnets $serversini var %i = $line(@loadnets,0) while (%i) { if ($regex(loadnet,$line(@loadnets,%i),/^n\d+=.+SERVER:.+GROUP:(.+)/i)) && ($regml(loadnet,1) !isnum) && (!$hget(servtmp,$v1)) { did -a $dname 960 $regml(loadnet,1) hadd servtmp $regml(loadnet,1) 1 } dec %i } hfree servtmp close -@ @loadnets } var %i = $numtok(%autoconservs,32) while (%i) { if ($didwm(settings,960,$wd(%autoconservs,%i))) { did -d settings 960 $v1 } dec %i } didtok $dname 222 44 Binary,Graph,Horizontal bars,Noise,Pictogram,Progressbar,Radial,Spectrogram,Spectrogram (broad),Text,Wave,Wave (mirrored) did -c $dname 222 %lagbar.style if (%tb.vlag) { did -c $dname 44 if (%tb.lagcol == 2) { if (%lb.enabled) && (%lb.bar) { chgedcol $dname 271 %tb.lagcol.bg.sel chgedcol $dname 272 %tb.lagcol.gr.sel chgedcol $dname 273 %tb.lagcol.grh.sel } } else { did -b $dname 270,253,252,292,293,294 } } else { did -b $dname 222,223,1340,1341,288,287,286,250,333,251,334,270,253,252,292,293,294 } did -c $dname $iif(%tb.lagcol == 2,251,$iif(%tb.lagcol == 1,286,287)) didtok $dname 85 44 $mkregex(%away.log.trigger).re didtok $dname 632 44 %away.ad.excl var %na = $var(%nick.away.*,0),%nd = $var(%nick.def.*,0) while (%na) { did -a $dname 1579 $mid($var(%nick.away.*,%na),12) dec %na } while (%nd) { %nn = $mid($var(%nick.def.*,%nd),11) if (!$didwm(1579,%nn)) { did -a $dname 1579 %nn } dec %nd } if (%away.ignorechans) { did -c $dname 630 did -b $dname 634,208 if (!$did(632).lines) { did -b $dname 157 } } else { did -b $dname 632,633,634,157,208 } if (%tview.icons) { did -c $dname 198 } else { did -b $dname 184,185,318 } if (%away.nomsg) { did -b $dname 89,93,630,632,633,634,635 } else { did -c $dname 631 } if (%away.log) { did -c $dname 87 did -b $dname 205,2002 if (!$did(85).lines) { did -b $dname 156 } } else { did -b $dname 85,2001,2002,1513,617,351,156,205 } if (%autoaway) { did -c $dname 1235 } else { did -b $dname 1236,640,641 } if (%away.pubmsg == 1) { did -c $dname 89 } elseif (%away.pubmsg == 2) { did -c $dname 93 } if ($group(#awaypager) == on) { did -c $dname 130 } if (%away.useold) { did -c $dname 1433 } else { did -c $dname 1432 } did -c $dname $replace(%balloon.pos,tl,314,bl,315,tr,316,br,317) bold $dname 359,362,361,338,327,297,298,300,240,309,176,180,152,170,36,141,94,99,104,27,333,250,265,269,563,220,154,33,654,657,541,547,543,45,16,31,2,1466,1988,1994,619,1923,1929,1452,2985,529,528,513,1543,1600,19,80,84,86,88,892,90,76,108,135,140,301,328,930,933,957,958,1860,1872,2308,2312,2320,2324,2322,2330,2332,2334,2360,990,991,2991,2995,1813,1814,71 } elseif ($devent == dclick) { if ($did) && ($did($did).sel) { if ($did == 115) { cprot.edit } elseif ($did == 211) { csauth.edit } elseif ($did == 85) { awlog.edit } elseif ($did == 632) { awmsg.edit } elseif ($did == 2333) { kickmsg.edit } elseif ($did == 2323) { quitmsg.edit } elseif ($did == 653) { slaps.edit } elseif ($did == 332) { exclude.edit } elseif ($did == 110) { noop $dialog(pprot.edit,pprot.edit,-4) } elseif ($did == 224) { nt.edit } elseif ($did == 150) { contentfilter.edit } elseif ($did == 348) { set %games.favaddedit 1 noop $dialog(games.favadd,games.favadd,-4) } elseif ($did == 266) { if ($read(script\txt\toolbar.txt,n,$calc($did($did).sel -1)) != -) { tb.edit } else { errdialog you can't edit separators! } } elseif ($did == 79) { did -i $dname $did 1 labeledit begin $did($did).sel } elseif ($did == 26) { var %t = $did(2380).selend did -ra $dname 2380 $+($iif(%t,$mid($did(2380),1,%t)),$cell($did,1),$mid($did(2380),$calc(%t +1))) did -c $dname 2380 %t } } } elseif ($devent == sclick) { if ($did == 3) { sdt bln.offset if ($did($did).state) { did -e $dname 4,5,6,129 } else { did -b $dname 4,5,6,129 } } elseif ($did == 178) { sdt query.notify } elseif ($did == 177) { sdt away.atime } elseif ($did == 137) { url -an http://www.nnscript.de } elseif ($did == 824) { url -an https://xlhost.de/cgi-bin/main.cgi?lang=en&file=homepage } elseif ($did == 155) { sdt checkver.startup } elseif ($did == 336) { var %n = $$eddialog(Enter a new game name) if ($istok($didtok(331,1),%n,1)) { errdialog you already have a game with this name! } else { did -ac $dname 331 %n did -e $dname 337 set %game. [ $+ [ $encode(%n,m) ] $+ ] .added 1 set %game. [ $+ [ $encode(%n,m) ] $+ ] .awaymsg Playing at games.loadsettings } } elseif ($did == 331) { games.loadsettings } elseif ($did == 353) { var %s = $did(331).seltext,%e = $encode(%s,m),%o = %game. [ $+ [ %e ] $+ ] .path,%p = $mkfullfn($$sfile($iif($isfile(%o),%o,C:\),Choose a path for the game %s $+ !)) did -ra $dname 344 %p set %game. $+ %e $+ .path %p } elseif ($did == 354) { popdll.new popup popdll.new steam popdll.add popup +> 0 0 &Steam $cr steam popdll.add steam + 0 0 &Codename Gordon $cr games.chgcmdline -console -applaunch 92 +connect popdll.add steam + 0 0 &Condition Zero $cr games.chgcmdline -console -applaunch 80 +connect popdll.add steam + 0 0 Co&unter-Strike 1.6 $cr games.chgcmdline -console -applaunch 10 +connect popdll.add steam + 0 0 Cou&nter-Strike Source $cr games.chgcmdline -console -applaunch 240 +connect popdll.add steam + 0 0 &Day of Defeat $cr games.chgcmdline -console -applaunch 30 +connect popdll.add steam + 0 0 D&ay of Defeat Source $cr games.chgcmdline -console -applaunch 300 +connect popdll.add steam + 0 0 &Half-Life $cr games.chgcmdline -console -applaunch 70 +connect popdll.add steam + 0 0 Ha&lf-Life 2 $cr games.chgcmdline -console -applaunch 220 +connect popdll.add steam + 0 0 Hal&f-Life Source $cr games.chgcmdline -console -applaunch 280 +connect popdll.add steam + 0 0 O&pposing Force $cr games.chgcmdline -console -applaunch 50 +connect popdll.add steam + 0 0 &Ricochet $cr games.chgcmdline -console -applaunch 60 +connect popdll.add steam + 0 0 &Team Fortress Classic $cr games.chgcmdline -console -applaunch 20 +connect popdll.add steam popdll.add steam + 0 0 &More... $cr url -an http://developer.valvesoftware.com/wiki/Steam_Application_IDs popdll.add popup + 0 0 &Alien vs. Predator 2 $cr +gsa 1 +gsa_ip +gsa_port +gsa_pw popdll.add popup + 0 0 &Battlefield 2 $cr games.chgcmdline +restart 1 +joinServer +port +password popdll.add popup + 0 0 &Call of Duty $cr games.chgcmdline +connect +password popdll.add popup + 0 0 &Doom III $cr games.chgcmdline +connect +password popdll.add popup + 0 0 &Half-Life $cr games.chgcmdline -connect IP: -password popdll.add popup + 0 0 &Jedi Knight 3 $cr games.chgcmdline +connect +password popdll.add popup + 0 0 &Medal of Honor $cr games.chgcmdline +connect +password popdll.add popup + 0 0 &Quake $cr games.chgcmdline +connect +password popdll.add popup + 0 0 &Soldier of Fortune $cr games.chgcmdline +connect +password popdll.add popup + 0 0 &Tribes 2 $cr games.chgcmdline -connect IP: -password popdll.add popup + 0 0 &Unreal Tournament $cr games.chgcmdline popdll.add popup popdll.add popup + 0 0 H&elp $cr games.cmdlinehelp popdll.disp popup } elseif ($did == 349) { noop $dialog(games.favadd,games.favadd,-4) } elseif ($did == 337) { unset %game. $+ $encode($did(331).seltext,m) $+ .* %pass.game. $+ $encode($did(331).seltext,m) $+ .* did -d $dname 331 $did(331).sel if ($did(331).lines) { did -c $dname 331 1 } else { did -b $dname 337 } games.loadsettings } elseif ($did == 350) { var %g = $encode($did(331).seltext,m) while ($did(348).sel) { var %z = $wd($did(348).seltext,1) set %game. $+ %g $+ .favs $remtok(%game. [ $+ [ %g ] $+ ] .favs,%z,1) unset %pass.game. [ $+ [ %g ] $+ ] . [ $+ [ %z ] ] did -d $dname 348 $did(348).sel } did -b $dname 350,358 if (!$did(348).lines) { did -b $dname 352 } } elseif ($did == 358) { set %games.favaddedit 1 noop $dialog(games.favadd,games.favadd,-4) } elseif ($did == 352) { did -r $dname 348 unset %game. $+ $encode($did(331).seltext,m) $+ .favs %pass.game. $+ $encode($did(331).seltext,m) $+ .* did -b $dname 350,352,358 } elseif ($did == 355) { did $iif($did($did).state,-e,-b) $dname 341,346,356,357 set %game. $+ $encode($did(331).seltext,m) $+ .setaway $did($did).state } elseif ($did == 348) { did $iif($did($did).sel,-e,-b) $dname 350,358 } elseif ($did == 437) { sdt ssplash } elseif ($did == 320) { sdt bln.beep } elseif ($did isnum 314-317) { set %balloon.pos $replace($did,314,tl,315,bl,316,tr,317,br) } elseif ($did == 312) { themes } elseif ($did == 184) { var %x = $replace($did(185).seltext,$chr(32),_),%f = $$sfile(%tview.icon. [ $+ [ %x ] ],Please choose an icon file) set %tview.icon. $+ %x $relpath(%f) settings.drawicon 321 %f tview.licons } elseif ($did == 185) { settings.drawicon 321 %tview.icon. [ $+ [ $replace($did($did).seltext,$chr(32),_) ] ] } elseif ($did == 281) { var %c = $listsel(266),%i = $wd(%c,0) while (%i) { var %s = $wd(%c,%i),%t = $did(266,%s),%o = $read(script\txt\toolbar.txt,n,$calc(%s -1)) write -dl $+ $calc(%s -1) script\txt\toolbar.txt write -il $+ $calc(%s -2) script\txt\toolbar.txt %o did -d $dname 266 %s did -i $dname 266 $calc(%s -1) $remsfs(%t) dec %i } toolbar.ref did $iif(s isin $wd($did(266,2),2),-b,-e) $dname $did did $iif(s isin $wd($did(266,$did(266).lines),2),-b,-e) $dname 282 } elseif ($did == 282) { var %c = $listsel(266),%k = $wd(%c,0),%i = 1 while (%i <= %k) { var %s = $wd(%c,%i),%t = $did(266,%s),%o = $read(script\txt\toolbar.txt,n,$calc(%s -1)) write -dl $+ $calc(%s -1) script\txt\toolbar.txt write -il $+ %s script\txt\toolbar.txt %o did -d $dname 266 %s did -i $dname 266 $calc(%s +1) $remsfs(%t) inc %i } toolbar.ref did $iif(s isin $wd($did(266,2),2),-b,-e) $dname 281 did $iif(s isin $wd($did(266,$did(266).lines),2),-b,-e) $dname $did } elseif ($istok(200 194 193,$did,32)) { var %x = $rgb( [ $$nn.rgb( %tview.color. [ $+ [ $replace($did,200,back,194,text,193,lines) ] ] ) ] ) set %tview.color. $+ $replace($did,200,back,194,text,193,lines) %x chgedcol $dname $replace($did,200,199,194,195,193,192) %x tview.applycolors } elseif ($did == 196) { sdt tview.thmfont if ($did($did).state) { mdx SetFont tview 1 - $+ $thmdata(%thm.current,Fontsize) 400 $thmdata(%thm.current,Font) } else { mdx SetFont tview 1 $wd($mdx(GetFont,settings 196),4-) } } elseif ($did == 197) { sdt tview.modern .tview -u .tview } elseif ($did == 198) { sdt tview.icons .tview -u .tview did $iif($did($did).state,-e,-b) $dname 184,185,318 } elseif ($did == 174) { sdt tview.bold did $iif($did($did).state,-e,-b) $dname 188,256 tview.cref } elseif ($did == 188) { sdt tview.bldhl tview.cref } elseif ($did == 256) { sdt tview.bldmsg tview.cref } elseif ($did == 360) { set %tview.colors 1 did -b $dname 202,221,193,194,200,319 chgedcol $dname 199 reset chgedcol $dname 195 reset chgedcol $dname 192 reset tview.applycolors } elseif ($did == 201) { set %tview.colors 2 did -b $dname 202,221,193,194,200,319 chgedcol $dname 199 reset chgedcol $dname 195 reset chgedcol $dname 192 reset tview.applycolors } elseif ($did == 182) { set %tview.colors 3 if ($did($did).state) { did -e $dname 202,221,193,194,319 if (!%tview.nobg) { did -e $dname 200 chgedcol $dname 199 %tview.color.back } chgedcol $dname 195 %tview.color.text chgedcol $dname 192 %tview.color.lines } tview.applycolors } elseif ($did == 319) { set %tview.nobg $iif($did($did).state,0,1) if (%tview.nobg) { did -b $dname 200 chgedcol $dname 199 reset } else { did -e $dname 200 chgedcol $dname 199 %tview.color.back } tview.applycolors } elseif ($did == 179) { sdt tview.enabled if ($did($did).state) { did -e $dname 174,182,196,197,198,318,360,201,359 if ($did(198).state) { did -e $dname 184,185 } if ($did(182).state) { did -e $dname 202,221,193,194,319 if ($did(319).state) { chgedcol $dname 199 %tview.color.back did -e $dname 200 } chgedcol $dname 195 %tview.color.text chgedcol $dname 192 %tview.color.lines } if ($did(174).state) { did -e $dname 188,256 } tview } else { did -b $dname 174,184,185,182,188,196,197,198,256,194,200,201,202,221,193,318,319,360,359 chgedcol $dname 199,195,192 reset tview -u } } elseif ($did == 113) { var %c = $$eddialog(Enter a channel you want to add to the protections!,$iif($active ischan,$active)) if (!$istok(%c,%cprot.channels,44)) { set %cprot.channels $addtok(%cprot.channels,%c,44) did -ac $dname 112 %c cprot.loaddef cprot.setload } else { errdialog you already added this channel! } } elseif ($did == 112) { cprot.setload } elseif ($did == 147) { if ($ydialog(Do you really want to reset the default protection settings for this channel?)) { cprot.loaddef } } elseif ($did == 117) { cprot.edit } elseif ($did == 114) { set %cprot.channels $remtok(%cprot.channels,$did(112).seltext,44) unset %cprot. $+ $did(112).seltext $+ .* did -d $dname 112 $did(112).sel did -c $dname 112 1 cprot.setload } elseif ($did == 144) { sdt cprot. $+ $did(112).seltext $+ .usepreset if ($did($did).state) { did -b $dname 37,145,146,147,36,115,117 } else { did -e $dname 37,145,146,147,36,115 if ($did(115).sel) { did -e $dname 117 } } } elseif ($did == 145) { sdt cprot. $+ $did(112).seltext $+ .punishops } elseif ($did == 146) { sdt cprot. $+ $did(112).seltext $+ .punishvoiced } elseif ($did == 115) { .timersetsave -io 1 0 cprot.setsave did $iif($did($did).sel,-e,-b) $dname 117 sortmdx $dname $did } elseif ($did == 35) { sdt cprot.presetonly if ($did($did).state) && ($did(112).seltext != Preset) { did -b $dname 115,36,117,147,144,145,146,37 } else { if ($did(144).state) { did -e $dname 111,112,113 } else { did -e $dname 111,112,113,115,36,147,145,146,37 if ($did(115).sel) { did -e $dname 117 } } if ($did(112).seltext != Preset) { did -e $dname 114,144 } } } elseif ($did == 116) { noop $dialog(pprot.edit,pprot.edit,-4) } elseif ($did == 110) { did $iif($did($did).sel,-e,-b) $dname 116 sortmdx $dname $did } elseif ($did == 118) { if ($ydialog(Do you really want to reset the default personal protection settings?)) { pprot.loaddef } } elseif ($did == 630) { sdt away.ignorechans if ($did($did).state) { did -e $dname 632,633 if ($did(632).sel) { did -e $dname 634,208 } if ($did(632).lines) { did -e $dname 157 } } else { did -b $dname 632,633,634,157,208 } } elseif ($did == 351) { sdt away.hllog } elseif ($did == 1385) { sdt showhla } elseif ($did == 631) { if ($did($did).state) { did -e $dname 89,93,630,635 if ($did(630).state) { did -e $dname 632,633 } if (%away.ignorechans) { if ($did(632).lines) { did -e $dname 157 } if ($did(632).sel) { did -e $dname 208,634 } } unset %away.nomsg } else { did -b $dname 89,93,630,632,633,634,635,157,208 set %away.nomsg 1 } } elseif ($did == 632) { did $iif($did($did).sel,-e,-b) $dname 208,634 } elseif ($did == 633) { var %e = $$eddialog(Enter a new away message exclude!) if ($istok(%away.ad.excl,%e,44)) { errdialog you have already added this exclude! } elseif ($len(%away.ad.excl %e) > 600) { errdialog you have already added too many excludes! } else { did -a $dname 632 %e did -e $dname 157 set %away.ad.excl $didtok(632,44) } } elseif ($did == 634) { while ($did(632).sel) { did -d $dname 632 $v1 } did -b $dname 208,634 if (!$did(632).lines) { did -b $dname 157 } set %away.ad.excl $didtok(632,44) } elseif ($did == 157) { if ($ydialog(Do you really want to remove all away message ignores?)) { did -r $dname 632 did -b $dname 208,634,157 unset %away.ad.excl } } elseif ($did == 208) { awmsg.edit } elseif ($did == 635) { sdt away.ad.queries } elseif ($did == 636) { sdt away.remind } elseif ($did == 640) { sdt away.auto.nomsg } elseif ($did == 641) { sdt away.auto.warn } elseif ($did == 617) { sdt away.log.events } elseif ($did == 87) { sdt away.log if ($did($did).state) { did -e $dname 85,2001,1513,617,351 if ($did(85).sel) { did -e $dname 205,2002 } if ($did(85).lines) { did -e $dname 156 } } else { did -b $dname 85,2001,2002,1513,617,351,156,205 } } elseif ($did == 89) { set %away.pubmsg 1 did -u $dname 93 } elseif ($did == 93) { set %away.pubmsg 2 did -u $dname 89 } elseif ($did == 130) { $iif($did($did).state,.enable,.disable) #awaypager } elseif ($did == 1234) { sdt away.msghide } elseif ($did == 1235) { sdt autoaway if (%autoaway) { did -e $dname 1236,640,641 .timercheckidle -i 0 60 checkidle } else { did -b $dname 1236,640,641 .timercheckidle off } } elseif ($did == 1238) { sdt away.ipback } elseif ($did == 1432) { unset %away.useold } elseif ($did == 1433) { set %away.useold 1 } elseif ($did == 85) { did $iif($did($did).sel,-e,-b) $dname 205,2002 } elseif ($did == 2001) { var %c = $$eddialog(Enter the away log trigger you want to add!) if ($istok($mkregex(%away.log.trigger).re,%c,44)) { errdialog you already added this trigger! } elseif ($len(%away.log.trigger %c) > 600) { errdialog you have already added too many triggers! } else { did -a $dname 85 %c did -e $dname 156 set %away.log.trigger $mkregex($didtok(85,44)) } } elseif ($did == 2002) { while ($did(85).sel) { did -d $dname 85 $v1 } did -b $dname 205,2002 if (!$did(85).lines) { did -b $dname 156 } set %away.log.trigger $mkregex($didtok(85,44)) } elseif ($did == 156) { if ($ydialog(Do you really want to unset all away log triggers?)) { did -r $dname 85 did -b $dname 205,156,2002 unset %away.log.trigger } } elseif ($did == 205) { awlog.edit } elseif ($did == 222) { if (%lagbar.style != $did($did).sel) { set %lagbar.style $did($did).sel drawrect -nrf @lagbar %tb.lagcol.bg 1 0 0 100 22 toolbar.dlaghist } } elseif ($did == 39) { sdt email.checker if ($did($did).state) { .timermailchk -io 0 %mail.delay checkmail did -e $dname 2311,67,2303,2307,59,27,28,29,53 if (%lb.enabled) && (%lb.bar) { did -e $dname 2010 } if ($did(29).sel) { did -e $dname 30,64,65,66,63,2304,2301,2305,61,2306,63,64,61,2301 if ($sslready) { did -e $dname 62 } } } else { .timermailchk off did -b $dname 2311,67,2010,2303,2307,59,27,28,29,30,53,65,66,2304,2305,2306,63,64,61,2301,62 } if (%lb.enabled) { tb.hide } } elseif ($did == 2010) { if ($did($did).state) { set %email.bar 1 mail.tref -n } else { unset %email.bar } tb.hide } elseif ($did == 1354) { sdt lb.bar if ($did($did).state) { did -e $dname 44,1354,76,77,78,1535,2312 if (%email.checker) { did -e $dname 2010 } lagchktimer -e if (%tb.vlag) { crmlagbar did -e $dname 222,223,287,286,288,1340,1341,251,250,334,333 if (%tb.lagcol == 2) { did -e $dname 270,253,252,292,293,294 chgedcol $dname 271 %tb.lagcol.bg.sel chgedcol $dname 272 %tb.lagcol.gr.sel chgedcol $dname 273 %tb.lagcol.grh.sel } toolbar.dlaghist } if ($timer(alarm)) && (%alarmstb) { alarm.dtbd } elseif (%email.bar) { mail.tref -n } } else { did -b $dname 2010,1340,1341,76,77,78,1535,44,286,287,222,223,288,251,270,253,252,292,293,294,333,250,334 chgedcol $dname 271,272,273 reset .timerlagchk off } toolbar.ref -m } elseif ($did == 44) { sdt tb.vlag toolbar.ref -m if ($did($did).state) { crmlagbar drawrect -nrf @lagbar %tb.lagcol.bg 1 0 0 100 22 toolbar.dlaghist did -v toolbar 3 did -e $dname 222,223,1340,1341,288,287,286,251,333,250,334 if (%tb.lagcol == 2) { did -e $dname 270,253,252,292,293,294 chgedcol $dname 271 %tb.lagcol.bg.sel chgedcol $dname 272 %tb.lagcol.gr.sel chgedcol $dname 273 %tb.lagcol.grh.sel } } else { did -b $dname 222,223,1340,1341,288,287,286,251,270,253,252,292,293,294,333,250,334 chgedcol $dname 271,272,273 reset } } elseif ($did == 2309) { sdt lb.enabled if ($did($did).state) { toolbar did -e $dname 1354,266,268,277,267 if ($did(266).lines > 1) { did -e $dname 276 } if (%lb.bar) { did -e $dname 44,76,77,78,1535,2312 if (%email.checker) { did -e $dname 2010 } if (%tb.vlag) { drawrect -nrf @lagbar %tb.lagcol.bg 1 0 0 100 22 did -e $dname 222,223,1340,1341,288,287,286,250,334,333,251 if (%tb.lagcol == 2) { did -e $dname 292,293,294,270,253,252 chgedcol $dname 271 %tb.lagcol.bg.sel chgedcol $dname 272 %tb.lagcol.gr.sel chgedcol $dname 273 %tb.lagcol.grh.sel } toolbar.dlaghist } if (%email.checker) && (%email.bar) { mail.tref -n } lagchktimer -e } } else { .timerlagchk off toolbar -u did -b $dname 288,287,286,223,44,222,1354,2010,1340,1341,76,77,78,1535,251,292,293,294,270,253,252,292,293,294,333,250,334,266,268,277,274,275,276,281,282,267 mdxunsel $dname 266 chgedcol $dname 271,272,273 reset } } elseif ($did == 270) { var %x = $$nn.rgb(%tb.lagcol.bg),%o = %tb.lagcol.bg set %tb.lagcol.bg $chkrgb(%x) set %tb.lagcol.bg.sel %tb.lagcol.bg chgedcol $dname 271 %tb.lagcol.bg drawrect -nrf @lagbar %tb.lagcol.bg 1 0 0 100 22 toolbar.dlaghist } elseif ($did == 253) { var %x = $$nn.rgb(%tb.lagcol.gr),%o = %tb.lagcol.gr set %tb.lagcol.gr $chkrgb(%x) set %tb.lagcol.gr.sel %tb.lagcol.gr chgedcol $dname 272 %tb.lagcol.gr drawrect -nrf @lagbar %tb.lagcol.bg 1 0 0 100 22 toolbar.dlaghist } elseif ($did == 252) { var %x = $$nn.rgb(%tb.lagcol.grh),%o = %tb.lagcol.grh set %tb.lagcol.grh $chkrgb(%x) set %tb.lagcol.grh.sel %tb.lagcol.grh chgedcol $dname 273 %tb.lagcol.grh drawrect -nrf @lagbar %tb.lagcol.bg 1 0 0 100 22 toolbar.dlaghist } elseif ($istok(286 287 251,$did,32)) { set %tb.lagcol $iif($did(286).state,1,$iif($did(251).state,2,0)) if (%tb.lagcol != 2) { did -b $dname 292,293,294,270,253,252 chgedcol $dname 271,272,273 reset } else { did -e $dname 292,293,294,270,253,252 chgedcol $dname 271 %tb.lagcol.bg.sel chgedcol $dname 272 %tb.lagcol.gr.sel chgedcol $dname 273 %tb.lagcol.grh.sel } if (%tb.lagcol == 1) { set %tb.lagcol.bg $color($color(back)) set %tb.lagcol.gr $color($color(info)) set %tb.lagcol.grh $color($color(info2)) } elseif (%tb.lagcol == 2) { set %tb.lagcol.bg %tb.lagcol.bg.sel set %tb.lagcol.gr %tb.lagcol.gr.sel set %tb.lagcol.grh %tb.lagcol.grh.sel } else { set %tb.lagcol.bg 0 unset %tb.lagcol.gr %tb.lagcol.grh } drawrect -nrf @lagbar %tb.lagcol.bg 1 0 0 100 22 toolbar.dlaghist } elseif ($did == 161) { contentfilter.edit } elseif ($did == 162) { noop $dialog(contentfilter.add,contentfilter.add,-4) } elseif ($did == 160) { while ($did(150).sel) { did -d $dname 150 $v1 } contentfilter.savelist did -b $dname 160,161 if (!$did(150).lines) { did -b $dname 153 } } elseif ($did == 153) { if ($ydialog(Do you really want to remove all content filters?)) { did -b $dname 160,161,153 did -r $dname 150 unset %contentfilter %contentfilter.regex.* } } elseif ($did == 167) { sdt contentfilter.chans if (!%contentfilter.queries) && (!%contentfilter.chans) { did -b $dname 150,162,161,160,153 } else { did -e $dname 150,162 if ($did(150).sel) { did -e $dname 160,161 } if ($did(150).lines) { did -e $dname 153 } } } elseif ($did == 151) { sdt contentfilter.queries if (!%contentfilter.queries) && (!%contentfilter.chans) { did -b $dname 150,162,161,160,153 } else { did -e $dname 150,162 if ($did(150).sel) { did -e $dname 160,161 } if ($did(150).lines) { did -e $dname 153 } } } elseif ($did == 150) { did $iif($did($did).sel,-e,-b) $dname 160,161 } elseif ($did == 131) { sdt chanpasses.save } elseif ($did == 26) { sortmdx $dname $did } elseif ($did == 34) { sdt dcc.sinfo } elseif ($did == 29) { mail.setload did $iif($did($did).sel,-e,-b) $dname 30 } elseif ($did == 67) { sdt mail.echo } elseif ($did == 53) { var %a = $$eddialog(Enter the name of your new mail account! Don't use spaces and wildcards (* $+ $chr(44) ?) in the account name!) if (* isin %a) || (? isin %a) || ($chr(32) isin %a) { errdialog %a is not a valid account name! Please don't use spaces and wildcards (*, ?) in the account name! } else { if (!%mailacc. [ $+ [ %a ] ]) { set %mailacc. $+ %a &null &null 0 &null 0 did -c $dname 65 did -u $dname 66 did -ac $dname 29 %a did -e $dname 2301,61,63,64,65,66,30 if ($sslready) { did -e $dname 62 } did -er $dname 2304,2305,2306 } else { errdialog a mail account with that name already exists! Please choose a different name. } } } elseif ($did == 30) { unset %mailacc. $+ $did(29).seltext %mailchk. $+ $did(29).seltext did -d $dname 29 $did(29).sel if ($did(29).lines) { did -c $dname 29 1 mail.setload } else { did -r $dname 29,2304,2305,2306 did -u $dname 66 did -c $dname 65 did -b $dname 30,2304,2305,2306,2301,61,63,64,65,66,62 } mail.tref -n } elseif ($did == 143) { sdt notice.sepwin } elseif ($did == 276) { if ($ydialog(Do you really want to remove all items from the toolbar?)) { write -c script\txt\toolbar.txt tbedit.reflist toolbar.ref did -b $dname 282,281,276,275,274 noop $findfile(script\txt\popups\,*.pop,0,0,.remove $qt($1-)) } } elseif ($did == 275) { while ($did(266).sel) { var %n = $gettok($read(script\txt\toolbar.txt,n,$calc($did(266).sel -1)),-1,1),%f = $+("script\txt\popups\,%n,.pop") if ($isfile(%f)) { .remove %f } write -dl $+ $calc($did(266).sel -1) script\txt\toolbar.txt did -d $dname 266 $did(266).sel } toolbar.ref did -b $dname 274,275,281,282 if ($did(266).lines == 1) { did -b $dname 276 } } elseif ($did == 266) { if (* recent * iswm $did($did,1)) { if ($did($did).sel) { did -e $dname 275 did $iif($cell(266,1) != ,-e,-b) $dname 274 did $iif($did($did).sel == $did($did).lines,-b,-e) $dname 282 did $iif($did($did).sel == 2,-b,-e) $dname 281 } else { did -b $dname 274,275,281,282 } } } elseif ($did == 277) { if ($did(266).sel) { write -il $+ $calc($v1 -1) script\txt\toolbar.txt - did -i $dname 266 $v1 0 +fs 0 0 0 + 0 0 0 } else { write script\txt\toolbar.txt - did -a $dname 266 0 + 0 0 0 + 0 0 0 } did $iif($did(266).sel == 2,-b,-e) $dname 281 toolbar.ref } elseif ($did == 274) { tb.edit } elseif ($did == 268) { noop $dialog(tb.add,tb.add,-4) } elseif ($did == 960) { did $iif($did($did).sel,-e,-b) $dname 962 } elseif ($did == 254) { set %nntray aqwpfnesoctdivkm did -c $dname 242,380,379,378,377,376,375,373,372,374,371,370,368,369,367,285 did -e $dname 323 } elseif ($did == 255) { set %nntray a did -u $dname 242,380,379,378,377,376,375,373,372,374,371,370,368,369,367,285 did -b $dname 323 } elseif ($did == 931) { sdt balloons.enabled unset %npop.queue* if ($did($did).state) { did -e $dname 242,380,379,378,377,376,375,373,372,374,371,370,368,369,367,285,320,34,261,262,932,154,142,228,229,230,232,289,291,290,231,235,236,238,254,255,244,243,314,315,316,317,313,3,362,361 if ($did(285).state) { did -e $dname 323 } chgedcol $dname 234 %balloon.txtrgb chgedcol $dname 233 %balloon.bgrgb chgedcol $dname 249 %balloon.brdrgb if (%balloon.transp.en) { did -e $dname 245,246 } if (%bln.offset) { did -e $dname 4,5,6,129 } } else { close -@ @BalloonTips .timerhnpop off .timernpopfade off chgedcol $dname 233,234,249 reset did -b $dname 323,242,380,379,378,377,376,375,373,372,374,371,370,368,369,367,285,320,34,261,262,932,154,142,228,229,230,232,289,291,290,231,235,236,238,254,255,244,243,245,246,314,315,316,317,313,3,4,5,6,129,362,361 } } elseif ($did == 242) { set %nntray $iif($did($did).state,%nntray $+ c,$remove(%nntray,c)) } elseif ($did == 380) { set %nntray $iif($did($did).state,%nntray $+ o,$remove(%nntray,o)) } elseif ($did == 379) { set %nntray $iif($did($did).state,%nntray $+ t,$remove(%nntray,t)) } elseif ($did == 378) { set %nntray $iif($did($did).state,%nntray $+ d,$remove(%nntray,d)) } elseif ($did == 377) { set %nntray $iif($did($did).state,%nntray $+ i,$remove(%nntray,i)) } elseif ($did == 376) { set %nntray $iif($did($did).state,%nntray $+ w,$remove(%nntray,w)) } elseif ($did == 375) { set %nntray $iif($did($did).state,%nntray $+ v,$remove(%nntray,v)) } elseif ($did == 373) { set %nntray $iif($did($did).state,%nntray $+ k,$remove(%nntray,k)) } elseif ($did == 372) { set %nntray $iif($did($did).state,%nntray $+ m,$remove(%nntray,m)) } elseif ($did == 374) { set %nntray $iif($did($did).state,%nntray $+ s,$remove(%nntray,s)) } elseif ($did == 371) { set %nntray $iif($did($did).state,%nntray $+ e,$remove(%nntray,e)) } elseif ($did == 370) { set %nntray $iif($did($did).state,%nntray $+ n,$remove(%nntray,n)) } elseif ($did == 368) { set %nntray $iif($did($did).state,%nntray $+ f,$remove(%nntray,f)) } elseif ($did == 369) { set %nntray $iif($did($did).state,%nntray $+ p,$remove(%nntray,p)) } elseif ($did == 367) { set %nntray $iif($did($did).state,%nntray $+ q,$remove(%nntray,q)) } elseif ($did == 285) { set %nntray $iif($did($did).state,%nntray $+ u,$remove(%nntray,u)) did $iif($did($did).state,-e,-b) $dname 323 } elseif ($did == 243) { sdt balloon.fade } elseif ($did == 239) { sdt ialupdate did $iif($did($did).state,-e,-b) $dname 279 } elseif ($did == 58) { url -an http://www.syndic8.com/ } elseif ($did == 284) { url -an http://www.feedroom.com/rssmain.jsp } elseif ($did == 70) { sdt nwstick.serror } elseif ($did == 225) { noop $dialog(nt.add,nt.add,-4) } elseif ($did == 226) { if ($ydialog(Do you really want to remove the selected newsticker(s)?)) { while ($did(224).sel) { hdel -w rssdone $remove($encode($cell(224,1),m),=) $+ * hdel rss $wd($did(224).seltext,-1) hsave -ob rss script\tables\rss.tbl did -d $dname 224 $did(224).sel } did -b $dname 226,227 if ($did(224).lines < 2) { did -b $dname 241 } } } elseif ($did == 241) { if ($ydialog(Do you really want to remove all newstickers?)) { hdel -w rssdone * hdel -w rss * hsave -ob rss script\tables\rss.tbl did -r $dname 224 did -b $dname 226,227,241 } } elseif ($did == 227) { nt.edit } elseif ($did == 224) { did $iif($did($did).sel,-e,-b) $dname 226,227 if (stateclick recent * iswm $did($did,1)) { .timerrsssave -io 1 0 rss.setsave } } elseif ($did == 214) { sdt paste.breaklines did $iif($did($did).state,-e,-b) $dname 216 } elseif ($did == 218) { sdt paste.stripcodes did $iif($did($did).state,-e,-b) $dname 219 } elseif ($did == 219) { sdt paste.stripcodes.mode } elseif ($did == 215) { sdt paste.singleeditbox } elseif ($did == 213) { if ($ydialog(Do you really want to load the default slaps?)) { if ($isfile(script\txt\slaps-def.txt)) { .copy -o script\txt\slaps-def.txt script\txt\slaps.txt did -b $dname 204,655 prevbmp $dname 658 344 action 2 did -r $dname 653 loadslaps did $iif($did(653).lines,-e,-b) $dname 203 saveslaps } else { errdialog script\txt\slaps-def.txt not found! } } } elseif ($did == 207) { if ($ydialog(Do you really want to load the default kick messages?)) { if ($isfile(script\txt\kickmsg-def.txt)) { .copy -o script\txt\kickmsg-def.txt script\txt\kickmsg.txt loadbuf -ro $dname 2333 script\txt\kickmsg.txt did $iif($did(2333).lines,-e,-b) $dname 159 did -b $dname 163,2337 prevbmp $dname 2335 344 kick 2 } else { errdialog script\txt\kickmsg-def.txt not found! } } } elseif ($did == 209) { if ($ydialog(Do you really want to load the default quit messages?)) { if ($isfile(script\txt\quitmsg-def.txt)) { .copy -o script\txt\quitmsg-def.txt script\txt\quitmsg.txt loadbuf -ro $dname 2323 script\txt\quitmsg.txt did $iif($did(2323).lines,-e,-b) $dname 164 did -b $dname 165,2327 prevbmp $dname 2325 344 quit 2 } else { errdialog script\txt\quitmsg-def.txt not found! } } } elseif ($did == 69) { sns.save } elseif ($did == 138) { sdt awretain } elseif ($did == 57) { sdt news.sepwinall } elseif ($did == 132) { sdt showialupd } elseif ($did == 126) { sdt x.hosthide.nbnc } elseif ($did == 127) { sdt q.hosthide.nbnc } elseif ($did == 102) { sdt gs.hosthide.nbnc } elseif ($did == 60) { sdt sendversion } elseif ($did == 55) { sns.save } elseif ($did == 56) { sns.save } elseif ($did == 54) { sns.load } elseif ($did == 311) { noop $dialog(netsel,netsel,-4) if (%netsel.result) { did -ac $dname 54 $v1 unset %netsel.result did -e $dname 335 sns.load } } elseif ($did == 335) { unset %nsset. [ $+ [ $did(settings,54).seltext ] ] %pass.cs. [ $+ [ $did(settings,54).seltext ] $+ ] .* did -d $dname 54 $did(54).sel did -c $dname 54 1 if (!$did(54).sel) { did -b $dname $did } sns.load } elseif ($did == 166) { if ($ydialog(Do you really want to unset all ChanServ channel passwords for $did(54).seltext $+ ?)) { did -r $dname 211 did -b $dname 212,534,166 unset $+(%,pass.cs.,$did(54).seltext,.*) } } elseif ($did == 593) { noop $dialog(cs.add,cs.add,-4) if (%cs.chan) && (%cs.pass) { set $+(%,pass.cs.,$did(54).seltext,.,%cs.chan) %cs.pass did -a $dname 211 %cs.chan did -e $dname 166 } unset %cs.pass %cs.chan } elseif ($did == 211) { did $iif($did(211).sel,-e,-b) $dname 212,534 } elseif ($did == 212) { csauth.edit } elseif ($did == 534) { while ($did(211).sel) { unset $+(%,pass.cs.,$did(54).seltext,$did(211).seltext) did -d $dname 211 $did(211).sel } did -b $dname 212,534 if (!$did(211).lines) { did -b $dname 166 } } elseif ($did == 535) { sns.save sns.load } elseif ($did == 1351) { sdt hlown } elseif ($istok(47 49 50 52 106 108,$did,32)) { url -an $did($did) } elseif ($did == 169) { did $iif($did($did).state,-e,-b) $dname 172 sdt titlebar.cref titlebar.ctmr } elseif ($did == 536) { if ($ydialog(Are you sure you want to reset all bindings to the script default?)) { fkey.ldef fkey.ref } } elseif ($did == 25) { sdt pastenotify } elseif ($did == 8) { sdt nopaste unset %paste.nodelay %pastedelay did -b $dname 11,14,21,23,25,22,24 } elseif ($did == 9) { sdt paste.nodelay unset %pastedelay %nopaste did -b $dname 11,14,21,23,25,22,24 } elseif ($did == 10) { sdt pastedelay unset %nopaste %paste.nodelay did -e $dname 11,14,25,22,24 did $iif(%pasteminlinedelay,-e,-b) $dname 21,23 } elseif ($did == 14) { sdt pasteminlinedelay did $iif($did($did).state,-e,-b) $dname 21,23 } elseif ($did == 1376) { set %ignore.mask $calc($did($did).sel -1) } elseif ($did == 1377) { set %ban.mask $calc($did($did).sel -1) } elseif ($did == 1375) { sdt bndsp } elseif ($did == 1990) { sdt excl.prot } elseif ($did == 1548) { url -n https://xlhost.de/cgi-bin/main_hosting.cgi?lang=de&reload_bouncers=yes } elseif ($did == 133) { sdt splitwin if (!$did($did).state) { .timerntsplt.* off hfree -w netsplit.* } } elseif ($did == 1914) { sdt qcls.auto did $iif(%qcls.auto,-e,-b) $dname 1915 if (%qcls.auto) { .timerqcls -io 0 30 scon -a chkqcls chkqcls } else { .timerqcls off } } elseif ($did == 1) { if (slclick select * iswm $did($did,1)) { setclk $wd($did(1,1),4-) } } elseif ($did == 15) { sdt q.auth.auto if ($did($did).state) { did -e $dname 825 if (%q.hosthide) { did -e $dname 127 } } else { did -b $dname 825,127 } } elseif ($did == 100) { sdt gs.auth.auto if ($did($did).state) { did -e $dname 101 if (%gs.hosthide) { did -e $dname 102 } } else { did -b $dname 101,102 } } elseif ($did == 109) { sdt gs.autoghost } elseif ($did == 20) { if ($ydialog(Do you really want to unset all bindings?)) { unset %dbc.?.* %F1 %F2 %F3 %F4 %F5 %F6 %F7 %F8 %F9 %F10 %F11 %F12 %sF1 %sF2 %sF3 %sF4 %sF5 %sF6 %sF7 %sF8 %sF9 %sF10 %sF11 %sF12 %cF6 %cF7 %cF8 %cF9 %cF10 %cF11 %cF12 fkey.ref } } elseif ($did == 73) { sdt qryevent did $iif(%qryevent,-e,-b) $dname 1924,1925,1926,1927,1928,1931 } elseif ($did == 79) { did $iif($did($did).sel,-e,-b) $dname 777 if (endlabeledit labelEdit* iswm $did($did,1)) { var %u = $cell($did,2),%c = $wd($did($did,1),3-),%k if ($did($did).sel < 33) { %k = $replace(%u,Shift+,s,Control+,c) } else { %k = $+(dbc.,$left($gettok(%u,-1,43),1),.,$iif(control isin %u,ctrl,$iif(shift isin %u,shift,def))) } if (%c) { did -oc $dname $did $did($did).sel 1 + 0 0 0 %c $+ 0 0 0 %u set % $+ %k %c } else { did -oc $dname $did $did($did).sel 1 + 0 0 0 0 0 0 %u unset % [ $+ [ %k ] ] } } } elseif ($did == 1830) { sdt news.awin did $iif($did($did).state,-e,-b) $dname 57 } elseif ($did == 329) { var %x = $$eddialog(Enter an exclude in nick!ident@host format!) if (*!*@* !iswm %x) { errdialog you have to enter an exclude in nick!ident@host format! } elseif ($hget(pexclude,%x)) { errdialog you already added this exclude! } else { hadd pexclude %x 1 hsave -ob pexclude script\tables\pexclude.tbl did -a $dname 332 %x did -e $dname 158 } } elseif ($did == 332) { did $iif($did($did).sel,-e,-b) $dname 210,330 } elseif ($did == 158) { if ($ydialog(Do you really want to remove all excludes?)) { hdel -w pexclude * hsave -ob pexclude script\tables\pexclude.tbl did -r $dname 332 did -b $dname 210,330,158 } } elseif ($did == 330) { while ($did(332).sel) { hdel pexclude $did(332).seltext did -d $dname 332 $v1 } did -b $dname 210,330 if (!$did(332).lines) { did -b $dname 158 } hsave -ob pexclude script\tables\pexclude.tbl } elseif ($did == 601) { sdt nick.comp did $iif(%nick.comp,-e,-b) $dname 42,40,41,603 } elseif ($did == 615) { sdt q.autorecmode } elseif ($did == 103) { sdt gs.autorecmode } elseif ($did == 1551) { sdt x.autorecmode } elseif ($did == 777) { var %u = $cell(79,2) if ($did(79).sel < 33) { unset % [ $+ [ $replace(%u,Shift+,s,Control+,c) ] ] } else { unset %dbc. [ $+ [ $left($gettok(%u,-1,43),1) ] $+ ] . [ $+ [ $iif(control isin %u,ctrl,$iif(shift isin %u,shift,def))) ] ] } did -o $dname 79 $did(79).sel 1 +fs 0 0 0 0 0 0 %u } elseif ($did == 825) { sdt q.hosthide did $iif($did($did).state,-e,-b) $dname 127 } elseif ($did == 101) { sdt gs.hosthide did $iif($did($did).state,-e,-b) $dname 102 } elseif ($did == 826) { sdt x.hosthide did $iif($did($did).state,-e,-b) $dname 126 } elseif ($did == 142) { sdt balloon.naw } elseif ($did == 148) { sdt getexternalip } elseif ($did == 932) { sdt nntray.act } elseif ($did == 961) { if ($did($did).sel) { loadnetdata $did($did).seltext did $iif($did($did).sel == $did($did).lines,-b,-e) $dname 972 did $iif($did($did).sel == 1,-b,-e) $dname 971 did $iif($did($did).sel,-e,-b) $dname 963 } } elseif ($did == 962) { autocon -a } elseif ($did == 963) { autocon } elseif ($did == 971) { if ($did(961).sel) { var %l = $v1,%t = $did(961).seltext did -d $dname 961 %l did -ic $dname 961 $calc(%l -1) %t set %autoconservs $didtok(961,32) if ($did(961).sel != $did(961).lines) { did -e $dname 972 } if ($did(961).sel == 1) { did -b $dname 971 } } } elseif ($did == 972) { if ($did(961).sel) { var %l = $v1,%t = $did(961).seltext did -d $dname 961 %l did -ic $dname 961 $calc(%l +1) %t set %autoconservs $didtok(961,32) if ($did(961).sel == $did(961).lines) { did -b $dname 972 } if ($did(961).sel != 1) { did -e $dname 971 } } } elseif ($did == 1315) { sdt x.auth.auto if ($did($did).state) { did -e $dname 826 if (%x.hosthide) { did -e $dname 126 } } else { did -b $dname 826,126 } } elseif ($did == 1464) { sdt totd } elseif ($did == 1532) { sdt balloon.hl } elseif ($istok(1924 1925 1926 1927 1928 1931,$did,32)) { var %v = $replace($did,1924,j,1925,q,1926,p,1927,k,1928,n,1931,o) set %qrytypes $iif($did($did).state,%qrytypes $+ %v,$remove(%qrytypes,%v)) } elseif ($did == 2024) { sdt anti.idle did $iif($did($did).state,-e,-b) $dname 2982 if (%anti.idle) { .timeraidle -io 0 %aidle.max scon -at1 aidle } else { .timeraidle off } } elseif ($did == 2025) { sdt kickcounter } elseif ($did == 267) { popdll.new popup popdll.icon iconsets\default\nns_options.ico popdll.icon iconsets\buttons\grey\brightness.ico popdll.icon iconsets\classic\options.ico popdll.icon iconsets\gartoon\68.ico popdll.icon iconsets\jaffa\Configuration Settings.ico popdll.icon iconsets\kresky\glob2.ico popdll.icon iconsets\metrox\Folder Open.ico popdll.icon iconsets\moonshine\Explorer.ico popdll.icon iconsets\megapack\circuit.ico popdll.icon iconsets\phoenity\mail.ico popdll.add popup +D 1 1 Default $cr tb.ldef Default if ($findfile(iconsets\buttons\,*.ico,1)) { popdll.add popup + 2 2 Buttons $cr tb.ldef Buttons } if ($findfile(iconsets\classic\,*.ico,1)) { popdll.add popup + 3 3 Classic $cr tb.ldef Classic } if ($findfile(iconsets\gartoon\,*.ico,1)) { popdll.add popup + 4 4 Gartoon $cr tb.ldef Gartoon } if ($findfile(iconsets\jaffa\,*.ico,1)) { popdll.add popup + 5 5 Jaffa $cr tb.ldef Jaffa } if ($findfile(iconsets\kresky\,*.ico,1)) { popdll.add popup + 6 6 kresky $cr tb.ldef kresky } if ($findfile(iconsets\metrox\,*.ico,1)) { popdll.add popup + 7 7 Metrox $cr tb.ldef Metrox } if ($findfile(iconsets\moonshine\,*.ico,1)) { popdll.add popup + 8 8 Moonshine $cr tb.ldef Moonshine } if ($findfile(iconsets\megapack\,*.ico,1)) { popdll.add popup + 9 9 MP $cr tb.ldef MP } if ($findfile(iconsets\phoenity\,*.ico,1)) { popdll.add popup + 10 10 phoenity $cr tb.ldef phoenity } popdll.disp popup } elseif ($did == 318) { popdll.new popup popdll.icon iconsets\default\nns_options.ico popdll.icon iconsets\buttons\grey\brightness.ico popdll.icon iconsets\gartoon\68.ico popdll.icon iconsets\jaffa\Configuration Settings.ico popdll.icon iconsets\metrox\Folder Open.ico popdll.icon iconsets\moonshine\Explorer.ico popdll.icon iconsets\megapack\circuit.ico popdll.add popup +D 1 1 Default $cr sb.ldef Default if ($findfile(iconsets\buttons\,*.ico,1)) { popdll.add popup + 2 2 Buttons $cr sb.ldef Buttons } if ($findfile(iconsets\gartoon\,*.ico,1)) { popdll.add popup + 3 3 Gartoon $cr sb.ldef Gartoon } if ($findfile(iconsets\jaffa\,*.ico,1)) { popdll.add popup + 4 4 Jaffa $cr sb.ldef Jaffa } if ($findfile(iconsets\metrox\,*.ico,1)) { popdll.add popup + 5 5 Metrox $cr sb.ldef Metrox } if ($findfile(iconsets\moonshine\,*.ico,1)) { popdll.add popup + 6 6 Moonshine $cr sb.ldef Moonshine } if ($findfile(iconsets\megapack\,*.ico,1)) { popdll.add popup + 7 7 MP $cr sb.ldef MP } popdll.disp popup } elseif ($did == 2074) { sdt rssticker if ($did($did).state) { did -e $dname 1828,1830,1827,1829,224,225,1814,70 if (%news.awin) { did -e $dname 57 } if ($did(224).sel) { did -e $dname 226,227 } if ($did(224).lines > 1) { did -e $dname 241 } .timernwstick -io 0 $calc(%nwstick.mins *60) newsticker } else { did -b $dname 57,1828,1830,1827,1829,224,225,226,227,1814,70,241 .timernwstick off } } elseif ($did == 2089) { sdt querystats } elseif ($did == 2311) { sdt mail.beep } elseif ($did == 2323) { prevbmp $dname 2325 344 quit 2 $did($did).seltext did $iif($did($did).sel,-e,-b) $dname 165,2327 } elseif ($did == 2326) { did -a $dname 2323 $$eddialog(Enter a new quit message!) did -e $dname 164 savebuf -o $dname 2323 script\txt\quitmsg.txt } elseif ($did == 2327) { while ($did(2323).sel) { did -d $dname 2323 $v1 } did -b $dname 165,2327 if (!$did(2323).lines) { did -b $dname 164 } savebuf -o $dname 2323 script\txt\quitmsg.txt prevbmp $dname 2325 344 quit 2 } elseif ($did == 165) { quitmsg.edit } elseif ($did == 164) { if ($ydialog(Do you really want to remove all quit messages?)) { did -r $dname 2323 did -b $dname 164,165,2327 savebuf -o $dname 2323 script\txt\quitmsg.txt prevbmp $dname 2325 344 quit 2 } } elseif ($did == 2333) { prevbmp $dname 2335 344 kick 2 $did($did).seltext did $iif($did($did).sel,-e,-b) $dname 163,2337 } elseif ($did == 159) { if ($ydialog(Do you really want to remove all kick messages?)) { did -r $dname 2333 did -b $dname 163,2337,159 savebuf -o $dname 2333 script\txt\kickmsg.txt prevbmp $dname 2335 344 kick 2 } } elseif ($did == 163) { kickmsg.edit } elseif ($did == 2336) { did -a $dname 2333 $$eddialog(Enter a new kick message!) did -e $dname 159 savebuf -o $dname 2333 script\txt\kickmsg.txt } elseif ($did == 2337) { while ($did(2333).sel) { did -d $dname 2333 $v1 } did -b $dname 163,2337 if (!$did(2333).lines) { did -b $dname 159 } savebuf -o $dname 2333 script\txt\kickmsg.txt prevbmp $dname 2335 344 kick 2 } elseif ($did == 653) { prevbmp $dname 658 344 action 2 * $me $replace($gettok($did(653).seltext,2-,58),,$randnick) did $iif($did($did).sel,-e,-b) $dname 204,655 } elseif ($did == 204) { slaps.edit } elseif ($did == 656) { var %z = $$eddialog(Enter a slap in "title: text" format.Example: "Crevasse: pushes into a crevasse") if (?*:?* iswm %z) { tokenize 58 %z did -a $dname 653 $1 $+ : $2- did -e $dname 203 saveslaps } else { errdialog slaps must be in the format "title: text", for example: "Crevasse: pushes into a crevasse" } } elseif ($did == 203) { if ($ydialog(Do you really want to remove all slaps?)) { did -r $dname 653 did -b $dname 203,204,655 prevbmp $dname 658 344 action 2 saveslaps } } elseif ($did == 210) { exclude.edit } elseif ($did == 655) { while ($did(653).sel) { did -d $dname 653 $v1 } did -b $dname 655,204 prevbmp $dname 658 344 action 2 saveslaps } elseif ($did == 2426) { sdt joinclones } elseif ($did == 2947) { sdt joincchan } elseif ($did == 1579) { var %v = %autoconserv. [ $+ [ $did($did).seltext ] ],%y = $wd(%v,1),%x if (%v) && (%y != &null) { %x = %y } if ($did($did).seltext == > All other networks) { did -ra $dname 637 Default nickname did -era $dname 81 %nick.def did -ra $dname 83 %nick.away did -b $dname 135 } else { did -e $dname 135 if (%x) { did -ra $dname 637 Default nick (from favs) did -bra $dname 81 %x } else { did -ra $dname 637 Default nickname did -era $dname 81 %nick.def. [ $+ [ $did(1579).seltext ] ] } did -ra $dname 83 %nick.away. [ $+ [ $did(1579).seltext ] ] } } elseif ($did == 306) { noop $dialog(netsel,netsel,-4) if (%netsel.result) { if (!$istok($didtok($dname,1579,44),%netsel.result,44)) { did -ac $dname 1579 %netsel.result unset %netsel.result did -e $dname 135 var %v = %autoconserv. [ $+ [ $did(1579).seltext ] ],%y = $wd(%v,1),%x if (%v) && (%y != &null) { %x = %y } if (%x) { did -ra $dname 637 Default nick (from favs) did -bra $dname 81 %x } else { did -ra $dname 637 Default nickname did -era $dname 81 %nick.def. [ $+ [ $did(1579).seltext ] ] } did -ra $dname 83 %nick.away. [ $+ [ $did(1579).seltext ] ] } else { errdialog this network is already in the list! } } } elseif ($did == 135) { if ($did(81).enabled) { unset %nick.def. $+ $did(1579).seltext } unset %nick.away. $+ $did(1579).seltext did -d $dname 1579 $did(1579).sel did -c $dname 1579 1 did -ra $dname 637 Default nickname did -era $dname 81 %nick.def did -ra $dname 83 %nick.away if ($did(1579).seltext == > All other networks) { did -b $dname $did } } elseif ($istok(123 124 125 136 324,$did,32)) { savenetdata } elseif ($did == 68) { savetitlebar } elseif ($did == 289) { var %x = $$nn.rgb(%balloon.bgrgb) set %balloon.bgrgb $chkrgb(%x) chgedcol $dname 233 %balloon.bgrgb } elseif ($did == 290) { var %x = $$nn.rgb(%balloon.txtrgb) set %balloon.txtrgb $chkrgb(%x) chgedcol $dname 234 %balloon.txtrgb } elseif ($did == 291) { var %x = $$nn.rgb(%balloon.brdrgb) set %balloon.brdrgb $chkrgb(%x) chgedcol $dname 249 %balloon.brdrgb } elseif ($did == 238) { npop.doclose -s npop Preview popupThis is a preview of your balloon tip settings! And this is some random text to make the preview more representative :-) } elseif ($did == 244) { sdt balloon.transp.en did $iif($did($did).state,-e,-b) $dname 245,246 } elseif ($istok(65 66,$did,32)) { set %mailacc. $+ $did(29).seltext $puttok(%mailacc. [ $+ [ $did(29).seltext ] ],$did(66).state,3,32) unset %mailchk. $+ $did(29).seltext mail.tref -n } elseif ($did == 62) { set %mailacc. $+ $did(29).seltext $puttok(%mailacc. [ $+ [ $did(29).seltext ] ],$did(62).state,5,32) unset %mailchk. $+ $did(29).seltext mail.tref -n } } elseif ($devent == edit) { if ($istok(304 172 279 245 229 236 216 64 11 21 23 1915 1828 170 171 172 173 174 176 177 178 179 180 193 194 195 196 197 198 316 317 318 319 320 321 322 324 325 326 327 1236 77 1340 2307 2982 999,$did,32)) { numonlyedit $dname $did } if ($did == 17) { set %q.auth.nick $did($did) } elseif ($did == 323) { set %balloon.ctrig $iif($did($did),$mkregex($v1)) } elseif ($did == 343) { var %d = $did($did) noop $regsub(%d,/^[ ]*/,,%d) $regsub(%d,/[ ]*$/,,%d) if (%d) && (!$istok($didtok(331,1),%d,1)) { var %o = $encode(%game.oldtitle,m),%n = $encode(%d,m) did -oc $dname 331 $did(331).sel %d set %game. $+ %n $+ .added 1 set %game. $+ %n $+ .path %game. [ $+ [ %o ] $+ ] .path set %game. $+ %n $+ .cmdline %game. [ $+ [ %o ] $+ ] .cmdline set %game. $+ %n $+ .setaway %game. [ $+ [ %o ] $+ ] .setaway set %game. $+ %n $+ .awaynick %game. [ $+ [ %o ] $+ ] .awaynick set %game. $+ %n $+ .awaymsg %game. [ $+ [ %o ] $+ ] .awaymsg set %game. $+ %n $+ .favs %game. [ $+ [ %o ] $+ ] .favs unset %game. [ $+ [ %o ] $+ ] .* set %game.oldtitle %d } } elseif ($did == 344) { set %game. [ $+ [ $encode($did(331).seltext,m) ] $+ ] .path $did($did) } elseif ($did == 345) { set %game. [ $+ [ $encode($did(331).seltext,m) ] $+ ] .cmdline $did($did) } elseif ($did == 346) { set %game. [ $+ [ $encode($did(331).seltext,m) ] $+ ] .awaynick $did($did) } elseif ($did == 357) { set %game. [ $+ [ $encode($did(331).seltext,m) ] $+ ] .awaymsg $did($did) } elseif ($did == 5) { set %bln.xoffset $iif($did(5) isnum,$v1,0) } elseif ($did == 129) { set %bln.yoffset $iif($did(129) isnum,$v1,0) } elseif ($did == 81) { if ($did(1579).seltext == > All other networks) { set %nick.def $did($did) } elseif ($did($did)) { set %nick.def. $+ $did(1579).seltext $did($did) } else { unset %nick.def. $+ $did(1579).seltext } } elseif ($did == 83) { if ($did(1579).seltext == > All other networks) { set %nick.away $did($did) } elseif ($did($did)) { set %nick.away. $+ $did(1579).seltext $did($did) } else { unset %nick.away. $+ $did(1579).seltext } } elseif ($did == 1236) { set %auto.awaytime $iif($did($did),$calc($v1 *60),3000) } elseif ($did == 77) { set %lag.chk.delay $iif($did($did) isnum 5-,$v1,5) lagchktimer } elseif ($did == 1340) { set %lag.chk.len $iif($did($did) isnum 10-,$v1,1000) drawrect -nrf @lagbar %tb.lagcol.bg 1 0 0 100 22 toolbar.dlaghist } elseif ($did == 77) { } elseif ($did == 172) { set %titlebar.cint $iif($did($did) isnum 1-,$v1,1) titlebar.ctmr } elseif ($did == 96) { set %gs.auth.nick $did($did) } elseif ($did == 2304) { set %mailacc. $+ $did(29).seltext $puttok(%mailacc. [ $+ [ $did(29).seltext ] ],$iif($remove($did($did),$chr(32)),$v1,&null),1,32) unset %mailchk. $+ $did(29).seltext mail.tref -n } elseif ($did == 2305) { set %mailacc. $+ $did(29).seltext $puttok(%mailacc. [ $+ [ $did(29).seltext ] ],$iif($remove($did($did),$chr(32)),$v1,&null),2,32) unset %mailchk. $+ $did(29).seltext mail.tref -n } elseif ($did == 2306) { set %mailacc. $+ $did(29).seltext $puttok(%mailacc. [ $+ [ $did(29).seltext ] ],$iif($did($did),$encode($did($did)),&null),4,32) unset %mailchk. $+ $did(29).seltext mail.tref -n } elseif ($did == 279) { set %maxwhousers $did($did) } elseif ($did == 245) { set %balloon.transp $iif($int($calc((100- $did($did)) *2.55)) isnum 0-255,$v1,200) } elseif ($did == 236) { set %balloon.width $iif($did($did) < 100,250,$did($did)) } elseif ($did == 229) { set %balloon.delay $iif($did($did) isnum,$v1,5) } elseif ($did == 216) { set %paste.breaklines.bytes $iif($did($did) >= 10,$v1,500) } elseif ($istok(92 120 121 122,$did,32)) { savenetdata } elseif ($did == 517) { sns.save } elseif ($did == 518) { sns.save } elseif ($did == 41) { set %nickcomp.format $did($did) prevbmp $dname 43 146 own 2 $replace($did($did),,$randnick) sample text } elseif ($did == 11) { set %pastedelay.ms $iif($did($did),$v1,2000) } elseif ($did == 21) { set %pasteminlinedelay.num $iif($did($did) > 0,$v1,1) } elseif ($did == 23) { set %pasteminlinedelay.bytes $iif($did($did) > 1,$v1,2) } elseif ($did == 1915) { set %qcls.secs $calc($iif($did($did),$v1,15) *60) } elseif ($did == 18) { set %pass.q $encode($did($did)) } elseif ($did == 97) { set %pass.gs $encode($did($did)) } elseif ($did == 603) { set %nick.comp.chr $iif($did($did),$v1,:) } elseif ($did == 1317) { set %x.auth.nick $did($did) } elseif ($did == 1318) { set %pass.x $encode($did($did)) } elseif ($did == 1828) { set %nwstick.mins $iif($did($did),$v1,5) .timernwstick -io 0 $calc(%nwstick.mins *60) newsticker } elseif ($did == 2307) { set %mail.delay $iif($did($did) !isnum 1-999,300,$calc($did($did) *60)) .timermailchk -io 0 %mail.delay checkmail } elseif ($did == 2323) { prevbmp $dname 2325 344 quit 2 $did($did) } elseif ($did == 2333) { prevbmp $dname 2335 344 kick 2 $did($did) } elseif ($did == 653) { if (?*:?* iswm $did(653)) { prevbmp $dname 658 344 action 2 * $me [ [ $replace($gettok($did(653),2-,58),,$randnick) ] ] } else { prevbmp $dname 658 344 info 2 Invalid slap format. } } elseif ($did == 2901) { set %sbr.format $did(2901) prevbmp settings 2902 200 own 2 $replace($did(settings,2901),,OS) Windows $os } elseif ($did == 2982) { set %aidle.max $iif($did($did) < 10 || $did($did) !isnum,10,$did($did)) .timeraidle -io 0 %aidle.max scon -at1 aidle } } elseif ($devent == close) { var %i = $did(110).lines,%c,%s while (%i > 1) { var %c = $cell(110,%i,1),%s = $calc($wd($did(110,%i),5) -1) if (%c == CTCPflood) { set %pprot.ctcpflood %s } elseif (%c == Inviteflood) { set %pprot.inviteflood %s } elseif (%c == Noticeflood) { set %pprot.noticeflood %s } elseif (%c == Queryflood) { set %pprot.queryflood %s } elseif (%c == Textflood) { set %pprot.textflood %s } elseif (%c == Ban) { set %pprot.ban %s } elseif (%c == Spam) { set %pprot.spam %s } elseif (%c == Highlightflood) { set %pprot.highlightflood %s } dec %i } unset %game.oldtitle cprot.setsave rss.setsave savetitlebar if (%rssticker) { newsticker } } } alias setup { nndlg -mh settings if ($1 == -c) { did -i settings 1 1 branch expand $3 did -i settings 1 1 cb root 2 $3 did -c settings 1 $2 setclk 2 $3 $2 } } alias settings.drawicon { var %w = @sprev.settings. $+ $1,%f = $mkfullfn($2-) if (!$window(%w)) { ppwin settings $1 } drawrect -nrf %w $rgb(face) 1 0 0 100 100 if ($isfile(%f)) { drawpic -ns %w $int($calc(($window(%w).w -16)/2-1)) $int($calc(($window(%w).h -16)/2-1)) 16 16 %f } drawdot %w } alias setclk { var %t if ($1- == 2) { var %t = 1000 Logo } elseif ($1- == 2 2) { %t = 1001 Auth settings } elseif ($1- == 2 2 2) { %t = 986 Chan/NickServ settings } elseif ($1- == 2 2 3) { %t = 90 GameSurge/AuthServ auth settings } elseif ($1- == 2 2 4) { %t = 900 QuakeNet/Q auth settings } elseif ($1- == 2 2 5) { %t = 987 UnderNet/X identify settings } elseif ($1- == 2 3) { %t = 1001 Awaysystem } elseif ($1- == 2 3 2) { %t = 1263 Awaysystem - Log/Pager } elseif ($1- == 2 3 3) { %t = 1264 Awaysystem - Messages } elseif ($1- == 2 3 4) { %t = 1265 Awaysystem - Miscellaneous } elseif ($1- == 2 4) { %t = 1001 Balloon tips } elseif ($1- == 2 4 2) { %t = 247 Balloon tips - General settings } elseif ($1- == 2 4 3) { %t = 248 Balloon tips - Trigger events } elseif ($1- == 2 5) { %t = 903 Bindings } elseif ($1- == 2 6) { %t = 149 Content ignore } elseif ($1- == 2 7) { %t = 956 Favorite nets } elseif ($1- == 2 8) { %t = 326 Games } elseif ($1- == 2 9) { %t = 1001 Lag/Toolbar } elseif ($1- == 2 9 2) { %t = 264 Toolbar - General settings } elseif ($1- == 2 9 3) { %t = 263 Toolbar - Customize } elseif ($1- == 2 10) { %t = 237 Mail-check } elseif ($1- == 2 11) { %t = 1001 Messages } elseif ($1- == 2 11 2) { %t = 982 Kick messages } elseif ($1- == 2 11 3) { %t = 983 Quit messages } elseif ($1- == 2 11 4) { %t = 139 Slaps } elseif ($1- == 2 12) { %t = 1001 Miscellaneous } elseif ($1- == 2 12 2) { %t = 1921 Miscellaneous (1) } elseif ($1- == 2 12 3) { %t = 1993 Miscellaneous (2) } elseif ($1- == 2 13) { %t = 1812 Newstickers } elseif ($1- == 2 14) { %t = 82 Pasting options } elseif ($1- == 2 15) { %t = 1001 Protections } elseif ($1- == 2 15 2) { %t = 910 Channel protections } elseif ($1- == 2 15 3) { %t = 911 Personal protections } elseif ($1- == 2 15 4) { %t = 1992 Protection excludes } elseif ($1- == 2 16) { %t = 119 Switchbar } elseif ($1- == 2 17) { %t = 308 Themes } elseif ($1- == 2 18) { %t = 984 Titlebar } else { return } tokenize 32 %t if ($1 == 1001) { did -ra settings 190 $2- } did -f settings $1 $+ ,1 dialog -t settings NoNameScript %version settings - $2- [/setup] } ; 末末末末末末末末末末末末末末末末末末末末 ; End of file ; 末末末末末末末末末末末末末末末末末末末末