rendered paste bodymenu channel {
$iif($server == $null,$style(2))
Games
.Who Want's to be Higher or Lower?
..Start { start Hilo }
..Stop { stop Hilo }
$iif($server == $null,$style(2)) Start Bot: { ircontagious.startup }
}
on *:START: { dll D:\Coding\Ircontagious\Scripts\medit.dll Load }
on *:connect: {
if ($readini($scriptdirbot.ini, Info, Channel)) {
set %game.channel $readini($scriptdirbot.ini, Info, Channel)
join %game.channel
}
else {
}
}
alias ircontagious.startup {
; Load our debugging tool
debugger
set %bot.running Yes
if ($exists($scriptdirbot.ini)) {
set %game.channel $readini($scriptdirbot.ini,Info,Channel)
aline @debugger Starting up Ircontagious v1.00 Alpha Build 42108
.timerStart 1 3 aline @debugger Ready.
}
else {
set %game.channel $?="Where is the bot going to be used?"
writeini $scriptdirbot.ini Info Channel %game.channel
aline @debugger Updating Database...
.timerStart 1 3 aline @debugger Starting up Ircontagious v1.00 Alpha Build 42108
.timerStart 1 5 aline @debugger Ready.
}
}