20 Apr 14, 10:26PM
step 1 - get the CN IP using WHOIS
2 - retrieve the ip from the console using conline (at $conline ?)
3 -compare the ip with all the ips stored in your list : Loop i (listlen IPlist) [if (strstr (at $IPlist $i) [echo (concat "Buddy" (at $IPlist (+ $i 1)) "is" (getpn CN))] []
4 - make a list of your friends wit their names after ip:
alias IPlist [
x.x.x PERROS
x.x.x BugBoy
x.x.x Draul
and so on ]
in case you want to add IPs to the list ingame: add2list IPlist (concat ...)
2 - retrieve the ip from the console using conline (at $conline ?)
3 -compare the ip with all the ips stored in your list : Loop i (listlen IPlist) [if (strstr (at $IPlist $i) [echo (concat "Buddy" (at $IPlist (+ $i 1)) "is" (getpn CN))] []
4 - make a list of your friends wit their names after ip:
alias IPlist [
x.x.x PERROS
x.x.x BugBoy
x.x.x Draul
and so on ]
in case you want to add IPs to the list ingame: add2list IPlist (concat ...)