on *:text:!set *:#pc-hq:{ if ($me == Krobeluskill) halt
else { if ($nick isop $chan) || ($nick ishop $chan) {
if ($2 !isnum) { notice $nick That is an invalid world. Must be a number. | halt }
if ($2 > 140) { notice $nick That is an invalid world. Must be a proper RuneScape world. | halt }
set %pcworld $2
set %pcnick $nick
msg $chan [ New World ] - %pcworld set by %pcnick
}
}
}
on *:text:!world*:#pc-hq:{ if ($me == Krobeluskill) halt
else { notice $nick The current PC World is %pcworld set by %pcnick $+ .
}
}
on *:text:!pc*:#pc-hq:{ if ($me == Krobeluskill) halt
else { notice $nick The current PC World is %pcworld set by %pcnick $+ .
}
}
on *:text:!pcw*:#pc-hq:{ if ($me == Krobeluskill) halt
else { notice $nick The current PC World is %pcworld set by %pcnick $+ .
}
}
on *:text:!suggest *:#pc-hq:{ if ($me == Krobeluskill) halt
else { if ($2 !isnum) { notice $nick That is an invalid world. Must be a number. | halt }
if ($2 > 138) { notice $nick That is an invalid world. Must be a proper RuneScape world. | halt }
else { set %pcsuggestworld $2
inc %pcsuggest
if (%pcsuggest == 1) { msg $chan World %pcsuggestworld has been suggested by $nick $+ . You need 4 more votes for this world to be set. | halt }
if (%pcsuggest < 5) { msg $chan $calc( 5 - %pcsuggest ) more suggests are needed for world %pcsuggestworld to be set. | halt }
if (%pcsuggest == 5) { set %pcworld %pcsuggestworld
set %pcnick Suggested
unset %pcsuggest
msg $chan [ New World ] - %pcworld was %pcnick
}
}
}
}