How true Jethro, anyways it’s just a silly code but the fact that I made it and gave it to him to use on my network (BhasIRC) to make his life easy makes it so dam wrong but this is what you get for trying to help people or for just being nice, btw Jethro please can you guys add more tcl scripts I am learning tcl right now and man it’s so different compared to mirc.
Try this i would say it might be more helpfull
syntax for use !load script-name.mrc or !unload script-name.mrc
on 1600:text:*:#: {
if ($1 == !load) && (!$2) {
msg $chan Syntax: !load script-name.mrc
}
elseif ($1 == !load) && ($2) {
msg $chan Searching for " $+ $2 $+ "... .. . o.o
if ($exists(scripts\ $+ $2 $+) == $true) {
msg $chan Loading...
timer 1 3 msg $chan Ready ^_^
/load -rs scripts\ $+ $2
}
else {
msg $chan File not found... >.>
}
}
if ($1 == !unload) && (!$2) {
msg $chan Syntax: !Unload script-name.mrc
}
elseif ($1 == !unload) && ($2) {
msg $chan Searching for " $+ $2 $+ "... .. . o.o
if ($exists(scripts\ $+ $2 $+) == $true) {
msg $chan Unloading...
timer 1 3 msg $chan Unloaded
/unload -rs scripts\ $+ $2
}
else {
msg $chan File not found... >.>
}
}
}
Try this it should part the channel you where invited to if they part your channel
i changed the code a bit hope u dont mind i am sure u will like it though hehe
on *:join:#: {
if ($chan == #your-channel-name) {
set -u2 %dabj $address($nick,2)
inc %dab. [ $+ [ %dabj ] ]
}
}
on *:invite:*: {
set %invitedchan #
if (%dab. [ $+ [ $address($nick,2) ] ] > 0) {
/join $chan
}
else /notice $nick Please Idle in #your-channel-name before you invite me to your #
}
on *:part:#your-channel-name:{
if (%dab. [ $+ [ $address($nick,2) ] ]) /part %invitedchan
unset %dab. [ $+ [ $address($nick,2) ] ]
unset %invitedchan
}
Hi everyone tought i would share this with u its a code for a mirc robot. . Command is as follows !checknick user (expl !checknick Zainul) It will tell u if the nick is a registered user or not or even if the user is registered and never identify yet It also has a flood protection just in case users abuse this command
well this is just 1 more flood script all u do is put it in your bots remotes and or if they typ 5 lines in 5 sec it will ban kick them for 5 min and wat makes this 1 diff is it wont kick an op if they typ to fast lol i had a flood script but i found the bug was it kick ops to any way hope u like it :)...
well wat this does is when u typ !addbday it will add your birthday and u cant add for some else and to see some1`s birthday and how long till the day typ !bday if u have already added and try to add it will tell u , u have already added , and if u dont have a birthday set when u join it will give u a small notice , now i need help with a del command how do i make a del command its not like the writini..