Skip to content
General IRCX

and another stupid question

A TG007 community discussion started by Daniel_gr.

Discussion 4 posts
Page 1 of 1
Open
Topic #5392 · 4 published posts · 1,600 views

yeah once again its related to my petproject for phreik.

on a user connect i get this in my debug screen:

<- :·°·€lm¡ns†er·°·'[email protected]$Caligula JOIN :#The\bMafia\btestroom
-> Caligula PROP ·°·€lm¡ns†er·°·' profile
-> Caligula WHO ·°·€lm¡ns†er·°·'
<- 818 celtics_bot ·°·€lm¡ns†er·°·' PROFILE MY elminster|·°·€łм¡иѕ†єÑ·°·' 27 m greece
<- 819 celtics_bot ·°·€lm¡ns†er·°·' End of properties

 

and this when i do a /whois

-> Caligula WHOIS ·°·€lm¡ns†er·°·'
<- :Caligula 311 celtics_bot ·°·€lm¡ns†er·°·' xxx.xxx.xxx.NDQ1MTYXMT otenet.gr$Caligula * :elminster
<- :Caligula 319 celtics_bot ·°·€lm¡ns†er·°·' :.#The\bMafia\btestroom
<- :Caligula 312 celtics_bot ·°·€lm¡ns†er·°·' Caligula :PhreikNET
<- :Caligula 317 celtics_bot ·°·€lm¡ns†er·°·' 1541 1133790456 :seconds idle, signon time
<- :Caligula 318 celtics_bot ·°·€lm¡ns†er·°·' :End of /WHOIS list

(((only thing changed in the code windows is the ip)))

 

now is there an easy way to retrieve/store the "elminster" part.(i think its the realname part of the wois)

phreik uses it for the username wich you need to set access/denies etc

 

i want to be able to put it in a variable when the nick is selected so i can then use it in a dialog

If you use the standard Phreik addon, there is an alias called accnick that returns the accountname of the nick.

So %somevar = $accnick(<nickname>) would put the accountname of <nickname> in %somevar.

If you use the standard Phreik addon, there is an alias called accnick that returns the accountname of the nick.

So %somevar = $accnick(<nickname>) would put the accountname of <nickname> in %somevar.

 

dank u, dank u, dank u.

im just being stupid. :oops:

looked at the connection a hundred times. i just didnt see that the accnick returned the accountname.

thought it had to do with the webnick.

anyways. ive put the development on hold for now. (thought it smarter to write down all the ideas first)

 

btw petertje. would you mind if i integrate your trivia into the script(instead of having it as an loose addon).

 

...wondering if i should start a wishlist for functions ppl like to see....

 

btw petertje. would you mind if i integrate your trivia into the script(instead of having it as an loose addon).

Feel free to use, distribute or modify it (in whatever order).