Jump to content

tglogo.png

Photo

Sparkpea Connection


  • Please log in to reply
5 replies to this topic

#1 Paige

Paige

    Neophyte

  • Members
  • 42 posts
Offline

Posted 30 January 2018 - 01:43 PM

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.


  • 0

#2 Travis

Travis

    Neophyte

  • Members
  • 18 posts

  • img
    Country
Offline

Posted 31 January 2018 - 04:58 AM

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, 31 January 2018 - 03:10 PM.

  • 0

#3 Paige

Paige

    Neophyte

  • Members
  • 42 posts
Offline

Posted 31 January 2018 - 11:43 AM

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


  • 0

#4 Travis

Travis

    Neophyte

  • Members
  • 18 posts

  • img
    Country
Offline

Posted 31 January 2018 - 03:09 PM

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


  • 0

#5 andreank

andreank

    One Timer

  • Members
  • 1 posts
  • Gender:Male
  • Location:Berlin
  • Interests:Kamagra Bestellen, Kamagra Kaufen, Kamagra

  • img
    Country
Offline

Posted 05 February 2018 - 07:08 AM

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

  • 0

#6 Travis

Travis

    Neophyte

  • Members
  • 18 posts

  • img
    Country
Offline

Posted 05 February 2018 - 08:17 PM

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


  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users