Jump to content

and another stupid question


Daniel_gr

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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....

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...