To start using the script type /fightset and follow the
input windows. To use on users fighting type /fight nick1 nick2
and the will automatically be joined to the designated fight
channel. If/when the conflict is resolved then /resolve will
unset and notify the users.
Also if you have a chance or some extra time come to our Network.
Akuma.EvangelionIRC.com
MUST BE IRCOP TO USE
last if statement's credit goes to Jethro_
# ~~~~~~~~~~~~~~~~~===========Custom made for EvangelionIRC===========~~~~~~~~~~~~~~~~~
# ~~~~~~~~=====/server -m Akuma.EvangelionIRC.com 6667 (+6697 for SSL)=====~~~~~~~~
on 1:LOAD:{
echo Thank you for loading Google's Fight Resolution script
echo To start using the script type /fightset and follow the
echo input windows. To use on users fighting type /fight nick1 nick2
echo and they will automatically be joined to the designated fight
echo channel. If/when the conflict is resolved then /resolve will
echo unset and notify the users.
echo Also if you have a chance or some extra time come to our Network.
echo 9Akuma.EvangelionIRC.com
}
menu nicklist {
-
.Fight
..Fighting:fight $1 $2
..Resolved:resolve
..FightSet:fightset
}
alias Fightset {
set %nofightchan $?="What is the channel that fights are not allowed in?"
set %fightchan $?="What is the channel that fighters are forced to join?"
Echo -a 11,15 Settings have been written!
}
alias fight {
set %fight1 $$1
set %fight2 $2
notice $1 There was a fight detected in %nofightchan between you and %fight2 $+ . The channel you are currently joining will be permanent until you resolve your problems with %fight2 $+ .
notice $2 There was a fight detected in %nofightchan between you and %fight1 $+ . The channel you are currently joining will be permanent until you resolve your problems with %fight1 $+ .
sajoin $1 %nofightchan
sajoin $2 %nofightchan
sajoin $1 %fightchan
sajoin $2 %fightchan
}
alias resolve {
notice %fight1 Your conflict with %fight2 seems to be resolved. You may now join %nofightchan again.
notice %fight2 Your conflict with %fight1 seems to be resolved. You may now join %nofightchan again.
unset %fight1
unset %fight2
}
on *:JOIN:%nofightchan: {
if ($istok(%fight2 %fight1,$nick,32)) { sapart $nick %nofightchan }
}