Retribution V101 : Syndicate — File Browser
RetributionSyndicatev1.01 / RetributionSyndicatev1.01 / System / Syndicate / clone.mrc
clone.mrc — 10.82 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 ]
;[ ]
;[----------------------------------------------------------------------]
on *:start:{ set %clone_logo [Syndicate Cloner] | unset %C_s | unset %c_n | unset %n_c_f | unset %other_command | unset %j_p_c | %f_c_m | unset %c_c_m }
alias clone_help {
window @Cloner_Help/Readme
echo @Cloner_Help/Readme [Welcome]
echo @Cloner_Help/Readme First of all Welcome to the %clone_logo
echo @Cloner_Help/Readme You need to unzip this to your mircdir such has c:\mirc
echo @Cloner_Help/Readme [Note 1]
echo @Cloner_Help/Readme For the 'Die' command you have to click on the clone you want to 'Die' in the list
echo @Clone_Help/Readme [Note 2]
echo @Cloner_Help/Readme You HAVE to run the Setup Before Loading Any clones
echo @Cloner_Help/Readme [Note 3]
echo @Cloner_Help/Readme You HAVE to put the RAW form of the commands in the 'Other Commands' section
echo @Cloner_Help/Readme [Note 4]
cho @Cloner_Help/Readme If you get the error * /dialog: 'clone' name in use .. Then look at the windows taskbar, at the programs running it[the dialog] should be there, its nothing to worry about
echo @Cloner_Help/Readme [Some Bugs]
echo @Cloner_Help/Readme Ok, There is one bug I know of, you can't load more than 1 clone at a time.. I'm sorry about it, and i'm trying to fix it.
echo @Cloner_Help/Readme [Note 5] you can keep loading 1 clone at a time REALLY fast :)
echo @Cloner_Help/Readme [Suggestions or Comments]
echo @Cloner_Help/Readme If you have any suggestions or comments, please let me know, email me at v777@netcape.net
echo @Cloner_Help/Readme [Use this wisely]
echo @Cloner_Help/Readme This is a wingate cloner, and a normal one, it just depends on the way you use it...
echo @Cloner_Help/Readme Please do Not get Anyone k-lined, akilled, pakilled, ect.
}
alias clone { inc %c_s | sockopen Viper[ $+ %c_s $+ ] $1 $2 }
on 1:sockclose:Viper[*]:{
if ($dialog(clone) == $false) { .timer 1 0 /dialog -dm clone clone | did -ra Clone 13 [Closed] $sockname | did -ra Clone 13 Â | else did -ra Clone 13 [Closed] $sockname | did -ra Clone 13 Â }
.timer 1 4 /did -ra clone 13 Â
}
on 1:sockopen:Viper[*]:{
echo -a [Clone opened to[ $+ $sockname $+ [ $+ $sock($sockname).ip $+ ]
.sockwrite -n $sockname %clnserv %clnport
.sockwrite -n $sockname user Viper Viper Viper Viper Viper
.sockwrite -n $sockname nick Viper[ $+ %c_s $+ ]
.sockwrite -n $sockname join %clnchan
.timer 1 1 /did -a Clone 3 Viper[ $+ %c_s $+ ]
}
dialog Clone {
title "Syndicate Cloner : DefCon Industries [Risc]", 1 10 10 10
size -1 -1 368 260
box "Clone(s) Loaded" 4, 5 5 140 110
box "The number of clones to load",5, 5 130 140 50
list 3, 10 20 130 100
edit "", 2, 30 148 80 20,autohs
button "&Setup",8, 5 200 75 25
button "&Load Clone(s)",9, 95 200 75 25
box "Commands",10, 200 5 140 175
button "&Die",11, 219 23 105 25
button "&Channel Commands",12, 219 63 105 25
button "&Flood Commands",16, 219 103 105 25
button "&Other Commands",17, 219 143 105 25
button "OK",25, 195 200 75 25, ok
button "Cancel",26, 285 200 75 25, cancel
text "" 13, 15 235 336 200
}
on 1:dialog:Clone:*:*:{
if ($devent == init) {
set %clone_logo [Syndicate Cloner]
did -ra Clone 13 [Initiating] Clone Dialog
.timer 1 2 /did -ra Clone 13 [Initiation] Complete
.timer 1 3 /did -ra Clone 13 [Note] Go To Setup Before Trying To Load Clones
.timer 1 6 /did -ra Clone 13 Â
unset %clone_Number
unset %clnserv
unset %clnport
unset %clnchan
}
if ($devent == edit) {
if ($did == 2) { set %clone_number $did(2).text }
}
if ($devent == sclick) {
if ($did == 9) && ($did(2).text == $snull) { did -ra Clone 13 [Error] You need to put the number of clones you want to load }
elseif ($did == 9) { .timer %clone_number 0 //clone %clnserv %clnport | did -ra Clone 13 [Loading] %clone_number Clone(s) to %clnserv Port # %clnport | .timer 1 5 /did -ra clone 13 Â }
if ($did == 8) { .timer 1 0 /dialog -m clone_setup clone_setup }
if ($did == 11) && ($did(3),sel != $null) { halt }
elseif ($did == 11) { .sockwrite -n $did(Clone,3,$did(Clone,3).sel).text quit : $+ %clone_logo by Shad0w | did -d $dname 3 $did(3).sel }
if ($did == 12) { .timer 1 0 /dialog -m c_c c_c }
if ($did == 16) { .timer 1 0 /dialog -m f_c f_c }
if ($did == 17) { .timer 1 0 /dialog -m Other_commands Other_commands }
}
if ($devent == dclick) {
if ($did == 3) { .timer 1 0 /dialog -m clone_setup clone_setup }
}
}
dialog clone_setup {
title "Syndicate Cloner : [Risc]"
size -1 -1 280 180
box "Clone Setup",1, 10 5 230 115
text "Server",3, 25 20 80 20
edit "", 2, 35 35 80 20,autohs
text "Port #" ,4, 150 20 80 20
edit "", 5, 140 35 80 20,autohs
edit "", 7, 90 87 80 20,autohs
text "Channel To Join" ,8, 65 67 80 20
button "<-- Back",9, 5 135 75 25
button "OK",10, 95 135 75 25,ok
button "Cancel",11, 185 135 75 25, cancel
}
on 1:dialog:clone_setup:*:*:{
if ($devent == init) {
unset %clnserv
unset %clnport
unset %clnchan
if ($dialog(clone) == $false) { .timer 1 0 /dialog -dm clone clone | did -ra Clone 13 [Opening] Setup | else did -ra Clone 13 [Opening] Setup }
.timer 1 2 /did -ra Clone 13 Â
}
if ($devent == edit ) {
if ($did == 2 ) { set %clnserv $did(2).text }
if ($did == 5 ) { set %clnport $did(5).text }
if ($did == 7 ) { set %clnchan $did(7).text }
}
}
if ($devent == sclick) {
if ($did == 9) { .timer 1 0 /dialog -dm clone clone }
if ($did == 10) && ($did(2).text == $null) { /did -ra Clone_setup 3 [Error] You Need To Run The Setup }
elseif ($did == 10) && ($did(5).text == $null) { /did -ra Clone_setup 3 [Error] You Need To Run The Setup }
elseif ($did == 10) && ($did(7).text == $null) { /did -ra Clone_setup 3 [Error] You Need To Run The Setup }
}
dialog f_c {
title "[Syndicate CloneR] By Risc"
size -1 -1 350 180
radio "Ctcp", 1, 85 5 60 25
radio "Msg",2, 185 5 60 25
radio "Notice",3, 85 35 60 25
radio "All of the above",4, 185 35 100 25
text "Nick/Channel",5, 55 65 336 200
edit "",6, 135 65 20 120,autohs
text "",7, 25 155 336 200
button "Flood",9, 25 115 75 25
button "OK",10, 125 115 75 25, ok
button "Cancel",11, 225 115 75 25, cancel
}
dialog channel_commands {
title "[Syndicate CloneR] By Risc", 1 10 10 10
size -1 -1 350 150
button "OK",10, 85 115 75 25, ok
button "Cancel",11, 175 115 75 25, cancel
}
dialog c_help {
title "[Syndicate CloneR] By Risc", 1 10 10 10
size -1 -1 203 120
text "Be Sure to Add a / Before the command",2, 5 25 336 200
button "OK",10, 25 85 50 25, ok
button "Cancel",11, 125 85 50 25, cancel
}
dialog Other_commands {
title "[Syndicate CloneR] By Risc", 1 10 10 10
size -1 -1 450 155
text "",4, 200 155 336 200
box "Type in the command",5, 115 5 160 80
text "Command",2, 125 25 336 200
edit "",3, 155 40 105 25,autohs
button "Help",8, 345 115 75 25
button "Initiate Command",9, 15 115 95 25
button "OK",10, 145 115 75 25, ok
button "Cancel",11, 245 115 75 25, cancel
}
dialog credits {
title "[Syndicate CloneR] By Risc"
size -1 -1 280 150
box "[AaS Cloner] Credits",1, 10 5 230 100
text "Author: Shad0w",3, 40 30 336 200
text "Email: v777@netscape.net",4,40 45 336 200
text "Beta Testers: N64 and Reta|iation",2, 40 60 336 200
button "OK",10, 95 120 75 25,ok
button "Cancel",11, 185 120 75 25, cancel
}
dialog c_c {
title "[Syndicate CloneR] By Risc"
size -1 -1 260 150
radio "Join", 1, 55 5 40 25
radio "Part", 2, 195 5 40 25
text "Channel Name:",4, 35 40 336 200
edit "",3, 113 35 68 23,autohs
button "Initiate Command",5, 5 115 87 25
button "OK",10, 107 115 55 25, ok
button "Cancel",11, 178 115 55 25, cancel
}
on 1:dialog:Other_commands:*:*: {
if ($devent == init) {
if ($dialog(clone) == $false) { .timer 1 0 /dialog -dm clone clone | did -ra Clone 13 [Opening] Other Commands Dialog | else /did -ra clone 13 [Opening] Other Commands Dialog }
did -ra other_commands 4 [Note] You HAVE to put the RAW form of the command for it to work properly | did -ra other_commands 2 Â
}
if ($devent == edit) {
set %other_command $did(2).text
}
if ($devent == sclick) {
if ($did == 9) && ($did(2).text == $snull) { did -ra other_commands 2 [Error] You need to put a command | .timer 1 3 /did -ra other_commands 2 Command  }
elseif ($did == 9) { .sockwrite -n * : $+ %other_command | .timer 1 2 unset %other_command }
if ($did == 8) { chelp }
}
}
alias chelp {
dialog -m c_help c_help
}
on 1:dialog:c_c:*:*: {
if ($devent == init) {
if ($dialog(clone) == $false) { .timer 1 0 /dialog -dm clone clone | did -ra Clone 13 [Opening] Channel Commands Dialog | else /did -ra Clone 13 [Opening] Channel Commands Dialog }
}
if ($devent == edit) {
set %j_p_c $did(3).text
}
if ($devent == sclick) {
if ($did == 1) { set %c_c_m join }
if ($did == 2) { set %c_c_m part }
if ($did == 5) && ($did(3).text == $snull) { did -ra c_c 4 [Error] Put Channel Name | .timer 1 3 /did -ra c_c 4 Channel Name: }
elseif ($did == 5) { .sockwrite -n * %c_c_m %j_p_c }
}
}
on 1:dialog:f_c:*:*: {
if ($devent == init) {
if ($dialog(clone) == $false) { .timer 1 0 /dialog -dm clone clone | did -ra Clone 13 [Opening] Flood Commands Dialog | else /did -ra Clone 13 [Opening] Flood Commands Dialog }
}
if ($devent == edit) {
set %n_c_f $did(6).text
}
if ($devent == sclick) {
if ($did == 1) { set %f_c_m ctcp }
if ($did == 2) { set %f_c_m msg }
if ($did == 3) { set %f_c_m notice }
if ($did == 4) { set %f_c_m all }
if ($did == 9) && ($did(6).text == $snull) { did -ra f_c 7 [Error] You need to put a nick/channel to flood }
elseif ($did == 9) && (%f_c_m == all) { .sockwrite -n * privmsg %n_c_f VERSION | .sockwrite -n * privmsg %n_c_f Ping | .sockwrite -n * privmsg %n_c_f Page :bleh! | .sockwrite -n * privmsg %n_c_f bleh! | .sockwrite -n * notice %n_c_f bleh! }
elseif ($did == 9) && (%f_c_m == ctcp) { .sockwrite -n * privmsg %n_c_f VERSION | .sockwrite -n * privmsg %n_c_f Ping | .sockwrite -n * privmsg %n_c_f Page :bleh! }
elseif ($did == 9) && (%f_c_m == msg) { .sockwrite -n * privmsg %n_c_f :bleh! }
elseif ($did == 9) && (%f_c_m == notice) { .sockwrite -n * notice %n_c_f :bleh! }
if ($did == 10) { unset %n_c_f | unset %f_c_m }
if ($did == 11) { unset %N_c_f | unset %f_c_m }
}
}