Alright... so for the life of me I still cannot figure out Sockets...
(This was just me practicing and this doesn't work for me >_<")
alias Warframe {
if ($regex($1-, /\Qwarframe.com/news/=\E(\w+)$/)) {
sockclose Warframe
sockopen Warframe www.Warframe.com 443
sockmark Warframe $regml(1)
}
else {
echo $color(info) -aef /Warframe: invalid link
halt
}
}
on *:sockopen:Warframe: {
sockwrite -n Warframe GET /news/ $+ $sock($sockname).mark HTTPS/1.1
sockwrite -n Warframe Host: www.Warframe.com
sockwrite -n Warframe $crlf
}
on *:sockread:Warframe: {
var %x
sockread %x
if ($regex(%x, <meta name="title" content="(.+)">)) {
set %title. $+ $sockName $regml(1)
echo -a Title: $($+(%, title., $sockname), 2) $&
unset %*. $+ $sockname
sockclose $sockname
}
}
What i really want was for my bot to do is
(04:53:45) <@Kevykins> [!@.`]news
(04:53:46) <@War|Hero> The latest news Can be found here: (and itll pull the latest news from either the official website,
[a href="https://warframe.com/news/warframe-prime-time-11"]Official link[/a] or from the forum i made {which is a proboards}
[a href="http://warframe-hero.boards.net/thread/5/warframe-prime-time"]Proboards Link[/a])
So in other words
(04:53:45) <@Kevykins> [!@.`]news
(04:53:46) <@War|Hero> The latest news Can be found here: and also:
(Doesn't necessarily have to display both links, i would much rather use the Proboards link, but if its to difficult i'll jus settle for the official0
Or if its possible make the word "here" and "also" the link. so they jus click those words...
and you know the usual
@ = channel
!.` = Notice
what is the point of this anyways?
ppl really think this is jus a pastebin >_>
lets try out my failed attempt
at making this any less lammme...
[cant test it im in school =[ ]
on $*:text:/^[!.]gift/Si:#:{
if $regex($1,/^[.!]gift$/Si) {
if !%f
inc -u5 %f
.describe # Gives $nick a $Gift
}
}
alias -l Gift {
var %x = $r(1,4)
if %x = 1 { return Tree | halt }
if %x = 2 { return $nick(#,$r(1,$nick(#,0))) | halt }
if %x = 3 { return Cookie! | halt }
if %x = 4 { return coal | halt }
}
ah... makes sense o.O
can you explain
elseif ($regex($1,/(\+[^\-]*b)/)) && ($2 iswm $ial($me)) {
wha dat does o.O
on *:TEXT:!here:#:{
if !%f {
inc -u5 %f
if ($nick isop #) {
msg $chan Adds will start in 2 Sec!
.timer 1 2 msg $chan --> hey hey hey Go to www.hawkee.com to find your Fav scripts
.timer 1 4 msg $chan --> YOUR TEXT GOES HERE
}
}
[if i have a question bout something like that
i look at Jethro_'s codes because hee likes to
have ANTI-FLOOD in his codes. i learn by
taking apart other pplz codes, but das not good
cuz that looks wrong to me for some reason o.O]
napa182, get a life. why would you waste your time putting others down. No-one else is listening, napa182. Seriously, get a life.
i lol'd... Napa182 has gotten plenty
of respect from scripters a like to
say what he needs to say.
and you lil boy, needa calm your nipples ;]
nigguhs be arrogant nowadays but its whatever i guess
Hawkee.com is NOT a pastebin for crap like this
and yes crap. its leaned more towards the learning
from your bullshit rather then talkin shi back
to the ppl trying to better your skills in mSL.
yes i agree mSL is not a completely legit style of
coding, but it is infact a base of coding. it is the
easiest, and if your learned more you can learn things
that will get you dat money. but idc if you decide to take
the time an learn from others rather then being lame.
but anyways
to make this script LESS uglier then it awready is
if statements or a goto loop would be better then
this basic structure.
ON *:TEXT:*:#: {
if ($1 == !bow) describe $chan sees: $nick Bows down to $2-
if ($1 == !boom describe $chan sees: $nick Blows up $2-
}
The Snippet within the original bot is in open BETA
so hit us up on
/server -m irc.swiftirc.net -j #dragonrage
Bot Now in OPEN BETA for testing purposes. If there are any issues, please contact an Op @ for help. :: [Commands]: !dragon, !bite, !burn, !dhunt, !timers, !fight, !explore ::
i haven't been on to be testing/helping out for i am
a bit busy with school work an after school activities.
and on that note, srry evil for
abandoning you with out notice on the project.
everything seems to be cming out great ;]
but how have you been ;D
please submit more after you sleep.. we need something to do.. lol
i lol'd...
only reason i read da comments
is to learn sumfin i didnt awready know
if you were to never receive any of those comments
i wouldve stuck to what you had done LadySorien
an now i know of atleast 2 dif other ways to do it.
;D
an wth is a banner? o.O