#Shax@Quakenet.org

Home­FAQ­Search­Memberlist­Usergroups­Register­Log in
Post new topic   Reply to topicShare | 
 

 Chans Script

View previous topic View next topic Go down 
AuthorMessage
Shax
Admin


Posts: 19
Join date: 2008-12-14

PostSubject: Chans Script   Sun Dec 14, 2008 7:04 pm

On *:text:!addchan *:#:{
if ($wi($auth($nick)) == admin) {
join $2
writeini chans.ini /join $2
[ [ %type ] ] %chanlevskin Done. Channel successfuly added to chan list! %chanlevskin
}
}

On *:text:!delchan *:#:{
if ($wi($auth($nick)) == admin) {
part $2 hoppa
remini chans.ini $2
[ [ %type ] ] %chanlevskin Done. Channel successfuly removed from chan list! %chanlevskin
}
}


on *:text:!channels:#:{
if ($wi($auth($nick)) == admin) {
[ [ %type ] ] %chanlevskin Channel List - Entries: $ini(chans.ini,0) %chanlevskin
var %i = 1
while (%i <= $ini(chans.ini,0)) {
var %x = $ini(chans.ini,%i)
%type %chanlevskin Channel: %x %chanlevskin
inc %i
}
[ [ %type ] ] %chanlevskin End of channel list. %chanlevskin
}
}

on *:text:!hop:#:{
if ($wi($auth($nick)) == admin) {
hop $chan Hopping!
}
}
Back to top Go down
View user profile http://shax.darkbb.com
 

Chans Script

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
#Shax@Quakenet.org :: MSL-
Post new topic   Reply to topic