Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!$channel) andaris::echo_err Vous devez être sur une fenêtre salon pour effectuer cette action!
- if($andaris::flag($channel)){
- if(!$0) echo -r=$active -i=$msgtype(Echo) $andaris::event("$k(14)\[$b$k(4)syntaxe$b$k(14)\]$k(1) kbcam <pseudo> (kick-ban pour cam)")
- else{
- %num = $length($file.readLines($file.localdir(mod/kick/cam.txt)))
- for(%i = 0;%i < %num;%i++){
- if($kvimatchcase("::",$file.readLines($file.localdir(mod/kick/cam.txt),%i,1))){
- %local = $str.lefttofirst($file.readLines($file.localdir(mod/kick/cam.txt),%i,1),"::")
- if($kvimatch(%local,$lang))
- %reason .= $str.rightfromfirst($file.readLines($file.localdir(mod/kick/cam.txt),%i,1),"::")$lf
- }
- }
- if(%reason){
- %txt[] = $str.split("$lf",%reason)
- %rand = $rand($(%txt[]# - 2))
- %raison = %txt[%rand]
- kb $0 %raison
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement