2
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!

Author Topic: how to add instructions  (Read 3651 times)

Offline SHOOT3R

  • Jr. Member
  • **
  • Posts: 17
how to add instructions
« on: December 17, 2013, 03:30:26 PM »
ok guys after i changed some rules like i want its ok
and how to add instructions like (server watching by admins or my email or wepside)
and and i want them Repetition tomuch time
how do that ? ???

Offline LouK

  • Full Member
  • ***
  • Posts: 119
    • The Sni:{Per}:Jum Clan
Re: how to add instructions
« Reply #1 on: December 18, 2013, 01:01:15 AM »
Check the plugin_adv file

Offline SHOOT3R

  • Jr. Member
  • **
  • Posts: 17
Re: how to add instructions
« Reply #2 on: December 18, 2013, 08:42:31 AM »
Check the plugin_adv file
i know in the plugin_adv
but how can add wtich codes should be use
and how to Repeated twice per minute
« Last Edit: December 18, 2013, 08:46:49 AM by SHOOT3R »

Offline LouK

  • Full Member
  • ***
  • Posts: 119
    • The Sni:{Per}:Jum Clan
Re: how to add instructions
« Reply #3 on: December 18, 2013, 04:00:51 PM »
Im not sure what do you want to do but read the whole file (all comments - instructions)

If you want to have double spams maybe you can run the plugin twice (add the b3.xml line twice)

Offline ph03n1x

  • Sr. Member
  • ****
  • Posts: 296
    • Lovers and Haters Urban Terror
Re: how to add instructions
« Reply #4 on: December 18, 2013, 05:16:16 PM »
i know in the plugin_adv
but how can add wtich codes should be use
and how to Repeated twice per minute

Well shoot3r, you can simply tweak the plugin_adv.xml to run a spam every 30 seconds and enter your spams.

Example:
Code: [Select]
<set name="rate">30s</set>
That will spam your messages 30 seconds apart.
Now all you have to do is list what you want to spam, like this:
Code: [Select]
<ad>email: [email protected]</ad>
<ad>email: [email protected]</ad>
<ad>server being watched by @admins</ad>
<ad>@feed0</ad>
<ad>feed1</ad>

This is only a snippet of what is explained in the plugin_adv.xml. As LouK said, have a look at it and devise a plan.

The best way to spam something twice in a minute is to simply put it twice as ad entries. (as seen in the email ad in the example above)

Good luck!
:)

Offline SHOOT3R

  • Jr. Member
  • **
  • Posts: 17
Re: how to add instructions
« Reply #5 on: December 20, 2013, 11:15:34 AM »
Well shoot3r, you can simply tweak the plugin_adv.xml to run a spam every 30 seconds and enter your spams.

Example:
Code: [Select]
<set name="rate">30s</set>
That will spam your messages 30 seconds apart.
Now all you have to do is list what you want to spam, like this:
Code: [Select]
<ad>email: [email protected]</ad>
<ad>email: [email protected]</ad>
<ad>server being watched by @admins</ad>
<ad>@feed0</ad>
<ad>feed1</ad>

This is only a snippet of what is explained in the plugin_adv.xml. As LouK said, have a look at it and devise a plan.

The best way to spam something twice in a minute is to simply put it twice as ad entries. (as seen in the email ad in the example above)

Good luck!
:)
man when i add anytnig will not show anything
its my plugin
Code: [Select]
<configuration plugin="adv">
<!--
Note: within ads, you can use the following variables : @nextmap @time
or rules as defined in the admin plugin config file. ie: /spam#rule1
-->
<settings name="settings">
<!-- rate in minutes.
  If you want a rate faster than once
  per minutes, then you can add a 's' as a suffix for seconds.
  i.e. : <set name="rate">10s</set>
-->
<set name="rate">2</set>
<!--
you can either set here a text file that will contain one ad per line
or fill the <ads> section below
-->
<!-- <set name="ads">c:/somewhere/my_ads.txt</set> -->
</settings>
  <settings name="newsfeed">
<!--
you can include newsitems in your adds by setting the section below
you can add feeditems in the adds like this:
@feed   (will pick the next newsitem each time it is included in the rotation,
               rotating until 'items' is reached and then start over.)
@feed 0 (will pick the latest newsitem available from the feed and add it in the rotation)
@feed 1 (will pick the second latest item in line)
etc.
-->
<set name="url"><![CDATA[http://forum.bigbrotherbot.net/news-2/?type=rss;action=.xml]]></set>
<set name="items">5</set>
<set name="pretext">News: </set>
</settings>
<ads>
    <!-- you can use the following keywords in your messages :
      /spam#rule1 - rule 1 as defined in you admin plugin config file
      @time - the server time
      @feed - the next RSS feed item
      @feed 0 - the lastest RSS feed item
      @feed 1 - the 2nd lastest RSS feed item
      @nextmap - the next map in your game server rotation list (if available)
      @topstats - the top stats from XLRstats (if the plugin is enabled)
      @admins - connected admins' names. You can change the message format in your admin plugin config
      @regulars - connected players from the regular grout. You can change the message format in your admin plugin config
    -->
<ad>^2Big Brother Bot is watching you... www.BigBrotherBot.net</ad>
<ad>@feed</ad>
<ad>^2Send Your Problems & Issues To [email protected]</ad>
<ad>/spam#rule1</ad>
<ad>@time</ad>
<ad>@admins</ad>
<ad>@feed</ad>
<ad>^2Do you like B3? Consider donating to the project at www.BigBrotherBot.net</ad>
<ad>@nextmap</ad>
<ad>@topstats</ad>
</ads>
</configuration>

Offline ph03n1x

  • Sr. Member
  • ****
  • Posts: 296
    • Lovers and Haters Urban Terror
Re: how to add instructions
« Reply #6 on: December 20, 2013, 02:18:35 PM »
You still have it set for 2 minutes:
Code: [Select]
<set name="rate">2</set>

change that to:
Code: [Select]
<set name="rate">30s</set>

Don't forget to activate the plugin in your b3.xml (or other config)
Add this to your b3.xml if it is not already there:
Code: [Select]
<plugin name="adv" config="@b3/conf/plugin_adv.xml" />

Offline SHOOT3R

  • Jr. Member
  • **
  • Posts: 17
Re: how to add instructions
« Reply #7 on: December 21, 2013, 07:07:08 PM »
You still have it set for 2 minutes:
Code: [Select]
<set name="rate">2</set>

change that to:
Code: [Select]
<set name="rate">30s</set>

Don't forget to activate the plugin in your b3.xml (or other config)
Add this to your b3.xml if it is not already there:
Code: [Select]
<plugin name="adv" config="@b3/conf/plugin_adv.xml" />
thanks man now its work ;)

Offline ph03n1x

  • Sr. Member
  • ****
  • Posts: 296
    • Lovers and Haters Urban Terror
Re: how to add instructions
« Reply #8 on: December 22, 2013, 02:13:27 AM »
Great! glad to help :)

 


Rate this page +1 at Google Search

anything