From: Gabriel B. <sh...@us...> - 2006-03-18 05:37:07
|
Update of /cvsroot/solidircd/solidircd-stable/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5428/src Modified Files: glines.c s_serv.c toys.c Log Message: added some cool stuff for elmer and freeze. Index: toys.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/toys.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** toys.c 26 Dec 2005 05:21:38 -0000 1.3 --- toys.c 18 Mar 2006 05:37:00 -0000 1.4 *************** *** 212,215 **** --- 212,220 ---- if (IsServer(cptr)) { + + #ifdef MAGICWAND_ELMER + + sendto_one(acptr, ":%s NOTICE %s :*** You have now adquired a new vocabulary.", me.name, parv[1], parv[0]); + #endif sendto_serv_butone(cptr, ":%s ELMER :%s", me.name, parv[1]); return 0; *************** *** 250,253 **** --- 255,264 ---- if (IsServer(cptr)) { + + #ifdef MAGICWAND_SILLY + + sendto_one(acptr, ":%s NOTICE %s :*** You have now adquired an new vocabulary. ", me.name, parv[1], parv[0]); + #endif + sendto_serv_butone(cptr, ":%s SILLY %s", me.name, parv[1]); return 0; *************** *** 289,292 **** --- 300,308 ---- if (IsServer(cptr)) { + + #ifdef MAGICWAND_NORMAL + + sendto_one(acptr, ":%s NOTICE %s :*** You have been returned to normality.", me.name, parv[1], parv[0]); + #endif sendto_serv_butone(cptr, ":%s NORMAL %s", me.name, parv[1]); return 0; Index: glines.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/glines.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** glines.c 18 Mar 2006 00:36:03 -0000 1.5 --- glines.c 18 Mar 2006 05:37:00 -0000 1.6 *************** *** 208,215 **** if (tgminutes) - #if 0 - sendto_one(target, ":%s NOTICE %s :*** %s waves a magic wand " - "and g-lines you",me.name, parv[1], parv[0]); - #endif sendto_realops("%s added temporary %d min. "NETWORK_GLINE_NAME" for" " [%s@%s] [%s]", parv[0], tgminutes, user, host, --- 208,211 ---- *************** *** 217,224 **** else - #if 0 - sendto_one(target, ":%s NOTICE %s :*** %s waves a magic wand " - "and g-lines you",me.name, parv[1], parv[0]); - #endif sendto_realops("%s added "NETWORK_GLINE_NAME" for [%s@%s] [%s]", parv[0], user, host, reason); --- 213,216 ---- Index: s_serv.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_serv.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** s_serv.c 18 Mar 2006 00:36:03 -0000 1.16 --- s_serv.c 18 Mar 2006 05:37:00 -0000 1.17 *************** *** 4186,4192 **** target->user->special_mode = 3; ! #if 0 ! sendto_one(target, ":%s NOTICE %s :*** %s waves a magic wand " ! "and freezes you",me.name, parv[1], parv[0]); #endif sendto_ops("%s (%s@%s) added SILENT FREEZE on [%s]", sptr->name, --- 4186,4195 ---- target->user->special_mode = 3; ! ! #ifdef MAGICWAND_FREEZE ! ! ! sendto_one(target, ":%s NOTICE %s :*** A magic wand has been waved over" ! " your head and frozen you",me.name, parv[1], parv[0]); #endif sendto_ops("%s (%s@%s) added SILENT FREEZE on [%s]", sptr->name, *************** *** 4253,4257 **** target->user->special_mode = 0; ! #if 0 sendto_one(target, ":%s NOTICE %s :*** %s waves a magic wand " "and returns you to normality", me.name, parv[1], parv[0]); --- 4256,4261 ---- target->user->special_mode = 0; ! #ifdef MAGICWAND_FREEZE ! sendto_one(target, ":%s NOTICE %s :*** %s waves a magic wand " "and returns you to normality", me.name, parv[1], parv[0]); |