Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/20/19 in all areas

  1. Hello Everyone So as of late I am playing Pokemon game on discord and there is this sub game where the bot will spawn pokemon image on the channel and the user on channel only need to guess what is the name of the pokemon, it work to substitute Poke-Ball system and I think this system not far of from disguise so I am thinking to create this one just for the fun, the code is simple and crude so here if any of you interested to make it more robust please do get the needed file here: https://github.com/Litro/disguise-discord to run it you need to fill the value required in config.json file "token" : "" "apikey" : "", "WhiteList": [""], token: you can read the guide how to obtain discord bot token from here apikey: you need to request an API key. Please register an account in divine-pride.net forum and request a key in your profile page. WhiteList: is user id of staff that can use the command to start or stop disguise event. you can read it here for how to obtain it.
    2 points
  2. prontera,155,185,5 script skdfjhskdf 1_F_MARIA,{ if ( !countitem(2201) ) { mes "I need a sunglasses"; close; } disable_items; mes "Are you sure you want to exchange your sunglasses into slotted on in 1/10 chance ?"; next; if ( select ( "Yes", "No" ) == 2 ) close; if ( !countitem(2201) ) { // just a double check mes "I need a sunglasses"; close; } if ( rand(100) < 10 ) { delitem 2201, 1; getitem 2202, 1; mes "your sunglasses now has slot"; } else { delitem 2201, 1; mes "it fails"; } close; }
    1 point
  3. prontera,163,171,3 script PvP Arena Guardian 966,{ .@eaj = eaclass(); mes "[Guardian]"; mes "Saludos guerrero, a que arena deseas entrar?"; switch(select("3rd Job Arena:2nd Job Arena:All Job Arena")) { case 1: if ( (.@eaj & EAJL_THIRD) || .@eaj == EAJ_KAGEROUOBORO || .@eaj == EAJ_REBELLION ) { switch( rand(4) ) { case 1: close2; warp "guild_vs3",16,49; end; case 2: close2; warp "guild_vs3",50,83; end; case 3: close2; warp "guild_vs3",83,50; end; case 4: close2; warp "guild_vs3",50,16; end; } } else { mes "Solo 3rd jobs estan permitidos en esta arena."; close; } end; case 2: if ( Upper == 1 && (.@eaj & EAJL_2) ) { switch( rand(4) ) { case 1: close2; warp "guild_vs2",89,49; end; case 2: close2; warp "guild_vs2",50,89; end; case 3: close2; warp "guild_vs2",9,50; end; case 4: close2; warp "guild_vs2",49,10; end; } } else { mes "Esta arena es solo para 2nd Jobs"; close; } end; case 3: switch( rand(4) ) { case 1: close2; warp "pvp_n_1-5",99,134; end; case 2: close2; warp "pvp_n_1-5",133,100; end; case 3: close2; warp "pvp_n_1-5",100,65; end; case 4: close2; warp "pvp_n_1-5",66,99; end; } end; } } I tried using them, no errors but the options keep mixing, for example, i want to warp to 3rd job pvp but sometimes it warps to 2nd or all job pvp maps, and sometimes does not warp at all. I'm very new in scripting, so i would like a quick explanation on what and why its is wrong, not just a fix. thanks in advance ^^
    1 point
  4. Greetings all! I would like to suggest a src modification for this request. I'd like to add more bodystyle types for each job sprites. Example: Rune Knight. bodystyle 1 = Latest costume bodystyle 2 = Old Rune Knight bodystyle 3 = Lord Knight bodystyle 4 = Knight
    1 point
  5. if you have script file, put on npc\custom folder and then go to script_custom.conf put the npc path inside and then start the server.
    1 point
×
×
  • Create New...