RAW Code

By MaxwellS on Oct 09, 2018

RAW Code
Good morning guys.
Need your help with a code please.

on !*:join:#sound:{ .enable #regchk | /timerwhois 1 10 whois $nick }

regchk off

raw 307:: { /msg #soundops %reg.nick 7,1512 $2 01 is a Registered Nick | %reg.chk = 1 }
raw 318:
: {
if (!%reg.chk) { /msg #soundops %reg.nick - 7,1512 $2 01 is 4 NOT 01 a registered nick }
unset %reg.*
.disable #regchk

regchk end


When a /whois is done on a nick, there is a line that says "Maxwell is logged in as Maxwell"
In the above code, what would be the RAW Code for the logged in as ? and how do I enter it.

The above code is used on a bot.

Many thanks


Sign in to comment.
Alexandru   -  Oct 15, 2018

Place the line:

raw *:*: echo -s ( $+ $numeric $+ ) $1-

above all the raw lines in the script and make the whois. You will see the numeric number associated to that raw. The raw number for logging is: 330

simo   -  Oct 14, 2018

You could try adding this

raw 330:*:{ msg #soundops $2-  }
ovelayer   -  Oct 11, 2018

if your just checking if a nick is registered or not or the status of identification i would use /ns status
then you can use notice events instead of raws.and collecting a bunch of unnecessary information

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.