Author Topic: Scripting  (Read 3379 times)

0 Members and 1 Guest are viewing this topic.

DeathAdder

  • Orc Thrasher
  • ***
  • Posts: 137
  • Reputation: +0/-0
    • http://www.los.planetubh.com
Scripting
« on: August 16, 2003 07:52 am CDT »
Hey i need some help, I'm trying to make a Kpack for TRPG and NO its not going to spam when you kill something, Its already made and counting kills i just want to make a call script for it to call out the specific kills called for with like !callgoblin or something. Well i have the right syntax just i can't get the script to read the !callgoblin in #say:( here is what i have now

function CallTronics(%client, %msg)
   {
     if (String::findSubStr(%msg, "You say, \"!callgoblin") != -1)
      {
      say(0, "#global I have killed " @ $Kills::Goblin[$KpackCount::ClientNum]);
      }
   }

i belive the \"!callgoblin" is where i'm making the mistake but i just can't seem to get the script to read the message.:( Any help. *note* i will not be distributing it this is only for my use and enjoyment because i will not be saying my stats every 5 mins, pretty much this is only testing my scripting capabilities right now. Please i would really like to get this working.
« Last Edit: December 31, 1969 06:00 pm CST by DeathAdder »
<img src="http://www.pcrpg.org/pics/hosted/dadder.jpg">

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #1 on: August 16, 2003 02:57 pm CDT »
Don't even think about using it on this server.

You might find yourself Jailed for a few years.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

eViL

  • Uber Menace
  • *******
  • Posts: 1,022
  • Reputation: +0/-0
(No subject)
« Reply #2 on: August 16, 2003 03:01 pm CDT »
/me makes it just to piss off ozzy, lol.

i already have a kpack sort of thing made, i just don't let everyone know :P.

/me turns on the global say.
/me turns on the spam-o-meter.
« Last Edit: December 31, 1969 06:00 pm CST by eViL »
Quote from: "LastWish || NextWish"
eViL, you were probably the coolest but most misunderstood person in this community.. maybe the rest will find out how cool of a person you are some day, and don't get too mad at the people who dont understand you.. its their loss in the end.

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #3 on: August 16, 2003 04:44 pm CDT »
Wouldn't piss me off at all..

It is the protection code that will Jail you for a few years.'
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

Silvanoshei

  • Centurian Lord
  • ********
  • Posts: 1,804
  • Reputation: +0/-0
(No subject)
« Reply #4 on: August 16, 2003 04:46 pm CDT »
Nobody cares how many of each type of bot you've killed. Not a single person. So don't bother making an option to broadcast it on #global, lest I throttle you.
« Last Edit: December 31, 1969 06:00 pm CST by Silvanoshei »

The DoDoDo.

Your opinion is worthless unless you can support it.
We are not responsible for your stupidity.
I don't take sides. I take action.

Currently Playing:  Warcraft III [PC]

DeathAdder

  • Orc Thrasher
  • ***
  • Posts: 137
  • Reputation: +0/-0
    • http://www.los.planetubh.com
Re: Scripting
« Reply #5 on: August 17, 2003 02:03 am CDT »
OK i understand all that just did any of you even bother reading my F*****g post??

Quote from: "DeathAdder"
pretty much this is only testing my scripting capabilities right now.


I have nothing elts to test how good i am so i thought i start here. Thank you.
« Last Edit: December 31, 1969 06:00 pm CST by DeathAdder »
<img src="http://www.pcrpg.org/pics/hosted/dadder.jpg">

Silvanoshei

  • Centurian Lord
  • ********
  • Posts: 1,804
  • Reputation: +0/-0
(No subject)
« Reply #6 on: August 17, 2003 02:09 am CDT »
Yes, we read your post, but I'm pretty sure I speak for all of us when I say that we don't want to help you spam #global. Sorry.
« Last Edit: December 31, 1969 06:00 pm CST by Silvanoshei »

The DoDoDo.

Your opinion is worthless unless you can support it.
We are not responsible for your stupidity.
I don't take sides. I take action.

Currently Playing:  Warcraft III [PC]

eViL

  • Uber Menace
  • *******
  • Posts: 1,022
  • Reputation: +0/-0
(No subject)
« Reply #7 on: August 17, 2003 02:10 am CDT »
i would just turn on an anti-spam script, lol :P.
« Last Edit: December 31, 1969 06:00 pm CST by eViL »
Quote from: "LastWish || NextWish"
eViL, you were probably the coolest but most misunderstood person in this community.. maybe the rest will find out how cool of a person you are some day, and don't get too mad at the people who dont understand you.. its their loss in the end.

DeathAdder

  • Orc Thrasher
  • ***
  • Posts: 137
  • Reputation: +0/-0
    • http://www.los.planetubh.com
(No subject)
« Reply #8 on: August 17, 2003 02:10 am CDT »
whatever.
« Last Edit: December 31, 1969 06:00 pm CST by DeathAdder »
<img src="http://www.pcrpg.org/pics/hosted/dadder.jpg">

bigbigger9

  • Gnoll Fighter
  • **
  • Posts: 73
  • Reputation: +0/-0
(No subject)
« Reply #9 on: August 17, 2003 02:56 am CDT »
Quote from: "Silvanoshei"
Yes, we read your post, but I'm pretty sure I speak for all of us when I say that we don't want to help you spam #global. Sorry.


Agreed, #global already gets enough spam sadly. (sometimes)
« Last Edit: December 31, 1969 06:00 pm CST by bigbigger9 »
~bigbigger9