Easy but usefull !brb & !back script

By criminal on Mar 18, 2008

An easy script..
but it's very usefull :)
everyone can use it, no requirements..
all triggers possible
syntax is: !brb /
!back
when !back, it'll say the reason why you where gone, and for how long

How To Get:
copy the code and paste in remote
( Alt+R )

Hope you'll like it
please do not flame because i'm pretty new in this...
im in irc.swiftirc.net #criminal
like I already said... I'm new in this so please dont flame
:)
And yes, Fireworm999 is my rsn name.
Criminal is my botname.

UPDATED:
I changed one little thing in the script, when a user is ' brb ' it'll now save on his address, not on his nickname.
This is because of the simple reason: if people are afk or just brb, they change nick.

UPDATED:
Thanks Getscripted, i didnt notice when someone is 'brb' and he gets kicked or just parts the channel, it still says he is 'brb'
I changed that too.. I found how :) this will help me with many scripts.

Comments

Sign in to comment.
Grant-   -  Jul 24, 2009
  elseif ((% [ $+ [ $address($nick,2) ] $+ [ .BeRightBack ] ] == $null)) {
    if ($2- == $null) {

  elseif (!% [ $+ [ $address($nick,2) ] $+ [ .BeRightBack ] ]) {
    if (!$2) {

Also, for the very beginning.

on *:TEXT:?brb*:#: {

on $*:TEXT:/^[@.!`~^&](bb[sl]|afk|brb).*/Si:#:{
 Respond  
bvca   -  Jul 23, 2009

Anyone know of another "BRB" system script like this one? I like this one, but want to see another to compare. Please help. Hard to find another that is simular.
thank you

 Respond  
criminal   -  Mar 20, 2008

ohai, why rate it so bad? ( not you jonesy44 :P )
is it because the spam message?
... which I already removed ~.~
well, thats pretty sad then, cause I posted this code on this website cause of the simple reason: I want people to find bugs and give me some advice : I\'m only using mIRC and NNscript for hardly 1.5 months...
Or is it because it just fails, or do you think I leached this script? well... No.

Ah well..
And yes, Mountaindew, my runescape name is Fireworm999..
Rsn -> Fireworm999
botname -> Criminal

I also updated the script a lil..
it\'ll will now save on the person\'s address, not on his nickname :)

I removed the spam message and others.. Because some people didnt liked it very much and started flaming me ~.~
but thanks to a friend I met on nnscript, I started again :)

~ For the viewers who watch this script after this comment:
~ Pls, do not FLAME me, just use the script and IF you find any bugs
~ then Please tell me, you can contact me by leaving a comment here
~ Or join #Criminal on Irc.SwiftIrc.net

That\'s all.. have a nice day ;)

 Respond  
criminal   -  Mar 19, 2008

Thanks for the rate... I think
you\'re right, it doenst unset after Quit-Part or a Kick
I tried to change that before but.. I got a problem
A problem which I get very often so I will post it here, maybe some nice persons will help me out :D!

on *:KICK:#: {
if ($knick == (% [ $+ [ $address($nick,2) ] $+ [ .BeRightBack ] ] == BeRightBack)) {
.msg $chan $nick got kicked and was brb - Changed his status to back.
.unset % $+ $address($nick,2) $+ .BeRightBack BeRightBack
.unset % $+ $address($nick,2) nick $+ .InUse InUse
.unset %BeRightBackTime $ctime
.unset %WHATHESAID $2-
.halt
}
else {
.halt
}
}

I\'ve used /help and tried many things, but keept failing x\
If someone can help me, thanks :D

 Respond  
GetScripted   -  Mar 19, 2008

Nice, pretty cool :D
you used nice colors, however 3 lines is pretty spammy
but, I can change that later ;)

Sad that people flamed you however you wanted just some advice =\
I rated a 5, It\'s nice but only one problem
If someone quits/parts/Gets-Kicked or others
it doenst unset.
just telling, Hope you\'ll find your way on mIRC ;)

 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.