Autor Tema: Scripts y #NUM que necesitas tener para ser un buen ServerMaster  (Leído 2935 veces)

0 Usuarios y 1 Visitante están viendo este tema.

xBʟᴜᴇ

  • I feel blue~
  • Usuario de honor
  • Pokéxperto Omega
  • *
  • Mensajes: 11365
  • Karma: +29/-11
    • Ver Perfil

  • Total Badges: 44
    Badges: (View All)
    Décimo aniversario Noveno aniversario Nivel 7
Scripts y #NUM que necesitas tener para ser un buen ServerMaster
« en: 28 de Septiembre de 2009, 07:05:28 am »
Estos scripts son los scripts Necesarios para que no sufras ataques en tu Server ni te spameen!

1º Funciona si alguien entra sin ningun Nick es decir con un spacio probablemente para spamear entonces lo kickea y postea su IP y SID en el server.
Código: [Seleccionar]
Event -PlayerSignOn
/Set #Admin, #PNumber("TuNickDeAdmin")
If $Name(#Source) = ""
/SendPM #source, $Bot & "Lol Noob Cabron. Intentas entrar en mi server para spamear pues que sepas que tu ip la eh posteado en el chat principal y probablemente seras baneado,."
/Kick #Source
/SendAll " "
/SendAll $Bot & " Mirad un Ghost intento entrar en mi bonito server."
/SendAll $Bot & " SID: " & $GetPlayerInfo(#Source, PSID) & " "
/SendAll $Bot & " IP: " & $GetPlayerInfo(#Source, IPAD) & " "
/SendAll " "
EndIf
EndEvent

2º URL prohibidas.
Código: [Seleccionar]
//Set #AdOff = 0

If $Message = "/AdsOff" OR "!AdsOff" AND #GetValue($GetPlayerInfo(#Source, PSID) > 2
/Set #AdOff, 1
/SendAll $Bot & " " & $Name(#Source) & " Deshabilito los Links en el chat General ahora nadie podra poner links de webs. "
/StopEvent
/Exit
EndIf

If $Message = "/AdsOn" OR "!AdsOn AND #GetValue($GetPlayerInfo(#Source, PSID) & "/Extended") > 2
/Set #AdOff, 0
/SendAll $Bot & " " & $Name(#Source) & " Volvio a Reactivar la habilidad de poner links en el chat. "
/StopEvent
/Exit
EndIf

If #AdOff = 1
 If #GetValue($GetPlayerInfo(#Source, PSID) = 0
 If #IsIn($Message, "www.") <> 0 OR #IsIn($Message, "http://") <> 0 OR #IsIn($Message, ".com") <> 0
 /SendPM #Source, $Bot & " Debido a la baja authoridad no puedes poner links en el chat. "
 /StopEvent
 /Exit
 EndIf
 EndIf
 EndIf

Numeros de Pkmn Advanced.No eh puesto todavia los de DP
Código: [Seleccionar]

1 - Bulbasaur
2 - Ivysaur
3 - Venusaur
4 - Charmander
5 - Charmeleon
6 - Charizard
7 - Squirtle
8 - Wartortle
9 - Blastoise
10 - Caterpie
11 - Metapod
12 - Butterfree
13 - Weedle
14 - Kakuna
15 - Beedrill
16 - Pidgey
17 - Pidgeotto
18 - Pidgeot
19 - Rattata
20 - Raticate
21 - Spearow
22 - Fearow
23 - Ekans
24 - Arbok
25 - Pikachu
26 - Raichu
27 - Sandshrew
28 - Sandslash
29 - Nidoran(F)
30 - Nidorina
31 - Nidoqueen
32 - Nidoran(M)
33 - Nidorino
34 - Nidoking
35 - Clefairy
36 - Clefable
37 - Vulpix
38 - Ninetales
39 - Jigglypuff
40 - Wigglytuff
41 - Zubat
42 - Golbat
43 - Oddish
44 - Gloom
45 - Vileplume
46 - Paras
47 - Parasect
48 - Venonat
49 - Venomoth
50 - Diglett
51 - Dugtrio
52 - Meowth
53 - Persian
54 - Psyduck
55 - Golduck
56 - Mankey
57 - Primeape
58 - Growlithe
59 - Arcanine
60 - Poliwag
61 - Poliwhirl
62 - Poliwrath
63 - Abra
64 - Kadabra
65 - Alakazam
66 - Machop
67 - Machoke
68 - Machamp
69 - Bellsprout
70 - Weepinbell
71 - Victreebel
72 - Tentacool
73 - Tentacruel
74 - Geodude
75 - Graveler
76 - Golem
77 - Ponyta
78 - Rapidash
79 - Slowpoke
80 - Slowbro
81 - Magnemite
82 - Magneton
83 - Farfetch'd
84 - Doduo
85 - Dodrio
86 - Seel
87 - Dewgong
88 - Grimer
89 - Muk
90 - Shellder
91 - Cloyster
92 - Gastly
93 - Haunter
94 - Gengar
95 - Onix
96 - Drowzee
97 - Hypno
98 - Krabby
99 - Kingler
100 - Voltorb
101 - Electrode
102 - Exeggcute
103 - Exeggutor
104 - Cubone
105 - Marowak
106 - Hitmonlee
107 - Hitmonchan
108 - Lickitung
109 - Koffing
110 - Weezing
111 - Rhyhorn
112 - Rhydon
113 - Chansey
114 - Tangela
115 - Kangaskhan
116 - Horsea
117 - Seadra
118 - Goldeen
119 - Seaking
120 - Staryu
121 - Starmie
122 - Mr.Mime
123 - Scyther
124 - Jynx
125 - Electabuzz
126 - Magmar
127 - Pinsir
128 - Tauros
129 - Magikarp
130 - Gyarados
131 - Lapras
132 - Ditto
133 - Eevee
134 - Vaporeon
135 - Jolteon
136 - Flareon
137 - Porygon
138 - Omanyte
139 - Omastar
140 - Kabuto
141 - Kabutops
142 - Aerodactyl
143 - Snorlax
144 - Articuno
145 - Zapdos
146 - Moltres
147 - Dratini
148 - Dragonair
149 - Dragonite
150 - Mewtwo
151 - Mew
152 - Chikorita
153 - Bayleef
154 - Meganium
155 - Cyndaquil
156 - Quilava
157 - Typhlosion
158 - Totodile
159 - Croconaw
160 - Feraligatr
161 - Sentret
162 - Furret
163 - Hoothoot
164 - Noctowl
165 - Ledyba
166 - Ledian
167 - Spinarak
168 - Ariados
169 - Crobat
170 - Chinchou
171 - Lanturn
172 - Pichu
173 - Cleffa
174 - Igglybuff
175 - Togepi
176 - Togetic
177 - Natu
178 - Xatu
179 - Mareep
180 - Flaaffy
181 - Ampharos
182 - Bellossom
183 - Marill
184 - Azumarill
185 - Sudowoodo
186 - Politoed
187 - Hoppip
188 - Skiploom
189 - Jumpluff
190 - Aipom
191 - Sunkern
192 - Sunflora
193 - Yanma
194 - Wooper
195 - Quagsire
196 - Espeon
197 - Umbreon
198 - Murkrow
199 - Slowking
200 - Misdreavus
201 - Unown
202 - Wobbuffet
203 - Girafarig
204 - Pineco
205 - Forretress
206 - Dunsparce
207 - Gligar
208 - Steelix
209 - Snubbull
210 - Granbull
211 - Qwilfish
212 - Scizor
213 - Shuckle
214 - Heracross
215 - Sneasel
216 - Teddiursa
217 - Ursaring
218 - Slugma
219 - Magcargo
220 - Swinub
221 - Piloswine
222 - Corsola
223 - Remoraid
224 - Octillery
225 - Delibird
226 - Mantine
227 - Skarmory
228 - Houndour
229 - Houndoom
230 - Kingdra
231 - Phanpy
232 - Donphan
233 - Porygon2
234 - Stantler
235 - Smeargle
236 - Tyrogue
237 - Hitmontop
238 - Smoochum
239 - Elekid
240 - Magby
241 - Miltank
242 - Blissey
243 - Raikou
244 - Entei
245 - Suicune
246 - Larvitar
247 - Pupitar
248 - Tyranitar
249 - Lugia
250 - Ho-oh
251 - Celebi
252 - Treecko
253 - Grovyle
254 - Sceptile
255 - Torchic
256 - Combusken
257 - Blaziken
258 - Mudkip
259 - Marshtomp
260 - Swampert
261 - Poochyena
262 - Mightyena
263 - Zigzagoon
264 - Linoone
265 - Wurmple
266 - Silcoon
267 - Beautifly
268 - Cascoon
269 - Dustox
270 - Lotad
271 - Lombre
272 - Ludicolo
273 - Seedot
274 - Nuzleaf
275 - Shiftry
276 - Taillow
277 - Swellow
278 - Wingull
279 - Pelipper
280 - Ralts
281 - Kirlia
282 - Gardevoir
283 - Surskit
284 - Masquerain
285 - Shroomish
286 - Breloom
287 - Slakoth
288 - Vigoroth
289 - Slaking
290 - Nincada
291 - Ninjask
292 - Shedinja
293 - Whismur
294 - Loudred
295 - Exploud
296 - Makuhita
297 - Hariyama
298 - Azurill
299 - Nosepass
300 - Skitty
301 - Delcatty
302 - Sableye
303 - Mawile
304 - Aron
305 - Lairon
306 - Aggron
307 - Meditite
308 - Medicham
309 - Electrike
310 - Manectric
311 - Plusle
312 - Minun
313 - Volbeat
314 - Illumise
315 - Roselia
316 - Gulpin
317 - Swalot
318 - Carvanha
319 - Sharpedo
320 - Wailmer
321 - Wailord
322 - Numel
323 - Camerupt
324 - Torkoal
325 - Spoink
326 - Grumpig
327 - Spinda
328 - Trapinch
329 - Vibrava
330 - Flygon
331 - Cacnea
332 - Cacturne
333 - Swablu
334 - Altaria
335 - Zangoose
336 - Seviper
337 - Lunatone
338 - Solrock
339 - Barboach
340 - Whiscash
341 - Corphish
342 - Crawdaunt
343 - Baltoy
344 - Claydol
345 - Lileep
346 - Cradily
347 - Anorith
348 - Armaldo
349 - Feebas
350 - Milotic
351 - Castform
352 - Kecleon
353 - Shuppet
354 - Banette
355 - Duskull
356 - Dusclops
357 - Tropius
358 - Chimecho
359 - Absol
360 - Wynaut
361 - Snorunt
362 - Glalie
363 - Spheal
364 - Sealeo
365 - Walrein
366 - Clamperl
367 - Huntail
368 - Gorebyss
369 - Relicanth
370 - Luvdisc
371 - Bagon
372 - Shelgon
373 - Salamence
374 - Beldum
375 - Metang
376 - Metagross
377 - Regirock
378 - Regice
379 - Registeel
380 - Latias
381 - Latios
382 - Kyogre
383 - Groudon
384 - Rayquaza
385 - Jirachi
386 - Deoxys
387 - Deoxys-F
388 - Deoxys-L
389 - Deoxys-E

Numeros de Ataques Y items Proximamente
Código: [Seleccionar]
1 - Absorb
2 - Acid
3 - Acid Armor
4 - Aeroblast
5 - Agility
6 - Amnesia
7 - Ancientpower
8 - Attract
9 - Aurora Beam
10 - Barrage
11 - Barrier
12 - Baton Pass
13 - Beat Up
14 - Belly Drum
15 - Bide
16 - Bind
17 - Bite
18 - Blizzard
19 - Body Slam
20 - Bone Club
21 - Bone Rush
22 - Bonemerang
23 - Bubble
24 - Bubblebeam
25 - Charm
26 - Clamp
27 - Comet Punch
28 - Confuse Ray
29 - Confusion
30 - Constrict
31 - Conversion
32 - Conversion2
33 - Cotton Spore
34 - Counter
35 - Crabhammer
36 - Cross Chop
37 - Crunch
38 - Curse
39 - Cut
40 - Defense Curl
41 - Destiny Bond
42 - Detect
43 - Dig
44 - Disable
45 - Dizzy Punch
46 - Double Kick
47 - Double Team
48 - Double-Edge
49 - Doubleslap
50 - Dragon Rage
51 - Dragonbreath
52 - Dream Eater
53 - Drill Peck
54 - Dynamicpunch
55 - Earthquake
56 - Egg Bomb
57 - Ember
58 - Encore
59 - Endure
60 - Explosion
61 - Extremespeed
62 - Faint Attack
63 - False Swipe
64 - Fire Blast
65 - Fire Punch
66 - Fire Spin
67 - Fissure
68 - Flail
69 - Flame Wheel
70 - Flamethrower
71 - Flash
72 - Fly
73 - Focus Energy
74 - Foresight
75 - Frustration
76 - Fury Attack
77 - Fury Cutter
78 - Fury Swipes
79 - Future Sight
80 - Giga Drain
81 - Glare
82 - Growl
83 - Growth
84 - Guillotine
85 - Gust
86 - Harden
87 - Haze
88 - Headbutt
89 - Heal Bell
90 - Hi Jump Kick
91 - Hidden Power
92 - Horn Attack
93 - Horn Drill
94 - Hydro Pump
95 - Hyper Beam
96 - Hyper Fang
97 - Hypnosis
98 - Ice Beam
99 - Ice Punch
100 - Icy Wind
101 - Iron Tail
102 - Jump Kick
103 - Karate Chop
104 - Kinesis
105 - Leech Life
106 - Leech Seed
107 - Leer
108 - Lick
109 - Light Screen
110 - Lock-On
111 - Lovely Kiss
112 - Low Kick
113 - Mach Punch
114 - Magnitude
115 - Mean Look
116 - Meditate
117 - Mega Drain
118 - Mega Kick
119 - Mega Punch
120 - Megahorn
121 - Metal Claw
122 - Metronome
123 - Milk Drink
124 - Mimic
125 - Mind Reader
126 - Minimize
127 - Mirror Coat
128 - Mirror Move
129 - Mist
130 - Moonlight
131 - Morning Sun
132 - Mud-Slap
133 - Night Shade
134 - Nightmare
135 - Octazooka
136 - Outrage
137 - Pain Split
138 - Pay Day
139 - Peck
140 - Perish Song
141 - Petal Dance
142 - Pin Missile
143 - Poison Gas
144 - Poison Sting
145 - Poisonpowder
146 - Pound
147 - Powder Snow
148 - Present
149 - Protect
150 - Psybeam
151 - Psych Up
152 - Psychic
153 - Psywave
154 - Pursuit
155 - Quick Attack
156 - Rage
157 - Rain Dance
158 - Rapid Spin
159 - Razor Leaf
160 - Razor Wind
161 - Recover
162 - Reflect
163 - Rest
164 - Return
165 - Reversal
166 - Roar
167 - Rock Slide
168 - Rock Smash
169 - Rock Throw
170 - Rolling Kick
171 - Rollout
172 - Sacred Fire
173 - Safeguard
174 - Sandstorm
175 - Sand-Attack
176 - Scary Face
177 - Scratch
178 - Screech
179 - Seismic Toss
180 - Selfdestruct
181 - Shadow Ball
182 - Sharpen
183 - Sing
184 - Sketch
185 - Skull Bash
186 - Sky Attack
187 - Slam
188 - Slash
189 - Sleep Powder
190 - Sleep Talk
191 - Sludge
192 - Sludge Bomb
193 - Smog
194 - Smokescreen
195 - Snore
196 - Softboiled
197 - Solarbeam
198 - Sonicboom
199 - Spark
200 - Spider Web
201 - Spike Cannon
202 - Spikes
203 - Spite
204 - Splash
205 - Spore
206 - Steel Wing
207 - Stomp
208 - Strength
209 - String Shot
210 - Struggle
211 - Stun Spore
212 - Submission
213 - Substitute
214 - Sunny Day
215 - Super Fang
216 - Supersonic
217 - Surf
218 - Swagger
219 - Sweet Kiss
220 - Sweet Scent
221 - Swift
222 - Swords Dance
223 - Synthesis
224 - Tackle
225 - Tail Whip
226 - Take Down
227 - Teleport
228 - Thief
229 - Thrash
230 - Thunder
231 - Thunder Wave
232 - Thunderbolt
233 - Thunderpunch
234 - Thundershock
235 - Toxic
236 - Transform
237 - Tri Attack
238 - Triple Kick
239 - Twineedle
240 - Twister
241 - Vicegrip
242 - Vine Whip
243 - Vital Throw
244 - Water Gun
245 - Waterfall
246 - Whirlpool
247 - Whirlwind
248 - Wing Attack
249 - Withdraw
250 - Wrap
251 - Zap Cannon
252 - Aerial Ace
253 - Air Cutter
254 - Arm Thrust
255 - Aromatherapy
256 - Assist
257 - Astonish
258 - Blast Burn
259 - Blaze Kick
260 - Block
261 - Bounce
262 - Brick Break
263 - Bulk Up
264 - Bullet Seed
265 - Calm Mind
266 - Camouflage
267 - Charge
268 - Cosmic Power
269 - Covet
270 - Crush Claw
271 - Dive
272 - Doom Desire
273 - Dragon Claw
274 - Dragon Dance
275 - Endeavor
276 - Eruption
277 - Extrasensory
278 - Facade
279 - Fake Out
280 - Fake Tears
281 - Featherdance
282 - Flatter
283 - Focus Punch
284 - Follow Me
285 - Frenzy Plant
286 - Grasswhistle
287 - Grudge
288 - Hail
289 - Heat Wave
290 - Helping Hand
291 - Howl
292 - Hydro Cannon
293 - Hyper Voice
294 - Ice Ball
295 - Icicle Spear
296 - Imprison
297 - Ingrain
298 - Iron Defense
299 - Knock Off
300 - Leaf Blade
301 - Luster Purge
302 - Magic Coat
303 - Magical Leaf
304 - Memento
305 - Metal Sound
306 - Meteor Mash
307 - Mist Ball
308 - Mud Shot
309 - Mud Sport
310 - Muddy Water
311 - Nature Power
312 - Needle Arm
313 - Odor Sleuth
314 - Overheat
315 - Poison Fang
316 - Poison Tail
317 - Psycho Boost
318 - Recycle
319 - Refresh
320 - Revenge
321 - Rock Blast
322 - Rock Tomb
323 - Role Play
324 - Sand Tomb
325 - Secret Power
326 - Shadow Punch
327 - Sheer Cold
328 - Shock Wave
329 - Signal Beam
330 - Silver Wind
331 - Skill Swap
332 - Sky Uppercut
333 - Slack Off
334 - Smellingsalt
335 - Snatch
336 - Spit Up
337 - Stockpile
338 - Superpower
339 - Swallow
340 - Tail Glow
341 - Taunt
342 - Teeter Dance
343 - Tickle
344 - Torment
345 - Trick
346 - Uproar
347 - Volt Tackle
348 - Water Pulse
349 - Water Sport
350 - Water Spout
351 - Weather Ball
352 - Will-O-Wisp
353 - Wish
354 - Yawn
« Última modificación: 28 de Septiembre de 2009, 12:08:22 pm por ~/Kysei Secand »




Pablonero

  • Usuario de honor
  • Pokéxperto
  • *
  • Mensajes: 4666
  • Karma: +1/-3
    • Ver Perfil

  • Total Badges: 33
    Badges: (View All)
    Décimo aniversario Noveno aniversario Nivel 6
Re:Scripts Que necesitas Tener.
« Respuesta #1 en: 28 de Septiembre de 2009, 07:14:23 am »
El último es ataques, no?

Gran curro kysei,  =P

xBʟᴜᴇ

  • I feel blue~
  • Usuario de honor
  • Pokéxperto Omega
  • *
  • Mensajes: 11365
  • Karma: +29/-11
    • Ver Perfil

  • Total Badges: 44
    Badges: (View All)
    Décimo aniversario Noveno aniversario Nivel 7
Re:Scripts Que necesitas Tener.
« Respuesta #2 en: 28 de Septiembre de 2009, 07:21:12 am »
LOl,me equivoque en el nombre estaba pensando en otras cosas XD igual pondre el de los items luego que todavia no los eh sacado...
« Última modificación: 28 de Septiembre de 2009, 07:26:05 am por ~/Kysei Secand »


Raguraji

  • Usuario de honor
  • Pokéxperto Omega
  • *
  • Mensajes: 11902
  • Karma: +51/-0
  • Aplasta-Pikachus
    • Ver Perfil
    • http://i45.tinypic.com/awdxk.jpg

  • Total Badges: 54
    Badges: (View All)
    Décimo aniversario Noveno aniversario Octavo aniversario
Re:Scripts y #NUM que necesitas tener para ser un buen ServerMaster
« Respuesta #3 en: 29 de Septiembre de 2009, 04:19:52 am »
Sobre lo de los numeros de los pokemon debe ser facil xD, lo unico malo es que Deoxys tiene 4 numeros distintos (ahi iran Deoxys, Turwig, Grotle y Torterra), y Wormadan tiene otros 3 que tambien desordenaria un poco lo que se supone que es la "Pokedex" del NB.

Lo de los ataques, parece que los de la 1ª y 2ª Generacion van juntos de la a A a la Z en el mismo bloque, luego esta la 3ª Generacion tambien de la A a la Z.   Asi que los de la 4ª Generacion se supone que serán apartir de la "354 Yawn" y tambien de la A la Z ¿no? 

¿Y ese script de pokes y moves para que serviria en realidad? RPGs?

Yo hice POLE en los PxP Awards 2013. 



Gracias a Rk00 por la firma de Shulk :)

xBʟᴜᴇ

  • I feel blue~
  • Usuario de honor
  • Pokéxperto Omega
  • *
  • Mensajes: 11365
  • Karma: +29/-11
    • Ver Perfil

  • Total Badges: 44
    Badges: (View All)
    Décimo aniversario Noveno aniversario Nivel 7
Re:Scripts y #NUM que necesitas tener para ser un buen ServerMaster
« Respuesta #4 en: 29 de Septiembre de 2009, 06:43:33 am »
Sirven para hacer scripts de /Atrapar o buscar item etc. tambien para RPGs que es para lo que mas se usa, mucha gente los anda buscando.. luego actualizare con los nuevos


M Dragon

  • Inhuman Rampage
  • Gurú Pokémon
  • ****
  • Mensajes: 2800
  • Karma: +6/-0
    • Ver Perfil
    • Email

  • Total Badges: 43
    Badges: (View All)
    Usuario de Linux Séptimo aniversario Nivel 7
Re:Scripts y #NUM que necesitas tener para ser un buen ServerMaster
« Respuesta #5 en: 30 de Septiembre de 2009, 06:22:18 am »
Próximamente pondré algunos scripts básicos

xBʟᴜᴇ

  • I feel blue~
  • Usuario de honor
  • Pokéxperto Omega
  • *
  • Mensajes: 11365
  • Karma: +29/-11
    • Ver Perfil

  • Total Badges: 44
    Badges: (View All)
    Décimo aniversario Noveno aniversario Nivel 7
Re:Scripts y #NUM que necesitas tener para ser un buen ServerMaster
« Respuesta #6 en: 30 de Septiembre de 2009, 07:23:22 pm »
ok ahora que tengo un poco mas de tiempo libre os traigo otros scripts Necesarios para combatir el Flood.
Todos Echos por mi menos el primero que creo que son de pmbn.net

Aquí Tenemos La Actualización!

Esto va dentro del Event StartUp
Código: [Seleccionar]
//Event +ServerStartUp

/SetPA #Msg
/SetPA #Msj

//Endevent

Y esto dentro del Event -ChatMessage
Código: [Seleccionar]
Event -ChatMessage
If $Message = $Msg(#Source)
If #Msj(#Source) < 3
/Inc #Msj(#Source), 1
Else
/SendPM #Source, $Bot & ": Has sido kickeado Por hacer Flood."
/Kick #Source
/Sendall $bot & ": " & $Name(#Source) & " Fue Kickeado por hacer Flood."
EndIf
Else
/Set $Msg(#Source), $Message
/Set #Msj(#Source), 1
EndIf
Endevent

//Codigo para el Away Flood:

1º Desactivar el Away para alguien que abusa de el.
Código: [Seleccionar]
If $Left($Message, 10) = "!AwayStop " OR "/AwayStop " AND #GetPlayerInfo(#Source, AUTH) >= 1"
/Set #AWFD, #PNumber($Right($Message, #Len($Message) -10))
If $GetValue($GetPlayerInfo(#Source, PSID) & "/AWFD") = "1"
/SendPM #Source, $Bot & " Acabas de Deshabilitar el Away para " $ $Name(#AWFD) & ". "
Else
/SaveValue $GetPlayerInfo(#Source, PSID) & "/AWFD", 1
/SendAll $Bot & " - " & $Name(#Source) & " Desactivo la opcion de estar away a" & $Name(#AWFD) & ". "
/StopEvent
/Exit
EndIf
EndIf


If $Left($Message, 13) = "!ActivarAway " OR "/ActivarAway " AND #GetPlayerInfo(#Source, AUTH) >= 1"
/Set #AWFD, #PNumber($Right($Message, #Len($Message) -13))
If $GetValue($GetPlayerInfo(#Source, PSID) & "/AWFD") = "0"
/SendPM #Source, $Bot & " Esta Persona ya tiene el Away . "
Else
/SaveValue $GetPlayerInfo(#Source, PSID) & "/AWFD", 0
/SendAll $Bot & " " & $Name(#Source) & " Activo el Away para " & $Name(#AWFD) & ". "
/StopEvent
/Exit
EndIf
EndIf

Y el Siguiente es para que al ponerse away suba el tiempo maximo entre cada uno para estar away. Si lo superas en vez de ser kickeado como el tradicional te activa el codigo de arriba y te priva del away.
 Esto dentro del  Event Startup junto a los /Set's
Código: [Seleccionar]
/SetPA $AwayEste va dentro del Event +PlayersignON
Código: [Seleccionar]
/Set $AwayTime, #SysTimer
/Set $Away(#Source), $Str(#Int(#Val($AwayTime))) & "|0"

Y este dentro del Event -PlayerAway
Código: [Seleccionar]
Event -PlayerAway
/Set $AwayTime, #SysTimer
If #Int(#Val($Left($Away(#Source), #IsIn($Away(#Source), "|") - 1))) + 10 > #Int(#Val($AwayTime))
/Set $Away(#Source), $Str(#Int(#Val($AwayTime))) & "|0" & "|" & $Str(#Val($Right($Away(#Source), 1)) + 1)
/SendPM #Source, $Bot & "Atennción el Contador de Away Va Subiendo [" & $Str(#Val($Right($Away(#Source), 1))) & "/4]"
Else
/Set $AwayTime, #SysTimer
/Set $Away(#Source), $Str(#Int(#Val($AwayTime))) & "|0"
EndIf
If $Right($Away(#Source), 1) = "4"
/SendPM #Source, $Bot & " Aquí no toleramos el Away Flood Imbecil asi que te quedas un rato sin poder estar away hasta que me de la gana lo cual conlleva que tampoco podras cambiar el team."
/SaveValue $GetPlayerInfo(#Source, PSID) & "/AWFD", 1
/SendAll $Bot & "Lo sentimos pero hemos tenido que privar a "&$Name(#Source)&" de estar Away y cambiar team por el mal uso del AwayFlood."
EndIf

//EndEvent

Cuando tenga mas Free Time os creo mas Scripts con este estilo para Mejorar el Funcionamiento de Vuestro Server.
« Última modificación: 30 de Septiembre de 2009, 07:37:07 pm por ~/Kysei Secand »


M Dragon

  • Inhuman Rampage
  • Gurú Pokémon
  • ****
  • Mensajes: 2800
  • Karma: +6/-0
    • Ver Perfil
    • Email

  • Total Badges: 43
    Badges: (View All)
    Usuario de Linux Séptimo aniversario Nivel 7
Re:Scripts y #NUM que necesitas tener para ser un buen ServerMaster
« Respuesta #7 en: 30 de Septiembre de 2009, 11:08:46 pm »
Ese es mi viejo script anti away spam :)
El script anti flood de Hellio era mucho mejor, ahora lo pondré

xBʟᴜᴇ

  • I feel blue~
  • Usuario de honor
  • Pokéxperto Omega
  • *
  • Mensajes: 11365
  • Karma: +29/-11
    • Ver Perfil

  • Total Badges: 44
    Badges: (View All)
    Décimo aniversario Noveno aniversario Nivel 7
Re:Scripts y #NUM que necesitas tener para ser un buen ServerMaster
« Respuesta #8 en: 30 de Septiembre de 2009, 11:43:40 pm »
Si, el #Systimer si que es tuyo, o almenos tuyo o de ghunter, pero el resto es mio =P lo que el script de #systimer que iziste me vino muy bien para alijerar los Sets que havia que poner xD igual si te molesto que no pusiera tus creditos lo pongo.
« Última modificación: 30 de Septiembre de 2009, 11:47:01 pm por ~/Kysei Secand »