Kiddo96

Kiddo96

Joined
Sep 25, 2011
Location
Sweden

Activity Stream

Kiddo96 commented on a Page, Wolfram Alpha  -  Jul 11, 2012

I'm not following on what you mean. Please explain a little more.

 Respond  
Kiddo96 created a Page  -  Jun 24, 2012
1 294 

I recently posted a snippet using Wolfram Alpha's API. This version uses the main site, has unlimited calls, but is a bit slower.

Kiddo96 created a Page  -  Jun 23, 2012
271 

A request from Ric James in the forums. I thought I'd share this snippet.

Kiddo96 commented on a Page, Google Calculator  -  May 11, 2012

Those are colour codes that seem to have dissapeared. Maybe a channel mode or something. Try this colour-free version:

on $*:text:/^!calc /Si:#,?:{
  calculate $2-
}
alias calculate {
  if $sock(calculate) || $sock($+(calculate,$nick)) {
    sockclose $v1
  }
  sockopen $iif($event == text,$+(calculate,$nick),calculate) www.google.com 80
  sockmark $iif($event == text,$+(calculate,$nick) msg $iif(#,#,$nick),calculate echo -a) $1-
}
on *:sockopen:calculate*:{
  tokenize 32 $sock($sockname).mark
  sockwrite -nt $sockname GET $+(/ig/calculator?hl=en&q=,$urlencode($3-)) HTTP/1.1
  sockwrite -nt $sockname Host: www.google.com
  sockwrite -nt $sockname Connection: close
  sockwrite -nt $sockname $crlf
}
on *:sockread:calculate*:{
  sockread &greader
  var %greader $bvar(&greader,1-).text
  tokenize 32 $sock($sockname).mark
  if $regex(answer $+ $2,%greader,/rhs: "(.*?)"/) && $regex(calc $+ $2,%greader,/lhs: "(.*?)"/) {
    $1-2 $iif($regml(answer $+ $2,1) == $null,Something is wrong with the calculation!,$&
      $+ $csub($cchr($sup($regml(calc $+ $2,1) = $v1))))
    sockclose $sockname
  }
}
alias cchr return $regsubex($1,/\\x26#(\d+?);/g,$chr(\1))
alias sup return $regsubex($1,/\\x3csup\\x3e([\d-]+?)\\x3c\/sup\\x3e/Sg,^\1)
alias urlencode return $regsubex($1,/(\W)/g,% $+ $base($asc(\1),10,16,2)))
alias csub return $regsubex($1,/\\x3csub\\x3e(.+?)\\x3c\/sub\\x3e/g,\1)
Kiddo96 commented on a Page, Google Calculator  -  Mar 06, 2012

@Rfsancho I edited it and it should work better now! :-)

 Respond  
Kiddo96 commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Jan 05, 2012

Sounds like a challenge to me! ;-)

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Dec 29, 2011

Thank you for the like and score :-). I made a small edit to the script, so if you find yours to not work, please update it with the current and it should!

 Respond  
Kiddo96 commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Dec 18, 2011

Dammit!!! Exactly 648 again lmao! What are the odds?Image

 Respond  
Kiddo96 commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Dec 18, 2011

Yup, it was my first time. I'll see if I can break that record ;-)

 Respond  
Kiddo96 commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Dec 18, 2011

I love this game lol. Made 648 kills and had about 3,000 ammo when I died :-\ I'm giving this a 10 and a like! :-)
Image

 Respond  
Kiddo96 commented on a Page, Little Timestamp Change 0.1 Beta  -  Dec 18, 2011

I made a typo here

alias blue {
  timestamp -f 10(11HH10:11nn10:11ss10)
  set %tsamp on
  echo $active 10Timestamp blue loadet: 10(11HH10:11nn10:11ss10)
}

Should be %tstamp.

 Respond  
Kiddo96 commented on a Page, Little Timestamp Change 0.1 Beta  -  Dec 18, 2011

Very velcome :-)

 Respond  
Kiddo96 commented on a Page, Little Timestamp Change 0.1 Beta  -  Dec 18, 2011

Here you go (radio button request)

dialog Stamps {
  title "Timestamp change"
  size -1 -1 266 84
  option pixels notheme
  box "", 1, 2 -4 261 85
  button "ok", 9, 194 57 65 20, ok
  box "", 10, 190 44 72 37
  button "green", 12, 11 9 52 20
  button "red", 13, 11 33 52 20
  button "blue", 14, 11 57 52 20
  box "", 16, 4 -4 65 85
  radio "off", 8, 193 36 68 15
  box "", 11, 67 -4 125 85
  text "Timestamps will be changed!!!", 15, 70 6 117 52, disable center
  button "reset", 17, 97 58 65 20
  box "", 18, 93 47 74 32
  text "timestamp:", 20, 193 4 66 14, disable
  radio "on", 19, 193 21 68 15
}
on 1:dialog:Stamps:init:0: {
  did -c Stamps $iif(%tstamp,19,8)
}
on 1:DIALOG:Stamps:sclick:*:{
  if ($did == 12) { green }
  if ($did == 13) { red }
  if ($did == 14) { blue }
  if ($Did == 19) { timestamp on | echo $active 4Time is on !!! | set %tstamp on }
  if ($did == 8) { timestamp off | echo $active 4Time is off !!! | unset %tstamp }
  if ($did == 17) { unsetT }
}  
alias blue {
  timestamp -f 10(11HH10:11nn10:11ss10)
  set %tsamp on
  echo $active 10Timestamp blue loadet: 10(11HH10:11nn10:11ss10)
}

alias green {
  timestamp -f 3(9HH3:9nn3:9ss3)
  set %tstamp on
  echo $active 9Timestamp green loadet: 3(9HH3:9nn3:9ss3)
}

alias red {
  timestamp -f 5(4HH5:4nn5:4ss5) 
  set %tstamp on
  echo $active 4Timestamp red loadet: 5(4HH5:4nn5:4ss5) 
}   

alias unsetT {
  timestamp -f hh:nn:ss
  echo $active Timestamp reset hh:nn:ss
} 
 Respond  
Kiddo96 commented on a Page, Word Definition   -  Dec 15, 2011

For now, I'm giving this a 7. But if you could make a command /define -query- so it would work for your own mirc as an alias I can make it an 8 :-) Very good script!

 Respond  
Kiddo96 commented on a Page, Ask.com  -  Dec 15, 2011

Updated the script with a dialog! First dialog I've ever made, I'd be thankful for comments :-)

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Dec 05, 2011

The script worked great for everyone else... My guess would be that you put it in a bad place with a bracket missing which lead it to, somehow, try execute the command "funirc".

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Dec 05, 2011

What? It doesn't work now too?

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Dec 05, 2011

Well, it was something in your remote that caused the problem, not me ;-)
Thanks for the like though :-)

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Dec 04, 2011

I made an update to the script, found some bugs. If you have this snippet please delete the one you have and repaste the one from here.

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Dec 03, 2011

Then do a ctrl + f search and paste the scripts with that keyword into pastebin.com

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Dec 03, 2011

I'm trying to help you Destiny98, but you're not making it simple. PLEASE show me what script/scripts contains "funirc" in your remote and I'll try to help you out.

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Dec 01, 2011

uneek, change to this:

sockmark $iif($event == text,$+(calculate,$nick) msg #,calculate echo -a) $1-

and the on text event to

on $*:text:/^!calc /Si:#:{

We don't want it to get triggered in a pm and get an error :-)
Thank you both by the way for the likes and scores!

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Nov 30, 2011

What kind of calculation are you trying out?

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Nov 29, 2011

As I can see Destiny98, you have also commented that you get the same error on other snippets. A bracket mismatch somewhere, or some sort of "on input" event is interrupting your entire remote.

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Nov 29, 2011

Do you get any error when trying those buttons I just showed you? I still believe it's a bracket error. If you could copy your entire remote and then paste it into www.pastebin.com , I can try sort all of them for you.

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Nov 29, 2011

Well that's odd, considering I don't even have that command in my script. Make sure you don't miss out on brackets anywhere. > Alt +r -> then Ctrl+h

 Respond  
Kiddo96 commented on a Page, Google Calculator  -  Nov 28, 2011

Thank you for the like! It's appreciated! :-)

 Respond  
Kiddo96 created a Page  -  Nov 27, 2011

This is my version of a Google Calculator. It can do more than a regular calculator, such as calculating measures, converting etc. A few examples are coming. The commands are either > !calc -calculation here- or /calculate -calculation here- Use !calc in a channel, and it will message you there. In pm and it will respond you there. /calculate simply echos it to your active window. If you find any..

Kiddo96 commented on a Page, Ask.com  -  Nov 06, 2011

Didn't have the opportunity to log in yesterday.
Dean, updated with replace on "

 Respond  
Kiddo96 commented on a Page, Ask.com  -  Nov 04, 2011

I think I'm following you, just wondering what \s means?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.