Party Script
Please LogIn to Rate this snippet |
Description
---------------------------- Made by Lol538 And Shiny -------------------- This script allows u to create an party. All users Can join. This script is not copied. Its 100% selfmade NOTE: CHANGE #lolbot-party TO YOUR CHANNEL. - Commands: TYPE: !party-help for commands PS: The party hoster wants to have control over the party channel. Like topic change... In this script u have only to set the bot as founder. The party hoster can control the channel with only whats needed. So there are no take overs.
Code
Posted By PuNkTuReD on 2010-02-22
![]() | an easier way to include the channel would be to do
Code: |
Posted By Aucun on 2010-02-22
Code: on *:TEXT:!join-party:#:{
if (%botparty == on) {
invite $nick #lolbot-party
notice $nick Welcome! Do: /join #lolbot-party
}
if (%botparty == off) {
msg $chan Party is turned off. Please use: !start-party
halt
}
}You could have used if then else also there is no reason for the halt. Code: on *:JOIN:#lolbot-party:#:{
if (%botparty == on) msg $chan Hey! Welcome to my party! ^^ -- Partyhoster: %partyfounder
else halt
}No reason for the "else halt" as it doesn't do anything unless "%botparty == on". Code: on *:TEXT:!party-status:*:{
if (%botparty == off) msg $chan There's not an party going on! Type: !start-party to start an party
if (%botparty == on) msg $chan There's an party going on! Type: !join-party to join the party Hoster: %partyfounder
}Again if then else. Little tip, when you have a var that is either true or false you can just unset the var making false. "set %botparty off" "unset %botparty". |
Post A Comment
You must be logged in to post comments on this site - please either log in or if you are not registered click here to signup




