TD42220.mod Famine #1 @3659 Mon Feb 22 11:45:46 1993 Someone was looking for this mod and I thought sence I have it on my system and have udes it since 4.20 I would leave it here for those who need it. I know Sysop Weasle wantined this mod. But I didn't remember his node number. ProNET ]I[ 1@1 WWIVLink 1@13655 WWIVNet 1@3654 IceNET 1@3659 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³_MOD NAME_______|_Agreement_terms_mod.____________________________________³ ³_MOD_FILENAME___|_________________________________________TD42220.MOD_____³ ³_MOD AUTHOR_____|_The_Famous_Director_of_Duece_Coupe_Inc._________________³ ³_WRITEN FOR_____|_Whoever_wants_it._______________________________________³ ³_VERSION WWIV___|_4.20,_4.20e,_4.21,_4.21a,_4.22__________________________³ ³_FILES AFFECTED_|_NEWUSER.C,______________________________________________³ ³_Installation___|_Just_block_copy.________________________________________³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Duece Coupe Inc. (C)1992 1993 by Che G and Lee J. Description of mod: This is a mod that will print out files to your NEW users and will ask them if they agree with the terms/regulations/rules you set forth for your bbs. You will need three (3) files named "AGREE1.MSG, AGREE2.MSG, and AGREE3.MSG". This mod will not save any information of a new user unless she/he/it agrees to all three term messages. So you don't have to worry about deleting some- ones account if the BBS didn't do it. This will ask them if they agree to the terms and if they chose "Y", it will go to the next agreement term file. If they chose "Y" again, it will go to the third file. Although if they chose "N" at any prompt, it will hangup on them and go back to WFC screen. Also the '1j0 ' is for the printfile routine and needs to be there for a reason, this will keep the users from aborting the messages that you chose for your NEW USERS and if they try to space bar the screen/rules it will do nothing but re-print them until they quit trying to abort them. If you like this mod and want more of DCI mods, leave us a message and we will send a listing of mods available to all SYSOPS/#1 accounts ONLY! I have always wanted this mod and I haven't seen it around anywhere ( I have 400+ mods on my BBS and this one is not in any of them (Now it is!)). To whom ever it was that wanted this mod (Sorry I don't remeber your name) here it is, so enjoy. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ LEGEND ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³+ Means add line ³ ³- Means delete line ³ ³! Means modify line ³ ³= Means original code³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ First step: BACK up your source code! Second step: Load up NEWUSER.C and search for 'void input_name(void). */ /* =void input_name(void) ={ ! int ok,count,j; // add the j for the vars = = count=0; = do { = nl(); = ansic(1); = if (syscfg.sysconfig & sysconfig_no_alias) = pl(get_string(520)); = else {--------------------- Start of TD42220.MOD ------------------------------} {--------------------- Start of BLOCK READ ------------------------------} + do { + outchr(12); + j=printfile("AGREE1.EEA"); + if (!j) { + nl(); + delay(10); + } + } while (j); + outstr("hDo you agree to these terms ? ");0 + if (yn()); + else + hangup=1; + do { + outchr(12); + j=printfile("AGREE2.EEA"); + if (!j) { + nl(); + delay(100); + } + } while (j); + outstr("hDo you agree to these terms ? ");0 + if (yn()); + else + hangup=1; + do { + outchr(12); + j=printfile("AGREE3.EEA"); + if (!j) { + nl(); + delay(10); + } + } while (j); + outstr("hAnd these as well ? ");0 + if (yn()); + nl(); + else + hangup=1; = pl(get_string(521)); = prt(2,":"); = mpl(30); = input(thisuser.name,30); = ok=check_name(thisuser.name); = if (!ok) { = nl(); = ansic(6); = pl(get_string(522)); = ++count; = if (count==3) = hangup=1; = } = } while ((!ok) && (!hangup)); =} This mod is the sole property of DCI (c) 1992 1993 by DCI. You are hereby granted the right to implement this code into your source for reasons given above. Any reproduction of this mod , rather it be cosmetic or otherwise, is stricly prohibited without the authors permission! That's it, now recompile and log on as a new user and try to abort the first file and then chose "N" and you will find yourself re-logging on. Then try to hit ENTER and see what happens, it should hangup also. DCI warrents all mods from defects from DCI. Although if this mod destroys your hard/software, DCI can not and will not be held responciable due to operator error installing this mod into their sorce 'C' code of WWIV or any other 'C' code. Notice is hereby given that if any part of DCI mods are reproduced without the prior writen consent and permission of DCI and thier affiliates will take step necessary to bring charges towards said person(s). d c________0 n dTheuFamous2Director0 d c~~~~~~~~~~~~~~~~~0 0 __4_____ __ __ __ __ __0_______________________ 7{_}4 /_ 316 /_ 942 /_/ 9446 /_/ /_/ /_ 3 WWIVlink 1 @ 13655 7{_} 7{_}4 /_ lectric /_ agle / / rcade /_/ú/_/ú__/ú3 IceNET 1 @ 3659 7{_}