Retribution V101 : Syndicate — File Browser

RetributionSyndicatev1.01 / RetributionSyndicatev1.01 / System / Syndicate / dalnet.mrc

dalnet.mrc — 7.37 KB — Download this file

;[----------------------------------------------------------------------]
;[	Name	: Syndicate : Retribution V101				]
;[	Support	: DefCon Industries					]
;[	Author	: Risc							]
;[									]
;[	This Code, Content, is CopyRight 1999 : DefCon Industries	]
;[	No Copying, Ripping, or calling this Code your own		]
;[									]
;[----------------------------------------------------------------------]

;[ Dalnet Commands ]
alias mnv .msg nickserv@services.dal.net $1-
alias mmv .msg memoserv@services.dal.net $1-
alias mcv .msg chanserv@services.dal.net $1-

alias nickpass {
  if ($1 == $null) { 
    set %tmpnickpass $readini $mircdirsistema\password.lst NickServ $me 
    if (%tmpnickpass == $null) echo 4 you dont have the password configured for $me 
    else echo 4 the password for nickserv for me is $me es2 %tmpnickpass 
  }
  elseif ($1 == set) { 
    set %tmpnickpass $readini $mircdirsistema\password.lst NickServ $me 
    if (%tmpnickpass != $null) echo 12 The password of NickServ para $me is established. Use the "Change" option to change it  
    else { writeini $mircdirsistema\password.lst NickServ $me $2 | echo 12 the passwor for NickServ for $me is2 $2 }      
  }
  elseif ($1 == change) {
    set %tmpnickpass $readini $mircdirsistema\password.lst NickServ $me  
    if (%tmpnickpass == $null) { echo 12 the password for NickServ for $me is not established | echo 12 Use the option "Establish" to put it }
    elseif ($2 == %tmpnickpass) echo 12 The password is established as2 $2 
    else { writeini $mircdirsistema\password.lst NickServ $me $2 | echo 12 The password of NickServ was changed from3 $+ %tmpnickpass 1to2 $2 | mnv IDENTIFY $2
    echo 12 Continuing to identify NickServ using new password | .enable #waiting }
  }
  elseif ($1 == identify) {
    set %tmpnickpass $readini $mircdirsistema\password.lst NickServ $me
    if (%tmpnickpass == $null) echo 4 there is no password from NickServ established for $me 
    else { mnv identify %tmpnickpass
    echo 12 Continuing to identify NickServ using password | .enable #waiting }
  }
}  
on 1:NOTICE:*<password>*:*: {
  if (($nick == NickServ) && (dal isin $server)) { 
    nickpass identify
  } 
}

#waiting off
on 1:NOTICE:*accepted*:*: { if ($nick == NickServ) .disable #waiting }
on 1:NOTICE:*incorrect*:*: {
  if ($nick == NickServ) { .disable #waiting
  echo 4 the guarded password to identify NickServ as $me is incorrect. Procede to change it and identify again. }
}
#waiting end

menu status {
  Dalnet:
  .Identify NickServ as $me : /nickpass identify
  .See password for $me : /nickpass
  .Establish Password for $me : /nickpass set $$?="Put password"
  .Cambiar password para $me : /nickpass change $$?="Put password"
  .-
  .Establish channel -=[ %scychann ]=- : /set %scychann #$$?="Channel? (without #):"  .-
  .-
  .Helpserv:/msg helpserv help $$?="Help over what command?"
  .MemoServ
  ..List of Memo(s):mmv list
  ..Read Memo:mmv read $$?="Write number of message:"
  ..-
  ..Send Memo to user:mmv SEND $$?="Put the Nick:" $$?="Write message:"
  ..Send Memo to channel:mmv send %scychann $$?="Write message:"
  ..Send Memo to Sop:mmv sendsop %scychann $$?="Write message:"
  ..-
  ..Check fowarded memos of this nick:mmv forward
  ..Forward memos of this nick:mmv forward $$?="Foward memos to witch nicks?"
  ..Disactivate foward memos of this nick:mmv forward -
  ..-
  ..Erase Memo:mmv del $$?="Write number of message:"
  ..Erase all memos:mmv del ALL
  ..Undel memo:mmv undel $$?="Write number of message:"
  ..Purge memos:mmv purge
  ..-
  ..Memoserv Help:mmv help $$?="Write command you want help on:"
  .NickServ
  ..Register nick:mnv register $$?="Password:"
  ..Identify Nick:mnv identify $$?="Password:"
  ..Access Masks
  ...See mask list of access:mnv access list
  ...Erase mask from access list:mnv access del $$?="Write mask to erase:"
  ...Add mask to access list:mnv access add $$?="Write mask to add:"
  ...Erase access list:mnv access wipe
  ..Access: mnv acc $$?="Nick:"
  ..Recuperate: mnv recover $$?="Nick:" $?="password:"
  ..Kill GhostNick:mnv ghost $$?="Put nick:" $?="password:"
  ..Drop nick:mnv drop $$?="Nick?"
  ..List:mnv list $$?="Nick or mask to search:"
  ..Nick information:mnv info $$?="from what nick?"
  ..Unblock: mnv release $$?="Nick:" $?="password:"
  ..Configurate
  ...Kill nick:mnv set kill $$?="On or Off?"
  ...Disactivate memos: mnv set nomemo $$?="On or Off?"
  ...Require id:mnv set secure $$?="On or Off?"
  ...Prevent from beeing added to AOP/SOP lists: mnv set noop $$?="On or Off?"
  ...Change password:mnv set passwd $$?="New password:"
  ...Change URL:mnv set url $$?="New URL:"
  ...Change E-mail:mnv set email $$?="New Email:"
  ..Help on NickServ:mnv help $$?="Write command you want help on:"
  .ChanServ
  ..Register new channel:mcv register $$?="Channel name:" $$?="password for channel:" $$?="Channel Description:"
  ..SOP
  ...Put new SOP in channel list:mcv SOP %scychann ADD $$?="Put nick:"
  ...Erase SOP from channel list:mcv SOP %scychann DEL $$?="Put number of SOP to erase:"
  ...List of SOPs from channel:mcv sop %scychann list
  ...Erase SOP List:mcv sop %scychann wipe
  ...Erase SOPs not registerd:mcv sop %scychann clean
  ..AOP
  ...Put new AOP in channel list:mcv AOP %scychann ADD $$?="Put nick:"
  ...Erase AOP from channel list:mcv AOP %scychann DEL $$?="Put number of AOP to erase:"
  ...List of AOPs of channel:mcv aop %scychann list
  ...Erase AOP list:mcv aop %scychann wipe
  ...Erase non registerd AOPs of channel:mcv aop %scychann clean
  ..Auto Kick
  ...Add autokick in channel:mcv AKICK %scychann ADD $$?="write nick or ip of auto kick"
  ...Borrar un Auto Kick en el Canal:mcv AKICK %scychann DEL $$?="Write nick to remove autokick"
  ...Auto Kick list in channel:mcv AKICK %scychann LIST
  ...Erase Auto kick list:mcv AKICK %scychann wipe
  ..Count AOPs/SOPs/AKICKs:mcv count %scychann
  ..Erase channel (only founder):mcv drop $$?="Channel name:"
  ..Identify ass channel founder:mcv identify %scychann $$?="Password?:"
  ..Channel information:mcv info %scychann
  ..Invite: mcv invite %scychann $$?="Nick:"
  ..Op: mcv op %scychann $$?="Nick:"
  ..DeOp: mcv op %scychann - $+ $$?="Nick:"
  ..Unban:mcv unban %scychann $$?="me (ME) or all (ALL)"
  ..See access: mcv access %scychann $?="Nick:"
  ..List:mcv list $$?="search string:"
  ..MassKick: mcv mkick %scychann
  ..MassDeOp: mcv mdeop %scychann
  ..Configurate
  ...Change founder: mcv set %scychann founder
  ...Change channel password (only Founder):mcv set %scychann passwd $$?="New channel password?:"
  ...Description: mcv set %scychann desc $$?="Description:"
  ...Ident: mcv set %scychann ident $$?="On or Off?"
  ...Mode block:mcv set %scychann mlock $$?="Put channel modes to block (-+smtinlpk):"
  ...OpGuard:mcv set %scychann opguard $$?="On or Off?"
  ...Maintain topic:mcv set %scychann keeptopic $$?="On or Off"
  ...New Url: mcv set %scychann url $$?="New URL:"
  ...Topic Block:mcv set %scychann topiclock $$?="Founder, SOP, or OFF"
  ...Leave Ops:mcv set %scychann leaveops $$?="On or Off?"
  ...UnSecure:mcv set %scychann unsecure $$?="On or Off?"
  ...Private:mcv set %scychann private $$?="On or Off?"
  ...Restrict:mcv set %scychann restrict $$?="On or Off?"
  ...Change memo levels: mcv set %scychann memo $$?="Founder, AOP, SOP, u None"
  ..Chanserv help:mcv help $$?="write command to get help on:"
}