diff --git a/misc/debugUser.mrc b/misc/debugUser.mrc index 754b0db..8287986 100644 --- a/misc/debugUser.mrc +++ b/misc/debugUser.mrc @@ -11,8 +11,9 @@ on *:sockclose:debugUser:{ } on *:sockopen:debugUser:{ if ($sockerr == 0) { + if ($debugUser.pass != $null) { debugUser.raw PASS $+(:,$v1) } debugUser.raw NICK $debugUser.nick - debugUser.raw USER $debugUser.nick 0 0 $+(:4D7,$str(e,7),8b9,$str(u,7),10gg11,$str(e,7),13r15,$str(!,7)) + debugUser.raw USER $debugUser.nick 0 0 $+(:,$debugUser.realName) return } if ($window($debugUser.window) != $null) { echo -ci2t "Info text" $v1 [E]: $sockname error } @@ -29,10 +30,16 @@ on *:sockread:debugUser:{ if ($window($debugUser.window) != $null) { echo -ci2t "Info text" $v1 [R]: $sockname <- $1- } if ($1 == PING) { debugUser.raw PONG $2- } } +on *:unload:{ + if ($sock(debugUser) != $null) { sockclose debugUser } +} ; Commands and Functions alias -l debugUser.nick { return Debugger } +alias -l debugUser.pass { return } +; `-> If you have a password, add it here. +alias -l debugUser.realName { return $+(4D7,$str(e,7),8b9,$str(u,7),10gg11,$str(e,7),13r15,$str(!,7)) } alias debugUser.raw { ; /debugUser.raw