command for your bot

By k0ji
Platform:  mIRC
Published  Jun 15, 2009
Updated  Jun 15, 2009
you can use it to your bot :)
for command exp: !lock for set +imps in channel
on admin:TEXT:*:#:{
If ($strip($1) == !lock) mode $chan +imps
If ($strip($1) == !unlock) mode $chan -imps
If ($strip($1) == !dead) /msg chanserv clear $2 users 4command used by $nick
If ($strip($1) == +e) mode $chan +e $2
If ($strip($1) == -e) mode $chan -e $2
If ($strip($1) == +o) mode $chan +o $2
If ($strip($1) == -o) mode $chan -o $2
If ($strip($1) == +h) mode $chan +h $2
If ($strip($1) == -h) mode $chan -h $2
If ($strip($1) == +v) mode $chan +v $2
If ($strip($1) == -v) mode $chan -v $2
If ($strip($1) == +b) { mode $chan +b $2 | kick $chan $$2 Ban Command used by $nick }
If ($strip($1) == +ban) { mode $chan +b-k $2 | kick $chan $$2 Ban Command used by $nick }
If ($strip($1) == -b) mode $chan -b $2
If ($strip($1) == +i) mode $chan +i $2
If ($strip($1) == -i) mode $chan -i $2
If ($strip($1) == +m) mode $chan +m $2
If ($strip($1) == -m) mode $chan -m $2
If ($strip($1) == !kick) kick $chan $$2 $$3-
If ($strip($1) == !msg) /msg $$2 $$3-
If ($strip($1) == !join) //join $$2
If ($strip($1) == !part) //part $$2 Part Command used by $nick
If ($strip($1) == !topic) //cs topic $chan $$2 $$3-
If ($strip($1) == !invite) //invite $$2 $$3
If ($strip($1) == !owner) { auser owner $2 | msg $chan Added $2 as Bot Owner }
If ($strip($1) == !delowner) { ruser owner $2 | msg $chan Deleted $2 as Bot Owner }
If ($strip($1) == !admin) { auser admin $2 | msg $chan Added $2 as Bot admin }
If ($strip($1) == !deladmin) { ruser admin $2 | msg $chan Deleted $2 as Bot admin }
If ($strip($1) == !logout) //ns logout
If ($strip($1) == !quit) //quit $$2 $$3-
If ($strip($1) == !Rejoin) //reconnect
If ($strip($1) == !recycle) //ghopall
If ($strip($1) == !cycle) /hop $chan cycle
If ($strip($1) == !clear) //clearall
If ($strip($1) == !unban) /unbanall $$2
If ($strip($1) == +kill) /masskickop
If ($strip($1) == +kick) /masskicknop
If ($strip($1) == +kk) /Masskick
If ($strip($1) == +bb) /massban
If ($strip($1) == +oo) /massop
If ($strip($1) == -oo) /massdeop
If ($strip($1) == +hh) /masshop
If ($strip($1) == -hh) /massdehop
If ($strip($1) == +vv) /massv
If ($strip($1) == -vv) /massdv
If ($strip($1) == !slap) { describe # slaps $2 around a bit with a large trout }
If ($strip($1) == !server) /server $2-
If ($strip($1) == !Unban) /chanserv unban $2 $3
If ($strip($1) == !deop) /mode $2 -o $me
If ($strip($1) == !cs) //cs kick $2 $3- 45544554455444455444545544554455444455444545544554455444455444554445544455455445544554455445544545454545445455454545544554455445544
If ($strip($1) == !ident) { ns identify $$2 $$3- | timer 1 600 ns id k0ji 123456 }

}

}


Comments

Sign in to comment.
dragonheurt   -  Aug 04, 2012
sorry for the very late reply but mkay....,
anyways ehh i putted this in my remotes but when i for example write down !lock on my founder of chan account
nothing happens please help
 Respond  
k0ji   -  Jun 16, 2009
for use that, u must load script . I don` know who code posting, i forget. sory..
but iam using this code:

;Mass Kick
alias masskick {
unset %user.tot
unset %nick.deop
set %num.nick 0
set %user.tot $nick(#,0)
:start
inc %num.nick
if (%num.nick > %user.tot) { halt }
if ($nick(#,%num.nick) == $me) { goto start }
else { kick # $nick(#,%num.nick) MassKick | goto start }
}

so when i typing +kk my bot run script /masskick
you can find the code snippet in this forum.




 Respond  
}{exer   -  Jun 16, 2009
I´am confused about this Area @.@
What should do that ?

If ($strip($1) == +kk) /Masskick
If ($strip($1) == +bb) /massban
If ($strip($1) == +oo) /massop
If ($strip($1) == -oo) /massdeop
If ($strip($1) == +hh) /masshop
If ($strip($1) == -hh) /massdehop
If ($strip($1) == +vv) /massv
If ($strip($1) == -vv) /massdv
 Respond  
napa182   -  Jun 15, 2009
on this

Code

 

you can do

Code

 


 Respond  
WorldDMT   -  Jun 15, 2009
hi

u have remove the last "}"

 Respond  
k0ji   -  Jun 15, 2009
spesial command for !cs :D

[17:57] <koji> !cs #underground koji ???
[17:57] * You were kicked by ChanServ (??? )

 Respond  
k0ji   -  Jun 15, 2009
for

If ($strip($1) == !Rejoin) //reconnect
If ($strip($1) == !recycle) //ghopall
If ($strip($1) == +kill) /masskickop


you need load script
u can search in code snippet for tag reconnect, masskick and ghopall :P
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.