Jump to content

We have updated TG007.net. If you notice any problems please let us know.

Sign in to follow this  
Paige

Sparkpea Connection

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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 by Travis

Share this post


Link to post
Share on other sites


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



Share this post


Link to post
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
Sign in to follow this  

×