/Portto

Discussion in 'E3' started by Aliboo, May 25, 2018.

  1. Aliboo

    Aliboo A Griffin

    Messages:
    230
    Hey guys - LTNS!

    I had issues with /portto not working for UF and found it didn't seem to work with RoF2 (v 7.0) either. This may be more of a hack but I've never had any success with /portto on any version of E3. It would always translate to /port to port <portal name>.

    Please correct me or let me know if this isn't the best way to getting this to work. I've been away for a long time and I'm super rusty with everything.

    I was using the command: /portto Knowledge Portal

    ---2 Parts---
    Edit e3_BegForBuff.inc
    1. I had to remove the word port from the line: /g Port ${destination}
    2. <New for 7> I had to remove the /if/else statement that contained WIZ,DRU. My druid was a group leader and would not gsay /port to <destination>.

    Original:
    Code:
    |------------------------------------------------------------------------|
    #event portRelay "<#*#> Port to #1#"
    SUB event_portRelay(line, destination)
    /if (${Debug} || ${Debug_BegForBuffs}) /echo |- EVENT_portRelay ==>
       /if (${Group} && ${Me.CleanName.Equal[${Group.Leader}]}) {
        /if (${Select[${Me.Class.ShortName},WIZ,DRU]}) {
          /call event_Chat "group" "${Me.Name}" "Port ${destination}"
        } else {
          /g Port ${destination}
        }
       }
    /if (${Debug} || ${Debug_BegForBuffs}) /echo <== EVENT_portRelay -|
    /RETURN
    
    Altered:
    Code:
    |------------------------------------------------------------------------|
    #event portRelay "<#*#> Port to #1#"
    SUB event_portRelay(line, destination)
    /if (${Debug} || ${Debug_BegForBuffs}) /echo |- EVENT_portRelay ==>
        /if (${Group} && ${Me.CleanName.Equal[${Group.Leader}]}) {  
          /g ${destination}
        }
    /if (${Debug} || ${Debug_BegForBuffs}) /echo <== EVENT_portRelay -|
    /RETURN
    
     
  2. Drogerin

    Drogerin GM Staff Member

    Messages:
    703
    I use /Portto zoneshortname
    I’m on RoF2 and works fine. I’m on 7.0 and works fine.

    /portto wallofslaughter etc
     
  3. Aliboo

    Aliboo A Griffin

    Messages:
    230
    Good catch. Copied back the original and it worked with the short names. I guess I never tried with ZoneShortNames. Still fails on the group with the druid as lead. Thanks for the follow-up.
     
  4. Drogerin

    Drogerin GM Staff Member

    Messages:
    703
    Np I can’t comment on the Druid as lead since the leaders issue the command. All my leaders are bards.