
Super Administrator
Antal indlæg: 39
Tilmeldt: 13.06.09
|
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/vonderlippe.dk/public_html/includes/bbcodes/url_bbcode_include.php on line 21
Dette er et meget simpelt irc-bot script, som er lavet af $uspekt, og som vi har fået lov til at lægge op her.
Det er meget simpelt at bruge, da det bare skal smides i "remote" i din "scripts editor".
---Måden at bruge det på----
højre klik i en channel eller gå op i "commands" så skulle der gerne ligge en der hedder "Clanbot" og derinde kan du redigere det hele, der er Peak script med i, selve botten..
Gl and HF! ;D
Kodeon 1:load:{
echo -a You have Loaded Clanbot script :D v.1.0b 3[--8Made by: EbugZ3--]
set %clanchan $$?="Enter Clan #Channel:"
if (%clanchan) echo -a Clan Channel Set to $v1 %clanchan
}
on 1:unload:{
echo -a You have unLoaded Clanbot script :D v.1.0b 3[--8Made by: EbugZ3--]
}
on *:text:!cmdop:%clanchan: { if ($nick isop #) { notice $nick 14,114The 15commands 0for 15@ 14are: 4!14sethp, 4!15setmembers, 4!0setnextwar, 4!15setlinks,4!15Setserver } }
on *:text:!cmd:%clanchan:{ msg # 14,114You 15can 0use 15these 14commands. 4!14hp, 4!15members, 4!0nextwar, 4!0links, 4!15shoot, 4!14camp, 4!15Time,4!15Server }
on *:text:!hp:%clanchan:{ if (%hp) { msg %clanchan %hp } }
on *:TEXT:!sethp*:%clanchan:{ if ($nick isop %clanchan) { set %hp $2- } }
on *:TEXT:!members:%clanchan:{ if (%members) { msg # %members } }
on *:TEXT:!setmembers*:%clanchan:{ if ($nick isop #) { set %members $2- } }
on *:TEXT:!nextwar:%clanchan:{ if (%nextwar) { msg # %nextwar } }
on *:TEXT:!setnextwar*:%clanchan:{ if ($nick isop #) { set %nextwar $2- } }
on *:TEXT:!Setlinks*:%clanchan:{ if ($nick isop #) { set %links $2- } }
on *:TEXT:!links:%clanchan:{ if (%links) { msg # %links } }
on *:TEXT:!shoot*:%clanchan: { $iif($rand(1,2) == 1,describe # $nick was lucky This time!,describe # To bad now I need to shoot $nick in the Ass!) }
on *:TEXT:!time:%clanchan:{ msg $chan The time is $time }
on *:TEXT:!Setserver*:%clanchan:{ if ($nick isop #) { set %server $2- } }
on *:TEXT:!server:%clanchan:{ if (%server) { msg # %server } }
on *:TEXT:!tiddato:%clanchan:{ msg $chan $asctime }
on *:JOIN:%clanchan: {
if ( %peak.count < $nick(#,0) ) | inc %Greetings.count | ( !%peak.count ) {
set %peak.count $nick(#,0) | set %peak.user $nick | set %peak.time $ctime
msg $chan Peak New: $nick(#,0)
}
}
on *:TEXT:!peak:%clanchan:{
if ( %peak.count ) {
msg $chan Peak Record: %peak.count Set By: %peak.user On: $asctime(%peak.time)
}
else msg $chan No peak is set, hop to set one.
}
on *:JOIN:%clanchan:{ if (%autogreetings == on) { notice $nick Welcome $nick 2 %clanchan ,You are Greetings.count who have joined the channel. Enjoy Your Stay! Use !cmd to see Commands } }
on *:TEXT:.Autogreetings on:%clanchan:{ if ($nick isop $chan) { set %Autogreetings on } }
on *:TEXT:.Autogreetings off:%clanchan:{ if ($nick isop $chan) { set %autogreetings off } }
on *:OPEN:?:*:msg $nick "Sorry to say but im only a bot! =)"
on *:TEXT:!Camp:%clanchan: {
set %camp.tal $rand(10,100)
msg $chan $nick is %camp.tal $+ % Camper . - Camp-O-Meter - $chr($asc) $+ $str(4¤, $ceil($calc(%camp.tal / 5))) $+ $str(5¤, $floor($calc($calc(100 - %camp.tal) / 5)))) $+ $chr($asc)
unset %camp.tal
}
menu channel,menubar {
Clanbot
.Set Channel: set %clanchan $$?="Enter Clan #Channel:"
.-
.Set Members: set %members $$?="Enter all the names of the members!:"
.Set Nextwar: set %nextwar $$?="Enter The nextwar!:"
.Set Links: set %links $$?="Enter links!:"
.Set Server: set %server $$?="Enter the ip of your server:"
.Set Hp: set %hp $$?="Enter your HP!:"
.Credits:Credits
}
Alias Credits {
/dialog -m Credits Credits
}
dialog Credits {
title "Credits"
size -1 -1 160 99
option dbu
tab "Credits", 12, 5 5 147 87
text "All Credits goes to #Gaming.dk", 1, 19 36 118 14, tab 12 center
tab "Info", 2
text "¨This Script is made by EbugZ its made for #seekcw.css and its my first bot script, you can find some of my scripts @", 3, 19 26 104 22, tab 2
link "www.hawkee.com", 4, 19 50 46 8, tab 2
link "www.testmax.dk", 5, 19 59 42 8, tab 2
button "X", 6, 152 7 6 15, default flat ok cancel
}
|