help me why issnt this working - 14/03/05 08:14 AM
Hi ,
first the code
ok strangething is , first all works , and now nothing works ,
i dont see annything wrong in it , can some1 else plz take a good look at it ,
1 more thing with my request script , is it possibel that if some1 change's nick and leave my channel , that my idler.ini also change's that name and part that channel from that guy who's nick is changed .
thx alot
first the code
Code:
on *:TEXT:!*adv:#search-clan.nl: { if ( $1 == !startadv) { if ( $nick isop $chan ) { msg $chan Started Advertising timeradv 0 4000 msg $chan Idle Bot by #Search-clan.nl !request #channel , and stay in #search-clan.nl!! } else { msg $chan You do not have access to that command halt } halt } elseif ( $1 == !stopadv ) { if ( !$timer(adv) ) { msg $chan I am not advertising! halt } if ( $nick isop $chan ) { timeradv off msg $chan Stopped Advertising } else { msg $chan You do not have access to that command } } } } on *:TEXT:!help:#search-clan.nl: { inc -u10 $+(%,flood.,$Nick) if ( $+(%,flood.,$Nick) >= 2 ) halt //msg $nick 7,14 -[1Doe "!ZoekC // Skill Info // Active // more info //" in de channel om een clan te zoeken <7>1 Doe "!ZoekM // Skill Info // Active // more info //" in de channel om members te zoeken 7]- on *:JOIN:#search-clan.nl: { //notice $nick 7,14Welcome to #search-clan.nl . !help voor commands. plz perform !! } } } on *:TEXT:!request*:#search-clan.nl:{ inc -u10 $+(%,flood.,$Nick) if ( $+(%,flood.,$Nick) >= 2 ) halt if ($left($2,1) == $chr(35)) { if ($me !ison $2) { /join $2 /notice $nick Joining $+(',$2,') if evrything is ok i stay ! /timer 1 5 req_check $2 $nick $chan } else { .msg $chan Yow Yow i'm allready in $+(',$2,'.) } } else { .notice $chan It got to be: !request <#channel> } } alias req_check { if ($me ison $1) { if ($nick($1,0) >= 20) { if ($nick($1,0,o) >= 2) { if ($2 isop $1) { msg #search-clan.nl 5#search-clan.nl :: I'm requested by $+(',$2,') to $+(',$1,'.)Evrything is ok i'll stay! msg $1 5#search-clan.nl :: Evrything Lookst Alright, Min 20 idlers 2 ops !! i'll stay :: request your own bot #search-clan.nl writeini -n idler.ini $3 $2 $1 } else { /msg $2 Error!. $+(',$2,') The 1 that Requested me need to have op | part $1 Error } } else { /msg $2 Error!. $+(',$1,') You need to have atleast 2 OPS in channel! | part $1 Error } } else { /msg $2 Error!. $+(',$1,') You need to have atleast 20 idlers in your channel! | part $1 Error } } } on *:PART:#search-clan.nl: { if ($readini(idler.ini,$chan,$nick)) { part $readini(idler.ini,$chan,$nick) $nick has left $chan | | msg $chan Purged $readini(idler.ini,$chan,$nick) | remini idler.ini $chan $nick } } } on *:TEXT:!zoekC *:#Search-clan.nl: { inc -u10 $+(%,flood.,$Nick) if ( $+(%,flood.,$Nick) >= 2 ) halt //amsg In #Search-clan.nl zoekt iemand een Clan om te joinen: $2- /msg $nick for details. } on *:TEXT:!Zoekm *:#search-clan.nl: { inc -u10 $+(%,flood.,$Nick) if ( $+(%,flood.,$Nick) >= 2 ) halt //amsg In #search-clan.nl zoekt iemand een member om Clan te joinen: $2- /msg $nick for details. } on *:TEXT:!help:#search-clan.nl: { inc -u10 $+(%,flood.,$Nick) if ( $+(%,flood.,$Nick) >= 2 ) halt //msg $nick 7,14 -[1Doe "!ZoekC // Skill Info // Active // more info //" in de channel om een clan te zoeken <7>1 Doe "!ZoekM // Skill Info // Active // more info //" in de channel om members te zoeken 7]- } } on *:JOIN:#search-clan.nl: { //notice $nick 7,14Welcome to #search-clan.nl . !help voor commands. plz perform !! } }
ok strangething is , first all works , and now nothing works ,
i dont see annything wrong in it , can some1 else plz take a good look at it ,
1 more thing with my request script , is it possibel that if some1 change's nick and leave my channel , that my idler.ini also change's that name and part that channel from that guy who's nick is changed .
thx alot