Skip to content
General IRCWX

Sparkpea Connection

A TG007 community discussion started by Paige.

Discussion 6 posts
Page 1 of 1
Open
Topic #16379 · 6 published posts · 2,367 views

Dear ErrOr.. at the risk of sounding cheeky, could we please have a sockless conn. for the new sparkpea, like the brilliant one you gave me for buzzen. ? thanks.

This doesn't have any of my usual err0r handling ... no homo... but it will connect you and strip the font code. Use err0r's room lister.

;Stupid basic socketless connection for SPCN
;Based off of Winz Simple connection snippet. http://www.tg007.net/file-1733
on *:start:{
if (%nick) && (%login) && (%password) server 167.114.203.109 7778
if (!%login) {
if ($input(Sparkpea $crlf $crlf Enter Your Nickname,e,$v_)) set %nick $ifmatch
else goto err_
if ($input(Sparkpea $crlf $crlf Enter Your Email Address,e,$v_)) set %login $ifmatch
else goto err_
if (%login) && ($input(Sparkpea.net $crlf $crlf Enter Your Password,p,$v_)) set %password $md5($ifmatch)
else goto err_
if (%login) && (%password) { server 167.114.203.109 7778 }
return
:err_
echo -s Error - Insufficient Parameters
}
}
on ^*:LOGON:*:{
user %nick IRCwx %login d00bie
loginh %login %password
}
on ^*:text:*:#:{
;remember Tewl? He made this regsub code years ago
var %val, %xfont = $regsub($replace($1-,[br],$chr(160), ,$chr(160)),/\[(/)?style([^\]]+)?\]/gi,$null,%val)
echo # $+([,$asctime(hh:nn:ss),]) $+(<,$nick,>) $utfdecode(%val,0)
haltdef
}
menu channel,status {
$iif($network = sparkpea,Disconnect,Connect):$iif($network = sparkpea,Disconnect,server 167.114.203.109 7778)
}



Edited Jan 31, 2018 3:10 PM by Travis

Jeez!, that was quick Trav, just what i needed, many many thanks, bro, and w/b.

I'm a little rusty and forgot the credit for Winz. This is just based off the simple connection on this site.



Mensch!, das war lebhaft Trav, genau das, was ich benötigt, zahlreiche eine Fülle von Dank, Bruder, und w/b.



It's really nothing. I'm sure err0r has something better. I'm glad it worked out for you.